sindresorhus / comment-regexLinks
Regular expression for matching JavaScript comments
☆32Updated last week
Alternatives and similar repositories for comment-regex
Users that are interested in comment-regex are comparing it to the libraries listed below
Sorting:
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if a value is an object☆40Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Get a random key from an object☆18Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Split lines into an array of lines☆44Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Modify the values of an object☆27Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Get the auth token set for an npm registry☆34Updated 5 months ago
- Check if a file path is a compressed file☆17Updated last year
- Get the path of the parent module☆77Updated last year
- Gracefully restore the CLI cursor on exit☆38Updated 11 months ago
- Check if a value is a plain object☆102Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Check if a value is a function☆27Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago