Hack on your project easily. A liftoff proof-of-concept.
npm install hacker[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
Hack on your project easily. A liftoff proof-of-concept.
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
#### Hackerfile.js
``js`
var fs = require('fs');
fs.writeFileSync('tmp', 'i will be written relative to this file, always.');
To run:
hacker
#### Hackerfile.coffee
`coffeescript`
fs = require 'fs'
fs.writeFileSync 'tmp', 'i will be written relative to this file, always.'
To run:
hacker`
MIT
[downloads-image]: https://img.shields.io/npm/dm/hacker.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/hacker
[npm-image]: https://img.shields.io/npm/v/hacker.svg?style=flat-square
[ci-url]: https://github.com/gulpjs/hacker/actions?query=workflow:dev
[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/hacker/dev?style=flat-square
[coveralls-url]: https://coveralls.io/r/gulpjs/hacker
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/hacker/master.svg?style=flat-square