---
title: "Discussion on \"Building an SDK with TypeScript\" | Hashnode"
description: "Discussion on \"Building an SDK with TypeScript\". Step-by-Step Guide to Building and Publishing a TypeScript SDK on NPM Registry || Take Your TypeScript Skills to the Next Level"
url: "https://hashnode.com/posts/building-an-sdk-with-typescript/63de105f2faf1ab283034079"
---

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

Discussion

# [Building an SDK with TypeScript](https://durgadas.in/building-an-sdk-with-typescript?utm_source=hashnode&utm_medium=feed)

Step-by-Step Guide to Building and Publishing a TypeScript SDK on NPM Registry || Take Your TypeScript Skills to the Next Level

Feb 4, 2023 · 6 min read · durgadas.in  
Read the article

-   [#developer](https://hashnode.com/tag/developer)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#apis](https://hashnode.com/tag/apis)

## Written by

[Durgadas Kamath](https://hashnode.com/@durgadas)

@durgadas · India

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

Inspire the Next.

Principal Architect | Driving Cloud Transformation &amp; Application Modernization with AWS &amp; IBM Cloud | Serverless &amp; DevOps Leader | Industry Speaker

## Responses 2

Markdown supported · ⌘↵ to post

[Tarek Al Beb](https://hashnode.com/@tarekbeb)

[Mar 16, 2023](https://hashnode.com/posts/building-an-sdk-with-typescript/63de105f2faf1ab283034079/comment/64137feba22636ad25b26f6b)

This is a great article. Slight changes from the youtube video.

I am getting stuck trying to import the library into the other test repo. I keep getting this error when importing

```
Module not found: Can't resolve '@durgadas/sdk-demo'
```

I made few changes to the repo, including names/types/functionality, and got the same issue. I reverted all my changes back, and just checked out the code from the linked repo. But the error persisted.

Would you happen to have any pointers on what might be the issue? And/or where to look for a solution?

[Durgadas Kamath](https://hashnode.com/@durgadas)

[Mar 22, 2023](https://hashnode.com/posts/building-an-sdk-with-typescript/63de105f2faf1ab283034079/comment/64137feba22636ad25b26f6b#reply-641a7a83e592dd06478df1aa)

@durgadas/sdk-demo is not published anywhere. Post the article, I had taken it down from the npm. If you have your code in github, I can take a look.

[Bolaji Femi](https://hashnode.com/@femi0x)

[Mar 3, 2023](https://hashnode.com/posts/building-an-sdk-with-typescript/63de105f2faf1ab283034079/comment/640270bf6cc7b7a22094a5b4)

great article... thanks for this
