installed-by-yarn-globally

v0.1.2
Check if a directory lies in the directory for globally installed modules of Yarn.
yarn

installed-by-yarn-globally

NPM version NPM downloads Build Status

Install

$ npm install --save installed-by-yarn-globally

Usage

const isGlobal = require('installed-by-yarn-globally')

isGlobal(__dirname)
//=> false

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT © EGOIST

npm i installed-by-yarn-globally

Metadata

  • MIT
  • >=4
  • EGOIST
  • released 1/19/2017

Downloads

Maintainers