sindresorhus / comment-regexLinks
Regular expression for matching JavaScript comments
☆32Updated 3 months ago
Alternatives and similar repositories for comment-regex
Users that are interested in comment-regex are comparing it to the libraries listed below
Sorting:
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Regular expression for matching reserved filename characters☆50Updated last month
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Check if your package was installed globally☆69Updated last year
- Wait for a specified number of promises to be fulfilled☆38Updated last month
- Get the path of the caller module☆66Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the version of a binary in semver format☆41Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Check if a file path is a compressed file☆19Updated last year
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Check if a value is a regular expression☆25Updated 3 years ago
- Filter object keys and values into a new object☆104Updated last year
- Convert a Source Map object to a comment☆15Updated 4 years ago
- Check if a value is an object☆41Updated 4 years ago
- Create an array without duplicates☆73Updated 4 years ago
- Check if a file path is a text file☆19Updated last year
- Get the path of the parent module☆78Updated last month
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Split a string at one or more indices☆24Updated 4 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆64Updated last month
- Gracefully restore the CLI cursor on exit☆39Updated last year