r/learnjavascript • • 12d ago

Publishing a JS framework

Im working on a project for myself. Its an unreviewed, unaudited and far from finished. It started of as a person curiosity and evolved from there.

Im asking because if i publish something on NPM, there are strict controls around versioning for which i havent burdened myself on my own projects (but clearly important when making something for a wider community). I also wonder if im overlooking any other details.

I wonder what best practices there are for something like this. Should i be publishing new versions with CI/CD? Are there any tips or advice on doing this in the modern js package ecosystem?

6 Upvotes

8 comments sorted by

View all comments

1

u/Alternative-Host-210 10d ago

One thing I'd add from a teaching perspective: give the README example an expected result, not just installation commands and code. What should someone see when it works, and which bits are ordinary JavaScript versus conventions introduced by your framework?

Since it's still experimental, I'd also state what isn't supported yet. That helps someone distinguish their own mistake from a feature you haven't built.

What is the smallest task your framework makes easier? That would be a useful starting point for the first tutorial.