@schlandower/file-get-contents
v1.0.2
Published
PHP style wrapper to read the entire file into a string for nodejs. Encoding is automatically detected.
Downloads
2
Maintainers
Readme
file-get-contents
PHP style file reader, reads entire file into a string. This module automatically detects file encoding.
Example usage: var fileGetContents = require('@schlandower/file-get-contents'); var fc = fileGetContents('path/to/your/file');