create-test-package

1.0.1 • Public • Published

create-test-package

create a directory with a package.json suitable for tests.

API

createPackage(nameTemplate[, json]) -> Promise

createPackage(nameTemplate[, json], ready)

Creates a temp directory with a package.json file provided by the json argument. The json value may be a Promise.

The nameTemplate will replace "%s" with a random value.

The package.json name field will be overridden by the nameTemplate.

License

ISC

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i create-test-package

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • chrisdickinson