1.0.1 • Published 6 years ago

add-text-to-image v1.0.1

Weekly downloads
43
License
MIT
Repository
github
Last release
6 years ago

Write text to image

Because why not

npm install add-text-to-image --save

Returns an promise which has the file buffer

example/example.js

writeText({path: file, text: text})
  .then(function(result) {
    console.log('result', result);
    fs.writeFile('./tmp/F5lPa5p.jpg', result);
  })
  .fail(function(err) {
    console.log('error', err);
  });
1.0.1

6 years ago

1.0.0

8 years ago