Socket
Book a DemoInstallSign in
Socket

color-sort

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-sort

A simple lib that sorts colors by perception.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
80
-6.98%
Maintainers
1
Weekly downloads
 
Created
Source

Color Sort

A simple lib that sorts colors by perception.

Usage

var colorSort = require('color-sort');
var unsortedColorArray = ['#f00', '#0f0', '#f0f', '#a00', '#a0a', '#00a'];

colorSort(unsortedColorArray) // ['#f00', '#a00', '#0f0', '#00a', '#f0f', '#a0a']

Keywords

color

FAQs

Package last updated on 23 Mar 2016

Did you know?

Socket

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.

Install

Related posts