|
@ -6,6 +6,10 @@ |
|
|
[](https://coveralls.io/github/lukechilds/requireable?branch=master) |
|
|
[](https://coveralls.io/github/lukechilds/requireable?branch=master) |
|
|
[](https://www.npmjs.com/package/requireable) |
|
|
[](https://www.npmjs.com/package/requireable) |
|
|
|
|
|
|
|
|
|
|
|
Mocks the require command to include the current package when the the `name` from the current packages `package.json` is required. |
|
|
|
|
|
|
|
|
|
|
|
Especially useful in tests if you want to require the package you're testing by name rather than relative paths. |
|
|
|
|
|
|
|
|
## Install |
|
|
## Install |
|
|
|
|
|
|
|
|
```shell |
|
|
```shell |
|
|