Skip to content

zeke/backfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backfill

Download package.json dependency data to meta.json

backfill looks for all dependencies in package.json and downloads registry metadata for each one to a file called meta.json.

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install backfill --save

Usage

To have backfill update meta.json automatically every time you install, add a postinstall script:

{
  "name": "npm-collection-foo",
  "scripts": {
    "postinstall": "backfill"
  }
}

Tests

npm install
npm test

Dependencies

  • minimist: parse argument options
  • pkgs: Fetch npm registry metadata for a list of npm package names

Dev Dependencies

  • mocha: simple, flexible, fun test framework
  • nixt: Simple and powerful testing for command-line apps

License

MIT

Generated by package-json-to-readme

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published