10000 Publish as an npm package by mathiasbynens · Pull Request #10 · aemkei/jsfuck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Publish as an npm package #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 18, 2013
Merged

Publish as an npm package #10

merged 2 commits into from
Sep 18, 2013

Conversation

mathiasbynens
Copy link
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
Contributor Author

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

@aemkei
Copy link
Owner
aemkei commented Sep 18, 2013

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

@aemkei
Copy link
Owner
aemkei commented Sep 18, 2013

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
0