mock-package-install

1.0.0 • Public • Published

Codeship Status for cdaringe/mock-package-install Coverage Status

mock-package-install

Generate a mock npm-like package installation.

You can also update a package.json as you add/remove packages. See the docs!

usage

var mockPackage = require('mock-package-install')
var mock1 = mockPackage.install() //=> node_modules/mock_package_1 now exists w/ package.json
mockPackage.remove({ name: mock1.name }) //=> removes the pkg folder

Of course this is all configurable. Full API docs live here

/mock-package-install/

    Package Sidebar

    Install

    npm i mock-package-install

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • cdaringe