IntroductionIn this article, We are going to see how we can build a module with TypeScript usable by both JavaScript developers and TypeScript developers. Most npm modules come without a Type definition, so TypeScript developers will have to run an additional npm i @types/<module_name> -D command to be able to use the npm module. Here, we will see how to create an npm module in TypeScript “importa
![How to create and publish an npm module in TypeScript](https://cdn-ak-scissors.b.st-hatena.com/image/square/1f740c3fb8a1425749cb6221576ba12866b8b8a3/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A664%2F1%2AJNwD5fwbppQRU_g-cr24kQ.png)