Have ideas to improve npm?Join in the discussion! »

    @danielbayerlein/caniuse-yarn

    1.1.0 • Public • Published

    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.

    Keywords

    Install

    npm i @danielbayerlein/caniuse-yarn

    DownloadsWeekly Downloads

    165

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar