MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.npm/registry.npmjs.org/read-cache/.cache.json
{"_id":"read-cache","_rev":"1-a5ec9a79b062770c797582fec6e59caf","name":"read-cache","description":"Reads and caches the entire contents of a file until it is modified","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"read-cache","version":"1.0.0","description":"Reads and caches the entire contents of a file until it is modified","files":["index.js"],"main":"index.js","scripts":{"test":"ava"},"repository":{"type":"git","url":"git+https://github.com/TrySound/read-cache.git"},"keywords":["fs","read","cache"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/read-cache/issues"},"homepage":"https://github.com/TrySound/read-cache#readme","devDependencies":{"ava":"^0.9.1","del":"^2.2.0"},"dependencies":{"pify":"^2.3.0"},"gitHead":"d44d4fcae1b3ed2ee5f22cf7ad2ead6f665949ae","_id":"read-cache@1.0.0","_shasum":"e664ef31161166c9751cdbe8dbcf86b5fb58f774","_from":".","_npmVersion":"3.3.9","_nodeVersion":"0.12.7","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"e664ef31161166c9751cdbe8dbcf86b5fb58f774","tarball":"https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz"},"directories":{}}},"readme":"# read-cache [![Build Status](https://travis-ci.org/TrySound/read-cache.svg?branch=master)](https://travis-ci.org/TrySound/read-cache)\r\n\r\nReads and caches the entire contents of a file until it is modified.\r\n\r\n\r\n## Install\r\n\r\n```\r\n$ npm i read-cache\r\n```\r\n\r\n\r\n## Usage\r\n\r\n```js\r\n// foo.js\r\nvar readCache = require('read-cache');\r\n\r\nreadCache('foo.js').then(function (contents) {\r\n\tconsole.log(contents);\r\n});\r\n```\r\n\r\n\r\n## API\r\n\r\n### readCache(path[, encoding])\r\n\r\nReturns a promise that resolves with the file's contents.\r\n\r\n### readCache.sync(path[, encoding])\r\n\r\nReturns the content of the file.\r\n\r\n### readCache.get(path[, encoding])\r\n\r\nReturns the content of cached file or null.\r\n\r\n### readCache.clear()\r\n\r\nClears the contents of the cache.\r\n\r\n\r\n## License\r\n\r\nMIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)\r\n","maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"time":{"modified":"2016-01-11T01:53:14.064Z","created":"2016-01-11T01:53:14.064Z","1.0.0":"2016-01-11T01:53:14.064Z"},"homepage":"https://github.com/TrySound/read-cache#readme","keywords":["fs","read","cache"],"repository":{"type":"git","url":"git+https://github.com/TrySound/read-cache.git"},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"bugs":{"url":"https://github.com/TrySound/read-cache/issues"},"license":"MIT","readmeFilename":"README.md","_attachments":{},"_etag":"W/\"e67398e0bea4775ff22660e90a68202f\"","_lastModified":"Sun, 27 May 2018 15:26:21 GMT","_cached":true}