Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Publish as an npm package#10

Merged
aemkei merged 2 commits into
aemkei:masterfrom
mathiasbynens:add-package.json
Sep 18, 2013
Merged

Publish as an npm package#10
aemkei merged 2 commits into
aemkei:masterfrom
mathiasbynens:add-package.json

Conversation

@mathiasbynens

Copy link
Copy Markdown
Contributor

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

This allows people to use the `jsfuck` command in their shell after
installing jsfuck globally via npm:

    npm install -g jsfuck
aemkei added a commit that referenced this pull request Sep 18, 2013
@aemkei aemkei merged commit 982fa2d into aemkei:master Sep 18, 2013
@mathiasbynens

Copy link
Copy Markdown
Contributor Author

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

@aemkei

aemkei commented Sep 18, 2013

Copy link
Copy Markdown
Owner

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

@aemkei

aemkei commented Sep 18, 2013

Copy link
Copy Markdown
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants