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☆38Updated 7 months ago
- Check if a string is a URL☆85Updated last year
- Walk up the directory tree until a specified path is found.☆13Updated 3 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Detects the casing of the input string (camelcase, lowercase, snakecase, kebabcase, snakecase, uppercase etc).☆17Updated last month
- Turn an object into a string of HTML attributes☆49Updated last year
- Split a string at one or more indices☆23Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 11 months ago
- Transform html with helpers for manipulating an AST☆21Updated 2 years ago
- Lint fenced code blocks by corresponding language tags☆12Updated 7 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Delete nested properties from an object using dot notation.☆34Updated 3 years ago
- Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.☆43Updated last year
- Check if a value is a regular expression☆24Updated 3 years ago
- Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those incre…☆10Updated 5 years ago
- Create ansi colors by passing open and close codes.☆19Updated 11 months ago
- Maps lines and columns to character offsets and back.☆24Updated last year
- A list of directories you should ignore by default☆23Updated 2 years ago
- Modify the values of an object☆27Updated 3 years ago
- A tiny (128B) utility to check if a value is a prime number☆51Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Filter object keys and values into a new object☆101Updated 9 months ago