https://github.com/anmonteiro/arbo
https://github.com/anmonteiro/arbo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anmonteiro/arbo
- Owner: anmonteiro
- License: mit
- Created: 2017-05-01T03:42:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-21T04:54:53.000Z (over 8 years ago)
- Last Synced: 2024-05-22T21:26:41.394Z (over 1 year ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arbo [](https://travis-ci.org/anmonteiro/arbo) [](https://npmjs.com/package/arbo)
Arbo is tiny NPM package to facilitate interactive development. It allows removing
a (potentially dirty) module and every module it requires from the require cache
while preserving other unrelated cached modules.
## Installation
``` shell
$ npm install arbo
```
## Usage
```js
var clear = require('arbo');
// require module
require('foo');
// arbo clears the module and everything it depends on from the require cache
clear('foo');
```
## License & Copyright
Copyright © 2017 António Nuno Monteiro
Distributed under the MIT License (see [LICENSE](./LICENSE)).