---
title: "Discussion on \"Publish a React and Typescript Component as NPM Package\" | Hashnode"
description: "Discussion on \"Publish a React and Typescript Component as NPM Package\". How to publish a react and typescript component as a NPM package or a library. We will understand how to build typescript config and bundling using rollup."
url: "https://hashnode.com/posts/publish-a-react-and-typescript-component-as-npm-package/6693b5f116ceb5975f8dcc75"
---

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

Discussion

# [Publish a React and Typescript Component as NPM Package](https://roadsidecoder.hashnode.dev/publish-a-react-and-typescript-component-as-npm-package?utm_source=hashnode&utm_medium=feed)

How to publish a react and typescript component as a NPM package or a library. We will understand how to build typescript config and bundling using rollup.

Jul 14, 2024 · 4 min read · roadsidecoder.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#npm](https://hashnode.com/tag/npm)
-   [#npm-publish](https://hashnode.com/tag/npm-publish)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#react-19](https://hashnode.com/tag/react-19)

## Written by

[Roadside Coder](https://hashnode.com/@RoadsideCoder)

@RoadsideCoder

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

App Development Tutorials

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
