jonschlinkert / line-number
Get the line number for each regex match found in a string.
☆15Updated 5 years ago
Alternatives and similar repositories for line-number:
Users that are interested in line-number are comparing it to the libraries listed below
- Gracefully restore the CLI cursor on exit☆36Updated 6 months ago
- A safer `.hasOwnProperty()`☆30Updated last year
- Strip the final newline character from a string/buffer☆36Updated 3 months ago
- Split a string at one or more indices☆23Updated 3 years ago
- Change alpha of a color string☆22Updated last week
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a string is a URL☆84Updated last year
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Suggestion box for PostCSS plugins☆14Updated 8 years ago
- A list of directories you should ignore by default☆23Updated 2 years ago
- Check if a value is a regular expression☆24Updated 3 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
- Mimic a Node.js HTTP response stream☆59Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Check if a value is a Blob☆22Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Lint and fix docs simpler☆8Updated 7 years ago
- Split lines into an array of lines☆44Updated last year
- Image component for Ink☆75Updated 2 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Modify the values of an object☆28Updated 3 years ago
- Lint fenced code blocks by corresponding language tags☆12Updated 7 years ago
- Check if a value is an object☆40Updated 3 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- A tiny (156B) utility to compare a string against a template mask.☆22Updated 7 years ago
- Create a javascript regular expression for matching everything except for the given string.☆31Updated 6 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 8 months ago