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
- Lowercase the keys of an object☆41Updated 2 years ago
- Trim newlines from the start and/or end of a string☆49Updated 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 3 months ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Track the list of currently unhandled promise rejections☆24Updated 7 years ago
- ES2015 Number.isNaN() ponyfill☆29Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 3 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Updated 4 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last month
- Get the version of a binary in semver format☆42Updated last year
- Decompress a HTTP response if needed☆75Updated 2 months ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆39Updated 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
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- PostCSS plugin to discard overridden keyframes or counter-style.☆16Updated 9 years ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 9 months ago