🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

create-npm-library

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-npm-library

__

0.0.0
latest
npm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

create-react-library

Boilerplate generator for creating npm packages

To generate boilerplate

React component

npx create-npm-library react-component -o directory --name package-name

Vanilla js library

npx create-npm-library vanilla -o directory --name package-name

To publish your package

  • Log in to your account. yarn login # Enter your credentials

  • Publish! yarn publish --access=public

To test your package locally

  • In your package directory npm link

  • In your project root npm link {{package-name}}

FAQs

Package last updated on 17 May 2018

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