sindresorhus / strip-final-newlineLinks
Strip the final newline character from a string/buffer
☆38Updated last year
Alternatives and similar repositories for strip-final-newline
Users that are interested in strip-final-newline are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- fs read and write streams based on minipass☆20Updated 2 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 3 months ago
- Track the list of currently unhandled promise rejections☆24Updated 7 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Updated 5 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Updated 4 years ago
- Timeout HTTP/HTTPS requests☆51Updated 3 months ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Check if a Buffer/Uint8Array is a GIF image☆30Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆29Updated last year
- Get the version of a binary in semver format☆42Updated last year
- A list of directories you should ignore by default☆23Updated 3 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Node.js releases data☆38Updated 3 weeks ago
- Wait for a specified number of promises to be fulfilled☆39Updated 3 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 10 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Get the auth token set for an npm registry☆34Updated last month
- Create a MD5 hash with hex encoding☆47Updated 2 years ago