hacker

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

Usage no npm install needed!

<script type="module">
  import hacker from 'https://cdn.skypack.dev/hacker';
</script>

README

hacker

NPM version Downloads Travis Build Status AppVeyor Build Status Gitter chat

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