aemkei / jsfuck

Write any JavaScript with 6 Characters: []()!+
jsfuck.com
Do What The F*ck You Want To Public License
8.16k stars 674 forks source link

Publish as an npm package #10

Closed mathiasbynens closed 11 years ago

mathiasbynens commented 11 years ago

This patch adds a package.json file and exposes fuck.js as the binary. This means three things:

  1. you can now publish this package on npm
  2. people will then be able to npm install jsfuck and require('jsfuck') in their code
  3. people will be able to install jsfuck globally (npm install jsfuck -g) which allows them to use the jsfuck command in their shell
mathiasbynens commented 11 years ago

@aemkei Would you mind running npm publish so that https://npmjs.org/package/jsfuck becomes available? Thanks!

aemkei commented 11 years ago

Sure! Currently on a plane but will run that as soon as I'm back online.

aemkei commented 11 years ago

It's up: https://npmjs.org/package/jsfuck