
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
file-lines-count
Advanced tools
Count number of lines in a file in a fast asynchronous fashion.
npm install file-lines-count
const linesCount = require('file-lines-count');
const lines = await linesCount('myfile.txt');
console.log(`File has ${lines} lines`);
Alex Bakoushin
MIT
FAQs
Count number of lines in a file in a fast asynchronous fashion.
The npm package file-lines-count receives a total of 542 weekly downloads. As such, file-lines-count popularity was classified as not popular.
We found that file-lines-count 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.