Releasing `javascript-library-template`
Vincent Voyer
Posted on March 6, 2020
š JavaScript developers
One of the hidden challenges of authoring opensource JavaScript libraries is to provide a project that is easy to contribute to.
Doing so requires a good amount of boilerplate, you have to think about and provide tooling for:
- ā testing
- ā code coverage
- ā dependencies maintenance
- ā release scripts
- ā software requirements like Node.js and Yarn: which versions are we using again?
- ā code editor configuration
- ā formatting
- ā linting...
This can be daunting and you might already be tired of this long list. Well, fear no more, I created a JavaScript library template that covers all of that!
After publishing JavaScript libraries for 7 years now, this template contains all my experience when it comes to providing good modern defaults to a JavaScript library tooling.
It's available on GitHub as a repository template:
š https://github.com/vvo/javascript-library-template
Next time you want to create a reusable opensource (or not) JavaScript library: give a try to my template and let me know how it goes.
The next steps for the template are highlighted in the README and I would love you to contribute, join me š
Posted on March 6, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.