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');
PHP style wrapper to read the entire file into a string for nodejs. Encoding is automatically detected.
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');
24/10/2020 first published @schlandower/first