Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.
/ create-test-package Public archive

create a test package directory + package.json

License

Notifications You must be signed in to change notification settings

npm/create-test-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

create a test package directory + package.json

Resources

License

Stars

Watchers

Forks

Packages

No packages published