Skip to content

Transform aco files to JSON format

License

Notifications You must be signed in to change notification settings

core3d-inc/aco-reader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
 }
]

About

Transform aco files to JSON format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%