sindresorhus / strip-final-newlineLinks
Strip the final newline character from a string/buffer
☆37Updated 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☆54Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆39Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 9 months ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 7 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Repeat a string - fast☆35Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆25Updated 3 months ago
- Timeout HTTP/HTTPS requests☆51Updated 2 months ago
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- fs read and write streams based on minipass☆20Updated last month
- Check if your code is running as an npm or yarn script☆65Updated 2 months ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Wait for a specified number of promises to be fulfilled☆38Updated 2 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Center-align the text in a string.☆23Updated 8 years ago
- Tests whether one path is inside another path☆43Updated 5 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Get the auth token set for an npm registry☆34Updated last week
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last week
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago