aco-reader

1.0.1 • Public • Published

aco-reader

Transform .aco files to JSON format.

Install

$ npm install -S aco-reader

Usage

const acoReader = require('aco-reader')
acoReader.toJSON('./my-palette.aco', function(err, palette) {
  console.log(palette)
})

Output

[
 {
   name: 'A cool color',
   hex: '#ff0066'
 },
 {
   name: 'Another cool color',
   hex: '#ffbb00'
 }
]

/aco-reader/

    Package Sidebar

    Install

    npm i aco-reader

    Weekly Downloads

    9

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • alvaropinot