Skip to content

clayrisser/npm-pkg-json

Repository files navigation

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

About

load package.json file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published