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
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 3 weeks ago
- Track the list of currently unhandled promise rejections☆24Updated 7 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆41Updated last year
- fs read and write streams based on minipass☆20Updated 3 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- Wait for a specified number of promises to be fulfilled☆39Updated 4 months ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Updated 5 years ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆25Updated 5 months ago
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Timeout HTTP/HTTPS requests☆51Updated 4 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Check if a Buffer/Uint8Array is a GIF image☆30Updated 3 years ago
- Get the version of a binary in semver format☆42Updated last year
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Slice a string with ANSI escape codes☆50Updated 4 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 4 months ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Decompress a HTTP response if needed☆75Updated 3 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 10 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Get metadata on the default editor or a specific editor☆55Updated 4 months ago
- Node.js releases data☆38Updated this week
- Modern Buffer API polyfill without footguns☆27Updated 4 years ago