npm promulgates marsupials
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

adobe-swatch-exchange

0.0.0 • Public • Published

adobe-swatch-exchange experimental

Encode/decode color palettes in Adobe's .ase format.

Usage

adobe-swatch-exchange

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.

Keywords

none

install

npm i adobe-swatch-exchange

Downloadsweekly downloads

2

version

0.0.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability