DEV Community

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

Posted on

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

Top comments (0)