0.10.0 • Published 9 years ago

cwd v0.10.0

Weekly downloads
359,526
License
MIT
Repository
github
Last release
9 years ago

cwd NPM version NPM downloads Build Status

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

Install

Install with npm:

$ npm install cwd --save

Usage

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:

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.

Building docs

Generate readme and API documentation with verb:

$ npm install -g verb verb-readme-generator && verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.


This file was generated by verb, v0.9.0, on June 05, 2016.

revma@everything-registry/sub-chunk-1431woe-lovewander-clishipmateresolve-requireresolve-depresolve-filevcr-cliverb@aarondewes/wp-scriptsmetrics-tracker-clientmhr_testmhrmkfileload-optionslighthouse-automaticjest-s3jest-s3-esmjest-mysqljest-dev-serverjest-process-managerjest-environment-puppeteer-jsdomjdescottes-jest-dev-serverjdescottes-jest-environment-puppeteerintuitionitc-package-builderixcometrics-collector-clientlive-perflive-frontendkobielulzcannonpublication-checkpublic-headerpublic-header-copynode-makepurge-famy-ng-factoryphiftyng-factoryng-clinode-test-servernpm-install-promptnuxp-clirequire-mainsmoothsmooth-coresitecore-package-managertravis-or-circletrashdispensertooling-plugin-webpack@afternun/jest-dev-server@chealt/jest-puppeteer-env4sure-clixsj-workflowzhike-cliwebpackeratorupdate-contributorszipper-jest-elasticsearchzipper-elasticsearch-local@ferngully/daostack-arc.js@gechiui/scripts@gosupersimple/jest-testcontainers@infinitebrahmanuniverse/nolb-cw@krenaldi/learnstorybook-design-system-template@lanz1/v-money3@itayn-fireberry-org/itayn-test@mtsmfm/jest-environment-puppeteer@mozilla/jest-dev-server@mozilla/jest-environment-puppeteer@nodepit/jest-mongodb-downloader@eresearchqut/jest-testcontainers@fannarsh/trident@max_alieksieiev/react-pdf-viewer-root@pspdfkit-labs/jest-dev-server@pspdfkit-labs/jest-environment-puppeteer@quillforms/scripts@ritz078/jest-dev-server@ritz078/jest-environment-puppeteer@pentia/sitecore-package-manager@shelf/jest-dynamodb@shelf/jest-elasticsearch@shelf/jest-postgres@shelf/postgres-local@shelf/elasticsearch-local@sum.cumo/imagemin-merlin@solleriy/jest-testcontainers@remax/jest-environment-puppeteer@do4way/jest-dynamodb@blueground/jest-testcontainersdrumembedit-devstack-toolsentekaeslint-changed-sinceexwml@tephra/jest-dev-server@thadeu/jest-localstack-preset@thadeu/vitest-localstack@tephra/jest-environment-puppeteer
0.10.0

9 years ago

0.9.1

9 years ago

0.9.0

9 years ago

0.8.4

9 years ago

0.8.3

9 years ago

0.8.2

9 years ago

0.8.1

9 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.0

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.7

10 years ago

0.3.6

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

11 years ago

0.3.1

11 years ago

0.3.0

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago