node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

hacker

hacker

Hack on your project easily. A proof of concept for node-liftoff.

How to use it

  1. Install globally with npm install -g hacker.
  2. Write your Hackerfile.
  3. Run hacker in your project directory.
  4. The rest is up to you.

Options

  • --cwd specify the working directory to run hacker
  • --hackerfile specify an exact hackerfile path
  • --require require an external module before loading your hackerfile
  • --verbose show some debugging info about how hacker is working

Examples

Hackerfile.js

var fs = require('fs');
fs.writeFileSync('tmp','i will be written relative to this file, always.');

To run: hacker

Hackerfile.coffee

fs = require 'fs'
fs.writeFileSync 'tmp''i will be written relative to this file, always.'

To run: hacker