
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
CLI for ensuring all given files match the desired newline pattern (LF or CRLF)
A command line utility to check what line endings are being used in files. Useful for enforcing consisten line endings across an entire project (such as an open source project with both windows and non-windows contributors).
npm
npm install check-eol -g
check-eol
inspects the line endings of every matching file and return a nonzero error code if any file has incorrect line endings, as well as printing out the paths of the non-compliant files.
You can specify as many file paths or globs as you wish. They will all be merged into a single unified file list before processing.
npx check-eol --eol lf "**/*"
npx check-eol --eol crlf "**/*.txt"
npx check-eol --eol platform "**/*.html" "**/*.css"
The type of line ending to enforce. If "platform"
is selected, then "crlf"
will be enforced on Windows, and "lf"
everywhere else.
Optional: yes
Default: "lf"
Options: "lf"
, "crlf"
, "platform"
example:
#enforce lf line endings
npx check-eol --eol lf
The current working directory where relative paths are relative to
Optional: yes
Default: process.cwd()
example:
npx check-eol --cwd "/usr/JohnSmith/projects/project1"
Click here to view the changelog.
FAQs
CLI for ensuring all given files match the desired newline pattern (LF or CRLF)
The npm package check-eol receives a total of 2 weekly downloads. As such, check-eol popularity was classified as not popular.
We found that check-eol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.