$ npm install --save by-yarn
// require it in your module
const byYarn = require('by-yarn')
if (byYarn()) {
console.log('Woot, this module is installed by Yarn!')
}
Type: string
Default: undefined
The path to the directory that may contain a yarn.lock
- 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