2.0.0 • Published 3 years ago

is-node-package v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

is-node-package

Check if a given directory is node package - node package

Installation

npm i is-node-package

Usage

  var inp = require('is-node-package')

  inp('./', process.cwd())
  // true if current directory contains a package.json
  // false if current directory doesn't contain a package.json

License

MIT

  • © 2018 Git Faf
  • © 2021 Anubhav