0.10.0 • Published 8 years ago

cwd v0.10.0

Weekly downloads
359,526
License
MIT
Repository
github
Last release
8 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-1431lighthouse-automatickobieixcoitc-package-builderjdescottes-jest-dev-serverjdescottes-jest-environment-puppeteerjest-dev-serverjest-environment-puppeteer-jsdomjest-mysqljest-process-managerjest-s3jest-s3-esmlive-perflive-frontendload-optionsnode-makeng-factoryng-clilulzcannonmhrmhr_testmkfileintuitionmy-ng-factorymetrics-collector-clientmetrics-tracker-clientnpm-install-promptentekadrumeslint-changed-sinceembedit-devstack-toolsflow-watchergenerator-g4-modulegenerator-ng-factoryflexus-cliexwmlnode-test-servernuxp-clipublication-checkpublic-headerpublic-header-copy@webthatmatters/revmapurge-fa@wordpress/scripts@w-schmitt/jest-mongodbalfred-styleguide@afternun/jest-dev-serverastrumappxgen4sure-cli@aarondewes/wp-scriptsphiftyccasl@gosupersimple/jest-testcontainers@eresearchqut/jest-testcontainersverbxsj-workflow@ferngully/daostack-arc.js@fannarsh/trident@gechiui/scripts@itayn-fireberry-org/itayn-test@infinitebrahmanuniverse/nolb-cwtrashdispensertravis-or-circleupdate-contributorswebpackeratorwander-cliwoe-lovezipper-jest-elasticsearchzipper-elasticsearch-localzhike-clidownload-repotooling-plugin-webpackvcr-cli@do4way/jest-dynamodbsmooth-coresmoothconfetti-generatorsitecore-package-managerdata-ingestion-shopify-producerdatagrand-serverdaostack-arc-jsdaostack-arc.jscpwdcopper-frameworkresolve-fileresolve-depresolve-requirerequire-maindevstack-tools@chealt/jest-puppeteer-env@blueground/jest-testcontainersshipmateconfigurizebabelator@nodepit/jest-mongodb-downloader@lanz1/v-money3@mozilla/jest-dev-server
0.10.0

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.8.4

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.0

9 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

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago