JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 40558
  • Score
    100M100P100Q138246F
  • License MIT

Loads the package.json from the root of the user's current project.

Package Exports

  • load-pkg

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (load-pkg) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

load-pkg NPM version Build Status

Loads the package.json from the root of the user's current project.

Install

Install with npm

$ npm i load-pkg --save

Usage

var pkg = require('load-pkg');
console.log(pkg.name);
//=> 'load-pkg'
  • list-deps: List the dependencies in the package.json of the current project. | homepage
  • load-plugins: Load plugins for gulp, grunt, assemble, verb any node.js app that needs to load plugins… more | homepage
  • look-up: Faster drop-in replacement for find-up and findup-sync. | homepage
  • resolve-dep: Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob)… more | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on October 20, 2015.