Introduction to Neutrino

Armen Zambrano
Feb 27, 2018 · 2 min read

I discovered Neutrino in the last year and it has become my preferred tool to bootstrap any JS project.

Neutrino’s logo with permission from Eli

Here’s the definition of what Neutrino is from the project’s site:

[You can] create and build modern JavaScript applications with zero initial configuration.

Neutrino combines the power of webpack with the simplicity of presets.

For me, the main advantage Neutrino has, is that it removes the need to write webpack.config.babel.js configuration files and that starting a project is a simple wizard.

To get started it is as simple as this:

npx @neutrinojs/create-project <directory-name>

That will start a wizard that will help you select the stack you want:

Once the wizard completes you can change to that directory and start your project with npm start; That’s it! You don’t need any configuration changes. The minimum number of files for your project to start are now in place.

Neutrino is opinionated and has a bunch of good defaults that works for both production and development. You can always customize the configuration and/or create your own presets.

If you want an example of:

If you want to learn more about Neutrino, Eli Perelman (original author of the project) wrote about Neutrino at hacks.mozilla.org. You can find the official documentation at https://neutrino.js.org.

I hope you give it a try!

Armen Zambrano

Written by

Follower of Christ writing web fullstack & automation solutions for Mozilla

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade