esc-read-file-without-comments
v0.1.3
Published
Read file without comments (lines starting with #) - 168 bytes
Downloads
5
Maintainers
Readme
esc-read-file-without-comments
Read file without comments (lines starting with #)
Installation
npm install esc-read-file-without-comments
Use
import readFileWithoutComments from 'esc-read-file-without-comments';
const hosts = readFileWithoutComments('/etc/hosts');
Project goals
- Lightweight: 168 bytes of code
- No dependencies
- No nonsense
- Reliable, no radical changes will ever happen.
- Small, simple, easy to audit, yourself
If I have ideas for something different, I'll make a new package rather than make breaking changes.
Notes
Have fun!
Say thanks
Star the repo https://github.com/softwarecreations/esc-read-file-without-comments
PR's or issues
Welcome
License
MIT