diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/read-cache/README.md | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/read-cache/README.md')
| -rw-r--r-- | node_modules/read-cache/README.md | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/node_modules/read-cache/README.md b/node_modules/read-cache/README.md deleted file mode 100644 index 16a5c36e..00000000 --- a/node_modules/read-cache/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# read-cache [](https://travis-ci.org/TrySound/read-cache)
-
-Reads and caches the entire contents of a file until it is modified.
-
-
-## Install
-
-```
-$ npm i read-cache
-```
-
-
-## Usage
-
-```js
-// foo.js
-var readCache = require('read-cache');
-
-readCache('foo.js').then(function (contents) {
- console.log(contents);
-});
-```
-
-
-## API
-
-### readCache(path[, encoding])
-
-Returns a promise that resolves with the file's contents.
-
-### readCache.sync(path[, encoding])
-
-Returns the content of the file.
-
-### readCache.get(path[, encoding])
-
-Returns the content of cached file or null.
-
-### readCache.clear()
-
-Clears the contents of the cache.
-
-
-## License
-
-MIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)
|
