Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extract-colors

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-colors - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

5

lib/worker-wrapper.d.ts

@@ -1,2 +0,3 @@

import { BrowserOptions, ImageDataAlt } from "./types/Options";
import type { BrowserOptions, ImageDataAlt } from "./types/Options";
import type { FinalColor } from "./types/Color";
/**

@@ -17,2 +18,2 @@ * Extract colors from a picture with Web Worker support.

*/
export declare const extractColors: (picture: string | ImageData | ImageDataAlt, options?: BrowserOptions) => Promise<unknown>;
export declare const extractColors: (picture: string | ImageData | ImageDataAlt, options?: BrowserOptions) => Promise<FinalColor[]>;

2

package.json
{
"name": "extract-colors",
"version": "4.1.0",
"version": "4.1.1",
"description": "Extract color palettes from images",

@@ -5,0 +5,0 @@ "main": "lib/extract-colors.cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc