Miss any of our Open RFC calls?Watch the recordings here! »

verify-bangla-digit

1.0.2 • Public • Published

verify-bangla-digit

npm license github-issues Circle CI build status

Javascript package for verifying Bangla digit

nodei.co

travis-status stars forks

forks

Features

npm Install

npm install --save verify-bangla-digit

Browser Install

For Production Script Tag

<script src="https://cdn.rawgit.com/Prosen-Ghosh/verify-bangla-digit/2e4108c3/verify-bangla-digit.js"></script>

For Development Script Tag

<script src="https://rawgit.com/Prosen-Ghosh/verify-bangla-digit/master/verify-bangla-digit.js"></script>

Development Dependencies

Package Version Dev
chai ^4.1.2
node-readme ^0.1.9
mocha ^3.5.3

Usage

const verifyDigit = require('verify-bangla-digit');
 
verifyDigit("১২৩৪৫৬৭৮৯০");
//=> true
 
 
verifyDigit("");
//=> false
 
verifyDigit("১২৩৪৫৬৭৮৯০a");
//=> false
 
 
//<input type="text" value="১২" id="digit">
verifyDigit(document.getElementById('digit').value);
//=> true

Author

Prosen Ghosh prosenghosh25@gmail.com

License

Install

npm i verify-bangla-digit

DownloadsWeekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • avatar