Iranian Bill Detector
bill.js exposes a simple API for detect bill information.
Features
- Detect Bill information by
bill Id
andbill Payment
- Detect Bill information by
bill Barcode
Usage
- Import This package into you'r project
// ES6; // RequireJSvar billify = ; // Define;
Callback functions
// set bill id in prototype function of billifybillify // set bill payment in prototype function of billifybillify // set billId and billPaymentId in constructor of billify; // set configbillify; // If You want to find Bill Information from Barcode, you can use this fuature// bill set Barcode with 26 lengthbillify;// and use this prototype for find and get bill informationbillify; // bill get amountbillify; // bill get typebillify; // bill get Barcodebillify; // verification Bill Id// return true or falsebillify; // verification Bill Payment// return true or falsebillify; // verification bill[id and payment]billify; // get all data of bill// return objectbillify;
Installation
Method One:
Download and extract the latest pre-built release.
Just grab billify.min.js and include them with a script tag.
<script src="billify.min.js"></script><script> // set billId and billPaymentId in prototype functions of billify var bill = ; bill; bill; var billResult = bill; // set billId and billPaymentId in constructor of billify var bill = 8887858300146 51350244; var billResult = bill;</script>
Method Two:
installation with NPM
$ npm install billify
Contributors & Forks
Contributors: https://github.com/ali-master/billify/graphs/contributors
Forks: https://github.com/ali-master/billify/network/members
You can try out the Node package online at tonicdev