Check if a directory lies in the directory for globally installed modules of Yarn.
Package: installed-by-yarn-globally
Created by: egoist
Last modified: Sun, 19 Jun 2022 01:36:25 GMT
Version: 0.1.2
License: MIT
Downloads: 2,585
Repository: https://github.com/egoist/installed-by-yarn-globally
Install
npm install installed-by-yarn-globally
yarn add installed-by-yarn-globally
installed-by-yarn-globally
Install
$ npm install --save installed-by-yarn-globally
Usage
const isGlobal = require('installed-by-yarn-globally')
isGlobal(__dirname)
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT © EGOIST