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
- Get the path of the caller module☆64Updated 3 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
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- A safer `.hasOwnProperty()`☆29Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if something is a promise☆46Updated 3 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 11 months ago
- Object of "void elements" as defined by the WHATWG HTML Standard.☆25Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Gracefully restore the CLI cursor on exit☆38Updated 7 months ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- Get a random key from an object☆18Updated 8 months ago
- ⏲ - Small timing library☆35Updated 6 years ago
- Get the set npm registry URL☆54Updated 2 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Create an array without duplicates☆70Updated 3 years ago
- Get the visual width of a string - the number of columns required to display it☆13Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Check if a file path is a compressed file☆17Updated 10 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated 4 years ago
- Break out of a promise chain☆23Updated 3 years ago
- Get the revved file path of a file☆33Updated 3 years ago