Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "cept", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Intercept method calls", | ||
@@ -15,2 +15,6 @@ "license": "MIT", | ||
"bugs": "https://github.com/wooorm/cept/issues", | ||
"funding": { | ||
"type": "github", | ||
"url": "https://github.com/sponsors/wooorm" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
@@ -26,9 +30,9 @@ "contributors": [ | ||
"browserify": "^16.0.0", | ||
"nyc": "^14.0.0", | ||
"prettier": "^1.12.1", | ||
"remark-cli": "^6.0.0", | ||
"remark-preset-wooorm": "^4.0.0", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"tape": "^4.0.0", | ||
"tinyify": "^2.5.0", | ||
"xo": "^0.24.0" | ||
"tinyify": "^2.0.0", | ||
"xo": "^0.25.0" | ||
}, | ||
@@ -35,0 +39,0 @@ "scripts": { |
@@ -10,13 +10,13 @@ # cept | ||
## Installation | ||
## Install | ||
[npm][]: | ||
```bash | ||
```sh | ||
npm install cept | ||
``` | ||
## Usage | ||
## Use | ||
```javascript | ||
```js | ||
var cept = require('cept') | ||
@@ -41,4 +41,5 @@ | ||
Intercept all calls to `context[key]` (e.g., `console.log`). | ||
From now on, when the original method would be invoked, `callback` | ||
is used instead. Invoking `stop` reverts everything back to normal. | ||
From now on, when the original method would be invoked, `callback` is used | ||
instead. | ||
Invoking `stop` reverts everything back to normal. | ||
@@ -45,0 +46,0 @@ ###### Parameters |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4560
81