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