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
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 7 months ago
- Check if a value is a function☆27Updated 3 years ago
- Check if a file path is a compressed file☆17Updated 10 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 11 months ago
- A safer `.hasOwnProperty()`☆29Updated last year
- Modify the values of an object☆27Updated 3 years ago
- PostCSS plugin to discard overridden keyframes or counter-style.☆16Updated 8 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Check if something is a promise☆46Updated 3 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Timeout HTTP/HTTPS requests☆51Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get the auth token set for an npm registry☆35Updated last month
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 8 months ago
- Gracefully restore the CLI cursor on exit☆38Updated 7 months ago
- Object of "void elements" as defined by the WHATWG HTML Standard.☆25Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Create a revved file path☆21Updated 2 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- Check if a path is in the current working directory☆21Updated 3 years ago