@sharyn/check-setup
[![npm](https://img.shields.io/npm/v/@sharyn/check-setup.svg)](https://www.npmjs.com/package/@sharyn/check-setup)
Last updated 6 months ago by sharyn .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @sharyn/check-setup 
SYNC missed versions from official npm registry.

???? @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

Current Tags

  • 2.0.9                                ...           latest (6 months ago)

28 Versions

  • 2.0.9                                ...           6 months ago
  • 2.0.8                                ...           a year ago
  • 2.0.7                                ...           a year ago
  • 2.0.6                                ...           a year ago
  • 2.0.5                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.8.1                                ...           a year ago
  • 1.8.0                                ...           a year ago
  • 1.7.1                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.1                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.5.1                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 28
Dependencies (4)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |