Naughty Pterodactyl Maid

    @smellman/sprite-one
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.3 • Public • Published

    Generate sprite image and json without Mapnik

    Install

    yarn add @smellman/sprite-zero

    or

    npm install @smellman/sprite-zero

    Usage

    import { generateSprite } from '@smellman/sprite-one'
    
    generateSprite('../out', '../input', 2).then(() => {})

    Develop

    via bin/index.ts

    git clone https://github.com/smellman/sprite-one.git
    cd sprite-one
    yarn
    npx ts-node bin/index.ts ../../tmp/out ../../tmp/maki/icons
    npx ts-node bin/index.ts ../../tmp/out ../../tmp/maki/icons --ratio=2

    Keywords

    none

    Install

    npm i @smellman/sprite-one

    DownloadsWeekly Downloads

    7

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    16.3 kB

    Total Files

    17

    Last publish

    Collaborators

    • smellman