Skip to content

sindresorhus/has-yarn-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

has-yarn-cli

Check if a project is using Yarn

It checks for a yarn.lock file in the given directory or any of its parent directories (useful for Yarn workspaces).

Install

npm install --global has-yarn-cli

Usage

$ has-yarn --help

  Usage
    $ has-yarn
    ✔ This project uses Yarn

  Options
    --quiet  Silence output (useful for scripts)

  Exits with code 0 if the project uses Yarn, otherwise code 2

Related

About

Check if a project is using Yarn

Resources

License

Code of conduct

Contributing

Stars

65 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors