jonschlinkert / line-numberLinks
Get the line number for each regex match found in a string.
☆15Updated 6 years ago
Alternatives and similar repositories for line-number
Users that are interested in line-number are comparing it to the libraries listed below
Sorting:
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if a string is a URL☆87Updated 2 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Filter object keys and values into a new object☆105Updated last year
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- A stricter URI encode adhering to RFC 3986☆59Updated 6 years ago
- Detects the casing of the input string (camelcase, lowercase, snakecase, kebabcase, snakecase, uppercase etc).☆18Updated 10 months ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Change alpha of a color string☆23Updated 11 months ago
- Delete nested properties from an object using dot notation.☆35Updated 3 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- When copying or moving files, it's common for operating systems to automatically add an increment or 'copy' to duplicate file names. This…☆22Updated 6 years ago
- Find and load a YAML or JSON config file from a local project, installed npm module, or the user's home directory.☆13Updated 9 years ago
- Make a function mimic another one☆97Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Slice a string with ANSI escape codes☆50Updated 3 months ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Create a javascript regular expression for matching everything except for the given string.☆31Updated 7 years ago
- Split lines into an array of lines☆46Updated 2 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Get the hash of an object☆139Updated 2 years ago
- Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.☆42Updated 2 years ago
- Get the remote origin URL of a Git repository☆47Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago