readfilesyncwithcache

0.0.2 • Public • Published

Overview

Cache files read using fs.readFileSync.

Use

Install

npm install readfilesyncwithcache

JavaScript Code:

 
var fs = require('fs');
// always require after requiring fs.
require('readfilesyncwithcache');
 
//Use regular fs.readFileSync syntax to read files.
var  file = fs.readFileSync('test.js');
 

License

MIT

/readfilesyncwithcache/

    Package Sidebar

    Install

    npm i readfilesyncwithcache

    Weekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • chirag04