@danielbayerlein/caniuse-yarn
v1.1.0
Published
Can I use Yarn? caniuse-yarn checks if Yarn is available.
Downloads
1,069
Readme
caniuse-yarn
caniuse-yarn checks if Yarn is available.
Installation
Library
$ yarn add @danielbayerlein/caniuse-yarn
or
$ npm install @danielbayerlein/caniuse-yarn --save
CLI
$ yarn global add @danielbayerlein/caniuse-yarn
or
$ npm install @danielbayerlein/caniuse-yarn --global
Usage
Library
const caniuseYarn = require('@danielbayerlein/caniuse-yarn')();
console.log(caniuseYarn ? 'Yes' : 'No');
CLI
$ caniuse-yarn
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
) - Create new Pull Request
Copyright
Copyright (c) 2016 Daniel Bayerlein. See LICENSE for details.