sheet-packer
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

sheet-packer

pack images to sheets

Install

npm install sheet-packer

Usage

const fs = require('fs');
const pack = require("sheet-packer");
 
const files = fs.readdirSync('assets').map(file => 'assets/' + file);
 
(async function () {
    let {sheets} = await pack(files, {
        outputDir: 'output',
    });
})();

Readme

Keywords

none

Package Sidebar

Install

npm i sheet-packer

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

8.28 kB

Total Files

10

Last publish

Collaborators

  • rockyf