You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed the node module with npm install rgbaster and now want to import the node module in one of my js files. But there is not just a single function I can reference.
Here is my Code:
import rgbaster from './rgbaster';
RGBaster.colors(img, {
success: function(payload) {
// You now have the payload.
console.log(payload.dominant);
console.log(payload.secondary);
console.log(payload.palette);
}
});
Thanks for the help!
The text was updated successfully, but these errors were encountered:
I wanna use rgbaster in a chrome extension project. Therefore I wanna import rgbaster in one of my js files. I already installed the node module but don't know how to import it into my js file.
I've tried import rgbaster from './rgbaster';
But it didn't work
Hi, thanks for your awesome module!
I've installed the node module with npm install rgbaster and now want to import the node module in one of my js files. But there is not just a single function I can reference.
Here is my Code:
Thanks for the help!
The text was updated successfully, but these errors were encountered: