JSPM

readase

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q38592F
  • License CC0-1.0

Read Adobe Swatch (ASE) files

Package Exports

  • readase

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (readase) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

readASE Colorwheel

NPM Version Build Status Licensing Changelog Gitter Chat

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] }
        }
    }
);