Skip to content

cezaraugusto/prefers-yarn

Repository files navigation

prefers-yarn workflow npm

Check whether the working directory prefers yarn over npm

Installation

npm install prefers-yarn

Usage

const prefersYarn = require('prefers-yarn')

const useYarn = prefersYarn() // boolean

if (useYarn) {
  // do stuff
}

License

MIT (c) Cezar Augusto.

About

Check whether the working directory prefers yarn over npm.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published