Socket
Book a DemoInstallSign in
Socket

create-test-package

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-test-package

create a package for testing purposes

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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

Keywords

package

FAQs

Package last updated on 05 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts