esc-read-file-without-comments
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

Package Sidebar

Install

npm i esc-read-file-without-comments

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

3 kB

Total Files

5

Last publish

Collaborators

  • softwarecreations