https://github.com/gulpjs/hacker
Hack on your project easily. A liftoff proof-of-concept.
https://github.com/gulpjs/hacker
cli flags liftoff nodejs proof-of-concept
Last synced: about 2 months ago
JSON representation
Hack on your project easily. A liftoff proof-of-concept.
- Host: GitHub
- URL: https://github.com/gulpjs/hacker
- Owner: gulpjs
- License: mit
- Created: 2014-01-31T18:43:02.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T23:21:33.000Z (over 3 years ago)
- Last Synced: 2025-10-08T18:47:29.448Z (5 months ago)
- Topics: cli, flags, liftoff, nodejs, proof-of-concept
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 26
- Watchers: 7
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/gulpjs/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
```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`
## License
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