A CLI and Express middleware for getting up and running without any hurdles and get straight onto creating.
This tools is made for getting your projects on their feet without worrying about the underlying magic, letting you focus 100% on your code!
I want to state this is mostly just a wrapper around browserify-middleware for more basic usage and an added CLI for rapid prototyping. All transformation magic goes to them, the babel team and the browserify team.
$ npm install -g livn
$ npm install livn
- Make sure livn is installed by running
$ livn --version.
cdto your working directory and run the CLI.
- Go to localhost:3000.
$ livn -h for a list of commands.
$ cd your/current/project$ livnServer is up and running of port 3000
After installing express to your project go ahead and require it and use it like so
This should be all you need for a basic application.
var express = ;var livn = ; // Initiate express appvar app = ; // Setup app to use the livn middlewareapp; // OPTIONAL// Setup static serving of filesapp; app;
After writing boilerplate transpiler code after boilerplate transpiler code, I wanted something that would be super easy to transport and to test out new ideas in an instant. Along with this came the separation of build tools and actual source code of my projects, leaving my projects cleaner.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Thanks to browserify-middleware for providing an awesome middleware that made this project 100 times easier for me.
The MIT License (MIT)