Zeke Sikelianos

Results 472 comments of Zeke Sikelianos

Awesome.

No, but that's a cool idea. I'd consider a PR to add support for this, or it could be a good candidate for a new standalone npm packages

This library does not provide a way to get the dominant color. Is there a reason you don't want to use color thief? I found [dominant-color](https://www.npmjs.com/package/dominant-color) but it has a...

Wondering what "dominant" really means. 🤔

That's interesting @ijambro. Do you want to take a shot at that in a pull request?

I'm busy, but I will accept a PR with these updates! 🙏🏼

Just published 2.0.1 with updated cheerio. See https://github.com/colorjs/get-svg-colors/pull/82#issuecomment-1670520087 🚀 Thanks @adityapatadia. 🙏🏼 Gonna close this issue because it's old, but happy to accept any other PRs that update the deps...

Hi @vuongngolg ! I see a few issues: `if (err) throw err;` is not throwing because the argument is called `error` When using a buffer, you need to specify its...

Try this: ```js var path = require('path') var file = path.join(__dirname, '/../resources/uploadData/', '1.png') console.log(file) // does that look like the right file path? getColors(file) .catch(err => { throw err })...

can you drag and drop your png file here?