1.4.0 • Published 6 years ago

psd2json v1.4.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

psd2json

Build Status npm license

Convart PSD layout to JSON.

01.png 02.png

Usage

First, install this module in your project.

$ npm install psd2json

Import this module to your source code and call like below.

var psd2json = require('psd2json');

var jsonData = psd2json('./target.psd');                            // return JSON
var jsonData = psd2json('./target.psd', './outdir');                // return JSON and output /outdir/target.json /outdir/target/*.png
var jsonData = psd2json('./target.psd', {outJsonDir:'./outdir'});   // return JSON and output /outdir/target.json
var jsonData = psd2json('./target.psd', {outImgDir:'./outdir'});    // return JSON and output /outdir/target/*.png

License

This software is released under the MIT License, see LICENSE

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago