npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@sharyn/check-setup

2.0.9 • Public • Published

🌹 @sharyn/check-setup

npm

It is used internally by Sharyn to determine which features to load.

🌹 Install

yarn add @sharyn/check-setup

🌹 Usage

import { hasPackage, hasFile } from '@sharyn/check-setup'
 
hasPackage('koa') // true or false based on your package.json
hasPackage('koa', true) // true or Error
 
hasFile('webpack.config.js') // true or false from the root of your project
hasFile('webpack.config.js', true) // true or Error

Keywords

none

install

npm i @sharyn/check-setup

Downloadsweekly downloads

95

version

2.0.9

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability