sindresorhus / strip-final-newlineLinks
Strip the final newline character from a string/buffer
☆36Updated 11 months ago
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
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated last week
- Gracefully restore the CLI cursor on exit☆39Updated last year
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 2 weeks ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Repeat a string - fast☆34Updated 4 years ago
- Timeout HTTP/HTTPS requests☆51Updated 2 weeks ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Detect the dominant newline character of a string☆55Updated 2 years ago
- fs read and write streams based on minipass☆20Updated last year
- Check if an object can be used like an Array☆17Updated 2 weeks ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Simple wildcard matching☆34Updated last week
- Get the visual width of the widest line in a string - the number of columns required to display it☆38Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 2 weeks ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated 3 weeks ago
- Get the fullname of the current user☆47Updated 2 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 weeks ago