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 4 years ago
- Get the auth token set for an npm registry☆35Updated 3 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 9 months 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 2 years ago
- Check if a path is the current working directory☆19Updated 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
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Gracefully restore the CLI cursor on exit☆38Updated 9 months ago
- ☆11Updated 2 years ago
- Get the visual width of a string - the number of columns required to display it☆13Updated last year
- A safer `.hasOwnProperty()`☆29Updated last year
- Lowercase the keys of an object☆40Updated last year
- Tests whether one path is inside another path☆41Updated 5 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆59Updated 9 months ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- The score badge service for https://npms.io☆35Updated 6 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated 4 years ago
- Modify the values of an object☆27Updated 3 years ago
- Check if a value is a function☆27Updated 4 years ago