Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-package-javascript

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-package-javascript

Recklessly create npm packages left and right with this single command

  • 0.2.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm init package-javascript <name>

Recklessly create npm packages left and right with this single command ☝

Usage

npm init package-javascript <name> [--in <path>]

create-package-javascript was designed with npm init … approach in mind (learn more about npm init).

npm init package-javascript my-package
npm init package-javascript my-foo-package --in ./path/to/my-packages/foo

--in

By default, all the files are put to a new directory named after the package name:

cd ~
npm init package-javascript my-package
~/
  my-package/
    package.json # "name": "my-package"

This behavior can be overriden with --in option. For example, this command:

cd ~
npm init package-javascript my-foo-package --in ./path/to/my-packages/foo

… creates these files:

~/path/to/my-packages/
  foo/
    package.json # "name": "my-foo-package"

Different versions

By default, the create-package-javascript@latest is used. To use different version of create-package-javascript, consider this syntax:

npm init package-javascript@<version> <…options>

FAQs

Package last updated on 09 Mar 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc