UNPKG
@livechart/sharp-vibrant
Version:
latest (0.2.0)
0.2.0
0.1.0
Extract prominent colors from an image in a node environment using sharp.
LiveChart/sharp-vibrant
@livechart/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
;