---
title: "Discussion on \"How to write and publish your first NPM package\" | Hashnode"
description: "Discussion on \"How to write and publish your first NPM package\". We will write a library that helps to generate border-radius for HTML elements, we will name it \"radiuswizard\".\nThis is just an example of a library that will give us the idea on how the NPM packages are written and published, so let’s start.\nWhat yo..."
url: "https://hashnode.com/posts/how-to-write-and-publish-your-first-npm-package/5f3ef92bdfbb4247f7c14b84"
---

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

Discussion

[Laasri Nadia](https://hashnode.com/@nadialaasri)

Front end developer-CSS enthusiast

Aug 20, 2020

# [How to write and publish your first NPM package](https://nadialaasri.hashnode.dev/how-to-write-and-publish-your-first-npm-package?utm_source=hashnode&utm_medium=feed)

We will write a library that helps to generate border-radius for HTML elements, we will name it "radiuswizard". This is just an example of a library that will give us the idea on how the NPM packages are written and published, so let’s start. What yo...

nadialaasri.hashnode.dev 6 min read

[#npm](https://hashnode.com/tag/npm) [#web-development](https://hashnode.com/tag/web-development) [#javascript](https://hashnode.com/tag/javascript) [#javascript-library](https://hashnode.com/tag/javascript-library)

## Responses 1

Markdown supported · ⌘↵ to post

[Chris Bongers](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

[Aug 21, 2020](https://hashnode.com/posts/how-to-write-and-publish-your-first-npm-package/5f3ef92bdfbb4247f7c14b84/comment/5f3f7759dfbb4247f7c155e4)

Very cool and clear examples!

[Laasri Nadia](https://hashnode.com/@nadialaasri)

Front end developer-CSS enthusiast

[Aug 21, 2020](https://hashnode.com/posts/how-to-write-and-publish-your-first-npm-package/5f3ef92bdfbb4247f7c14b84/comment/5f3f7759dfbb4247f7c155e4#reply-5f3fb7f69c00245eb87c5a64)

Thank you
