Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.74 KB

README.md

File metadata and controls

63 lines (44 loc) · 1.74 KB

hacker

NPM version Downloads Build Status Coveralls Status

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

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

License

MIT