sindresorhus / comment-regex
Regular expression for matching JavaScript comments
☆31Updated 2 years ago
Alternatives and similar repositories for comment-regex:
Users that are interested in comment-regex are comparing it to the libraries listed below
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- A list of directories you should ignore by default☆23Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 3 months ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Get the visual width of a string - the number of columns required to display it☆13Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆56Updated 6 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 6 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Object of "void elements" as defined by the WHATWG HTML Standard.☆25Updated 2 years ago
- Get the auth token set for an npm registry☆35Updated last week
- Get the revved file path of a file☆33Updated 3 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- fs read and write streams based on minipass☆20Updated 6 months ago
- Check if a file path is a binary file☆44Updated 9 months ago
- Check if a file path is a compressed file☆17Updated 9 months ago
- Gracefully restore the CLI cursor on exit☆36Updated 6 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 10 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a value is a function☆27Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Repeat a string - fast☆34Updated 3 years ago