Convert PSD to SpriteSheet.
First, install this module in your project.
$ npm install psd2sprite
Import this module to your source code and call like below.
var psd2sprite = require('psd2sprite');
psd2sprite('./target.psd');
// -> Output of ./target_sprite.png and ./target_sprite.json
psd2sprite('./target.psd', './outdir');
// -> Output of ./outdir/target_sprite.png and ./outdir/target_sprite.json
This software is released under the MIT License, see LICENSE