npm-pkg-json
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

npm-pkg-json

GitHub stars

load package.json file

Please ★ this repo if you found it useful ★ ★ ★

I built this project so I can import the package.json file even when the rootDir is out of scope, for example when "rootDir": "src".

Features

  • load package.json file
  • supports typescript

Installation

npm install --save npm-pkg-json

Dependencies

Usage

import pkg from 'npm-pkg-json';

console.log(pkg);

Support

Submit an issue

Screenshots

Contribute a screenshot

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2019

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons

Package Sidebar

Install

npm i npm-pkg-json

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

7.41 kB

Total Files

8

Last publish

Collaborators

  • codejamninja