DEV Community

Cover image for How to create an npm package ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ปโšก
Atul Tripathi
Atul Tripathi

Posted on

How to create an npm package ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ปโšก

Hello Devs,

There are 2 ways to use your component library as a package :-

  1. npm package
  2. github actions

1. For npm package

Image description

๐Ÿ”— https://docs.npmjs.com/creating-and-publishing-private-packagesโ€ฆ

๐Ÿ”— https://levelup.gitconnected.com/publish-react-components-as-an-npm-package-7a671a2fb7fโ€ฆ

๐Ÿ”— https://youtu.be/hf6Z8OZanec

2. For GitHub actions

Image description

๐Ÿ”— https://youtu.be/7CNC0QBCY-Y

Top comments (0)