readase
v1.0.0
Published
Read Adobe Swatch (ASE) files
Downloads
15
Maintainers
Readme
readASE
readASE lets you read Adobe Swatch (ASE) files as JavaScript objects.
npm install readase --save-dev
const fs = require('fs');
const readASE = require('readase');
fs.readFile(
'my-brand.ase',
(error, buffer) => {
if (!error) {
console.log(
readASE(buffer)
); // { type: "group", name: "My Brand", entries: [ ...colors] }
}
}
);