sindresorhus / detect-newline
Detect the dominant newline character of a string
☆55Updated last year
Alternatives and similar repositories for detect-newline
Users that are interested in detect-newline are comparing it to the libraries listed below
Sorting:
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Filter object keys and values into a new object☆101Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Check if a file path is a binary file☆44Updated last year
- Check if your package was installed globally☆70Updated last year
- A list of directories you should ignore by default☆23Updated 3 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆62Updated last month
- Get the directory of globally installed packages and binaries☆76Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Check if a value is a plain object☆102Updated last year
- Gracefully restore the CLI cursor on exit☆38Updated 10 months ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Returns an array filled with the specified input☆42Updated 2 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Write a package.json file☆88Updated 10 months ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Break out of a promise chain☆23Updated 4 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Import a globally installed module☆58Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago