Detect the dominant newline character
Detect the dominant newline character of a string
Strip the final newline character from a string or Uint8Array
mdast utility to support hard breaks without needing spaces or escapes
Detect and Normalize the newline characters
JSON.parse with context information on error
Normalize the newline characters in a string to `\n`
A small module for detecting line endings in files.
Improved typeof detection for node.js and the browser.
Detect Node.JS (as opposite to browser environment). ESM modification
Formats your code with whatever formatter your project is already using. 🧼
Detect if code is running in an AI agent or automated development environment
Newline character converter
A tool for rapidly building command line apps
Like read-package-json, but faster
Node.js module to detect the C standard library (libc) implementation family and version
textlint output formatter for fixer
remark-lint rule to warn when a newline at the end of a file is missing
Detects if a file exists and returns the resolved filepath.
Node.js implementation of port detector
An output formatter for markdownlint-cli2 that produces the same output as markdownlint-cli
Anthony's opinionated ESLint rules
Unpack a browser type and version from the useragent string
Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI