find-node-modules
Version:
Return an array of all parent node_modules directories
15 lines (10 loc) • 686 B
Markdown
# commons
[](http://travis-ci.org/sinonjs/commons) [](https://coveralls.io/github/sinonjs/commons?branch=master)
Simple functions shared among the sinon end user libraries
## Rules
* Follows the [Sinon.JS compatibility](https://github.com/sinonjs/sinon/blob/master/CONTRIBUTING.md#compatibility)
* 100% test coverage
* Code formatted using [Prettier](https://prettier.io)
* No side effects welcome! (only pure functions)
* No platform specific functions
* One export per file (any bundler can do tree shaking)