UNPKG
colorjs.io
Version:
alpha (0.6.0-alpha.1)
latest (0.5.2)
0.6.0-alpha.1
0.5.2
0.5.1
0.5.0
0.4.5
0.4.4
0.4.4-patch.1
0.4.3
0.4.2
0.4.1
0.4.1-patch.1
0.4.0
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Let’s get serious about color
colorjs.io
LeaVerou/color.js
colorjs.io
/
src
/
spaces
/
index.js
9 lines
(6 loc)
•
198 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
ColorSpace
from
"../space.js"
;
import
*
as
spaces
from
"./index-fn.js"
;
export
*
as
spaces
from
"./index-fn.js"
;
for
(
let
key
of
Object
.
keys
(spaces)) {
ColorSpace
.
register
(spaces[key]); }