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 = var mock1 = mockPackage //=> node_modules/mock_package_1 now exists w/ package.jsonmockPackage //=> removes the pkg folder
Of course this is all configurable. Full API docs live here