Start your next projects with one-command easily
Latest commit f03cace Nov 11, 2016 @azer azer correct starter names
Failed to load latest commit information.
bin rebase Jun 5, 2016
docs rename as hek Jun 5, 2016
examples rename as hek Jun 5, 2016
lib correct starter names Nov 11, 2016
test rename as hek Jun 5, 2016
.gitignore first commit Oct 31, 2015
.npmignore first commit Oct 31, 2015 Update Jun 5, 2016
index.js use es6 classes Jan 19, 2016
package.json Normalize module paths before requiring Jun 22, 2016


Kickstart your new projects with one command. Screenshot


$ npm install -g hek/hek

The Goal

My goal with this project was saving as much as developer time possible. And I imagined a tool that can learn how to help developer to write code.

On the other words, we teach computers how to write code, instead of we write. And we can simply accomplish this by creating templates of small or big chunks of code, and building a UI system that lets the developer inserting these templates via human friendly UIs like in the example screenshot.

What is missing ?

  • Letting extensions register sub-commands: this will allow us to insert project-specific templates.
  • Extending CLI to support sub-commands: so we can run commands like hek :add-route. more examples


Hek is a command-line tool and a library for creating projects by using starters. It'll save your time from initializing projects from scratch, letting you choose what kind of project that you'd like to choose. It's designed not only for JavaScript, you can use it for creating any project by choosing or creating a starter.


After installing it, you can simply call it on command-line to start your next project:

$ hek

It'll prompt you some basic questions like your Github handle, where you keep your code for once, and some project specific questions like its name, Github URL etc.

Programmatical Interface

See examples/programmatical.js for how to use hek programmatically.