aboutsummaryrefslogtreecommitdiff
path: root/node_modules/require-precompiled/readme.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/require-precompiled/readme.md
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
downloadwallet-core-cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585.tar.xz
remove node_modules
Diffstat (limited to 'node_modules/require-precompiled/readme.md')
-rw-r--r--node_modules/require-precompiled/readme.md45
1 files changed, 0 insertions, 45 deletions
diff --git a/node_modules/require-precompiled/readme.md b/node_modules/require-precompiled/readme.md
deleted file mode 100644
index 23fdc751b..000000000
--- a/node_modules/require-precompiled/readme.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# require-precompiled [![Build Status](https://travis-ci.org/jamestalmage/require-precompiled.svg?branch=master)](https://travis-ci.org/jamestalmage/require-precompiled) [![Coverage Status](https://coveralls.io/repos/jamestalmage/require-precompiled/badge.svg?branch=master&service=github)](https://coveralls.io/github/jamestalmage/require-precompiled?branch=master)
-
-> Require extension that allows for caching/precompiling
-
-
-## Install
-
-```
-$ npm install --save require-precompiled
-```
-
-
-## Usage
-
-```js
-const installPrecompiler = require('require-precompiled');
-const cache = require('my-cache-implementation');
-
-installPrecompiler(filename => {
- if (cache.hasEntryFor(filename)) {
- return cache.getPrecompiledCode(filename);
- }
- // fall through to underlying extension chain;
- return null;
-});
-
-// Any module required from this point on will be checked against the cache.
-const foo = require('some-module');
-```
-
-
-## API
-
-### requirePrecompiled(callback)
-
-#### callback
-
-Type: `Function(string: filename)`
-
-Return `string` contents for a cache hit, or `null` for a miss.
-
-
-## License
-
-MIT © [James Talmage](http://github.com/jamestalmage)