Hactar (GitHub: Hactar-js/hactar, License: ISC, npm: hactar)
Since a few month I start noticing a lot of people getting frustrated with the amount of setup required when trying new techniques. First of all I would like to refer these people that we are developers and it is our task to learn these methods and techniques. The libraries and frameworks we use are not consumer products. I do not understand where the expectation comes from that a framework or library should feel like a consumer product.
It does not require boilerplates, no generators, and no build tools to configure. To start using Hactar you simply write code and it figures out what you want to do and the best practices to make it happen.
Typically a workflow with Hactar would look like this;
Start up Hactar
$ hactar -p hactar-babel # initiating npm # name: (testcats) # ... # hactar is running
Open/create a file to start coding in.
And add some boilerplate which you will probably copy and past from the documentation of the library you want to use:
import React from 'react'; import Button from 'react-toolbox/lib/button'; const CustomButton = () => ( <Button label="Hello world" raised accent /> ); export default CustomButton;
Hactar will detect all the features used here and install the following packages:
- configured with babel and es2015
So you don’t have to worry about setting up any environment anymore.