psd2sprite

0.3.1 • Public • Published

psd2sprite

Build Status npm license

Convert PSD to SpriteSheet.

01.png

Usage

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

License

This software is released under the MIT License, see LICENSE

/psd2sprite/

    Package Sidebar

    Install

    npm i psd2sprite

    Weekly Downloads

    8

    Version

    0.3.1

    License

    MIT

    Unpacked Size

    9.84 kB

    Total Files

    5

    Last publish

    Collaborators

    • zprodev