@rahadiana/bssn_stamps_generator

0.0.1 • Public • Published

bssn-stamps-generator

a warper to generate e-signature stamps

enter image description here

Installing

Using npm:

npm i @rahadiana/bssn_stamps_generator

USAGE

const {GenerateStamp} = require("@rahadiana/bssn_stamps_generator");

const  startup = [{
logo:  (URL) / (LOGO_PATH),
jabatan:  "Ini Jabatan",
pangkat:  "INI PANGKAT",
nama:  "INI NAMA",
nip:  123
}]

GenerateStamp(startup).then(console.log)

SUCCESS RESPONE

{"success":true,"code":200,"message":"successfully generate data","data":"data:image/png;base64,iVBORw.."}

FAILED RESPONSE

{"success":false,"code":400,"message":"failed generate data","data":{}}

NOTE

For logo you can using url_logo OR path/to/logo.

Readme

Keywords

none

Package Sidebar

Install

npm i @rahadiana/bssn_stamps_generator

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

18.7 kB

Total Files

9

Last publish

Collaborators

  • rahadiana