@noname.team/file-saver
v1.0.2
Published
A file saver
Downloads
1
Readme
File saver
##build script
npm run build
Examples imageSaver
import { ImageSaver } from '@noname.team/file-saver
const saver = new ImageSaver({ targetDir })
await saver.process({
fileName: downloadedFileName,
transformer: '****/img.png',
textOverlays: [{ text: 'test test', size: '16', color: 'white', customFont: '****/font.fnt' }],
textPosition: { x: 55, y: 69 } //or string "north, west, northwest"
})