DEV Community

Vincent Voyer
Vincent Voyer

Posted on

Releasing `javascript-library-template`

πŸ‘‹ 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 πŸš€

Top comments (0)