1.0.0 • Published 7 years ago

ab-read-package v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
7 years ago

ab-read-package

Read package.json file

How to install

    npm i ab-read-package

How to use

    const readPackage = require('ab-read-package')
    readPackage(filePath)
        .then(pacakge => ...)

API

  • readPackage(filePath)
    • filePath: directory | full path to package.json file
    • returns promise that resolve to (json) object
1.0.0

7 years ago