Awesome
adobe-swatch-exchange
Encode/decode color palettes in Adobe's .ase
format.
Usage
ase.decode(buffer)
Returns a JSON object representing the contents of the .ase
file, for example:
{
"version": "1.0",
"groups": [],
"colors": [{
"name": "RGB Red",
"model": "RGB",
"color": [1, 0, 0],
"type": "global"
}, {
"name": "RGB Yellow",
"model": "RGB",
"color": [1, 1, 0],
"type": "global"
}]
}
License
MIT. See LICENSE.md for details.