
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Given an image, extract predominant & palette colors. 20+ image formats well tested.
$ npm install splashy --save
;(async () => {
const splashy = require('splashy')
const got = require('got')
const url = 'https://kikobeats.com/images/avatar.jpg'
const { body } = await got(url, { responseType: 'buffer' })
const palette = await splashy(body)
console.log(palette)
// => [ '#941c1c', '#841c16', '#aa695e', '#ca866c', '#6c5444', '#cca4a4' ]
})()
;(async () => {
const splashy = require('splashy')
const path = require('path')
const fs = require('fs')
const filepath = path.resolve(__dirname, 'avatar.jpg')
const buffer = await fs.readFile(filepath)
const palette = await splashy(buffer)
console.log(palette)
// => [ '#941c1c', '#841c16', '#aa695e', '#ca866c', '#6c5444', '#cca4a4' ]
})()
Required
Type: ImageSource
The raw content for detecting the color information.
microlink-function © Microlink, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.
Special thanks to Tim Carry for writing the benchmark and Lokesh Dhakar for the original code implementation.
microlink.io · GitHub microlinkhq · X @microlinkhq
FAQs
Given an image, extract predominant & palette colors
The npm package splashy receives a total of 263 weekly downloads. As such, splashy popularity was classified as not popular.
We found that splashy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.