1.0.2 • Published 7 years ago

verify-bangla-digit v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

verify-bangla-digit

npm license github-issues Circle CI build status

Javascript package for verifying Bangla digit

nodei.co

travis-status stars forks

forks

npm.io npm.io

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

PackageVersionDev
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