sindresorhus / strip-final-newlineView external linksLinks
Strip the final newline character from a string/buffer
☆38Oct 28, 2024Updated 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:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆18Mar 14, 2022Updated 3 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- Give me a string and I'll tell you if it's a valid npm package license string☆29Apr 14, 2021Updated 4 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 4 months ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated last month
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Autoload Plugins for PostCSS☆20May 11, 2020Updated 5 years ago
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a sup…☆18Sep 14, 2018Updated 7 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Like `chown -R`☆30Nov 24, 2025Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Mapping between standard locale identifiers and Windows locale identifiers (LCID)☆39Apr 30, 2024Updated last year
- Higher-order functions for easier error handling☆13Apr 15, 2023Updated 2 years ago
- One promise for multiple requests in flight to avoid async duplication☆17Aug 4, 2020Updated 5 years ago
- ☆19Dec 21, 2024Updated last year
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 4 years ago
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 5 months ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Aug 20, 2021Updated 4 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago