DEV Community

Cover image for I wanted to learn typescript so I built an npm package
ahmedgaafer
ahmedgaafer

Posted on

1

I wanted to learn typescript so I built an npm package

So you want to learn typescript πŸ€”

You don't want to read the 30 min handbook because reading is boring πŸ˜ƒ

I have have the perfect solution for you...

.
.
.
.
.
.
.
.
.

πŸ€“πŸ€“πŸ€“ Create a very complicated data-structures npm package fully document & test it. And create a full ci/cd pipe line to automate the docs and the tests and take 3 month doing that πŸ€“πŸ€“πŸ€“

Image description

That is exactly what I did and I love doing it
although the learning curve of the basics of the new subject is slower but the knowledge that I gained creating the npm package it huge.

I learned:

  • typescript ofc
  • testing typescript with jest
  • how amazing strongly typed JS is
  • how to publish a TS package that works on both TS and JS
  • data structures in depth
  • documentation
  • CI/ CD

And more…

all of this from a single side project.

Check out the package here and tell me what you think.

https://www.npmjs.com/package/@ahmeds.gaafer/ts-data-structures

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❀️