node package manager

cwd

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

cwd NPM version

Resolve the current working directory relative to the calling module.

Quickstart

var cwd = require('cwd');

Usage

var pkg = require(path.join(cwd, 'package.json'));

Author

Jon Schlinkert

License

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