var cwd = require('cwd');cwd();cwd('one/two.js');cwd('one', 'two.js');cwd(['one', 'two.js']);
Related projects
You might also be interested in these projects:
global-modules: The directory used by npm for globally installed npm modules. | homepage
global-paths: Returns an array of unique "global" directories based on the user's platform and environment. The… more | [homepage](https://github.com/jonschlinkert/global-paths "Returns an array of unique "global" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.")
Contributing
This document was generated by verb, please don't edit directly. Any changes to the readme must be made in .verb.md. See Building Docs.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.