sheet-packer
v1.0.3
Published
pack images to sheets
Downloads
4
Readme
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',
});
})();