0.1.3 • Published 7 months ago

esc-read-file-without-comments v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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