Introduction to Neutrino

Armen Zambrano
2 min readFeb 27, 2018

--

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
Armen Zambrano

Written by Armen Zambrano

Follower of Christ writing developer tools, web fullstack & automation solutions.

No responses yet