---
title: "Discussion on \"How to Create and Publish a Package to npm Registry\" | Hashnode"
description: "Discussion on \"How to Create and Publish a Package to npm Registry\". Understand how to create and test the NPM package with detailed example. Learn how to create account on NPM registry and publish the NPM package."
url: "https://hashnode.com/posts/create-and-publish-npm-package/660989e15e3a92b14415bafc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Create and Publish a Package to npm Registry](https://coding.sahilfruitwala.com/create-and-publish-npm-package?utm_source=hashnode&utm_medium=feed)

Understand how to create and test the NPM package with detailed example. Learn how to create account on NPM registry and publish the NPM package.

Jul 15, 2021 · 6 min read · coding.sahilfruitwala.com  
Read the article

-   [#npm-publish](https://hashnode.com/tag/npm-publish)
-   [#npm-packages](https://hashnode.com/tag/npm-packages)
-   [#npm](https://hashnode.com/tag/npm)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Sahil Fruitwala](https://hashnode.com/@SahilFruitwala)

@SahilFruitwala

  
[View profile](https://hashnode.com/@SahilFruitwala)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
