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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆18Mar 14, 2022Updated 4 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Mar 16, 2026Updated 2 weeks ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 6 months ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 6 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- 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
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years 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
- ☆19Dec 21, 2024Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆78Feb 3, 2026Updated last month
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 6 months ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Minimal module to check if a file is executable.☆52Feb 9, 2026Updated last month
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 9 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 6 months ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 4 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- One promise for multiple requests in flight to avoid async duplication☆17Aug 4, 2020Updated 5 years ago
- Higher-order functions for easier error handling☆13Apr 15, 2023Updated 2 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- Promises of moves of files or directories with rename, falling back to recursive rename/copy on EXDEV errors, with configurable concurren…☆18May 8, 2020Updated 5 years ago