Detect the dominant newline character of a string
☆56Sep 18, 2026Updated last month
Alternatives and similar repositories for detect-newline
Users that are interested in detect-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:
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- Check if a value is an object☆42Sep 18, 2026Updated last month
- Lowercase the keys of an object☆42Sep 18, 2026Updated last month
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if a path is the current working directory☆22Sep 18, 2026Updated last month
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Check if the character represented by a given Unicode code point is fullwidth☆51Sep 18, 2026Updated last month
- Transform the first chunk in a stream☆28Sep 18, 2026Updated last month
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Check if a file path is a binary file☆49Sep 18, 2026Updated last month
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Regular expressions for matching against the XML Character Classes☆15Sep 18, 2026Updated last month
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated last month
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Node's default require extensions as a separate module☆11Sep 18, 2026Updated last month
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated last month
- Gracefully restore the CLI cursor on exit☆42Sep 18, 2026Updated last month
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Sep 18, 2026Updated last month
- Strip the final newline character from a string/buffer☆38Sep 18, 2026Updated last month
- Check if a path is in the current working directory☆23Sep 18, 2026Updated last month
- Get the first path that exists on disk of multiple paths☆64Sep 18, 2026Updated last month
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 5 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated last month
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Sep 18, 2026Updated last month
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Modify the values of an object☆28Sep 18, 2026Updated last month
- Node.js 0.12 fs.access() & fs.accessSync() ponyfill☆12Oct 30, 2023Updated 2 years ago
- Detect the indentation of code☆199Sep 18, 2026Updated last month
- Regular expression for matching reserved filename characters☆53Oct 7, 2026Updated 2 weeks ago
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated last month
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Include only certain items in an array☆19Jun 13, 2025Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Check if a domain is public☆15Aug 10, 2021Updated 5 years ago
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Sep 18, 2026Updated last month
- Trim newlines from the start and/or end of a string☆49Sep 18, 2026Updated last month
- Check if something is a generator function☆24Sep 18, 2026Updated last month
- Sum numbers☆10Sep 18, 2025Updated last year
- Strip redundant indentation and indent the string☆55Sep 18, 2026Updated last month