@danielbayerlein/caniuse-yarn

Can I use Yarn? caniuse-yarn checks if Yarn is available.

Stats

StarsIssuesVersionUpdatedCreatedSize
@danielbayerlein/caniuse-yarn
421.1.05 years ago5 years agoMinified + gzip package size for @danielbayerlein/caniuse-yarn in KB

Readme

caniuse-yarn

npm version Build Status

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

  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. Create new Pull Request

Copyright

Copyright (c) 2016 Daniel Bayerlein. See LICENSE for details.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.