Skip to content
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

npm #11

Closed
coreyworrell opened this issue Mar 24, 2016 · 3 comments
Closed

npm #11

coreyworrell opened this issue Mar 24, 2016 · 3 comments

Comments

@coreyworrell
Copy link

Hello, I tried to install via npm npm install git://github.com/briangonzalez/rgbaster.js, but it trips up on the symlink'd package.json and says it cannot be found and errors out. Any chance of separating the package.json from bower.json (or possibly reversing the symlink?) to make this possible?

And also would be neat to have it up on npm registry as well.

Thank you!

@briangonzalez
Copy link
Owner

Good call! We're live.

https://www.npmjs.com/package/rgbaster.js

@coreyworrell
Copy link
Author

Thanks very much!

@coreyworrell
Copy link
Author

I'm noticing that the library only returns rgb(,,) for all colors. I am using it something like

require('rgbaster.js')

imageHtmlElement.addEventListenter('load', function () {
  RGBaster.colors(imageHtmlElement, {
    success: function(result) {
      console.log(result)
    }
  })
})

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

No branches or pull requests

2 participants