0.2.4 • Published 4 months ago

@dword-design/module-root v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

module-root NPM version

For Node.js projects, set the CWD (current working directory) to the same directory as package.json.

Quickstart

var root = require('module-root');

Usage

root('lodash');
//=> ~/your-project/node_modules/lodash

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors. Released under the MIT license