Socket
Socket
Sign inDemoInstall

how-to-publish-a-npm-package

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    how-to-publish-a-npm-package

A quick tutorial on how you can publish your own npm package.


Version published
Maintainers
1
Install size
3.48 kB
Created

Readme

Source

How to publish a npm package

This is a quick tutorial on how you can publish your own npm package with minimal configuration. This will cover the basic setup, how npm works and how to ship good quality code.

The full tutorial can be found at my Medium blog.

You'll need the following packages:

  • @babel/core
  • babel-loader
  • webpack
  • webpack-cli

You can install all the dependencies by running:

npm i -D @babel/core babel-loader webpack webpack-cli

Keywords

FAQs

Last updated on 24 Jan 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc