UNPKG
sharp-vibrant
Version:
latest (0.4.0)
0.4.0
0.3.0
Extract prominent colors from an image in a node environment using sharp.
LiveChart/sharp-vibrant
sharp-vibrant
/
src
/
index.ts
7 lines
(4 loc)
•
138 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
Vibrant
from
'./vibrant'
;
import
SharpImage
from
'./image/sharp'
;
Vibrant
.
DefaultOpts
.
ImageClass
=
SharpImage
;
export
=
Vibrant
;