Simple JavaScript Library to convert non-Latin digits to Latin digits. (Currently only Persian is supported )
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
npm install latinizer.js --save
<input type="text" name="age" id="age" placeholder="Age...">
<script type="module">
import {
Latinizer
} from '/dist/latinizer.js'
Latinizer.Register("#age");
Latinizer.Register("#month");
</script>
npm install
npm test
- @types/chai: TypeScript definitions for chai
- @types/mocha: TypeScript definitions for mocha
- chai: BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
- mocha: simple, flexible, fun test framework
- ts-node: TypeScript execution environment and REPL for node.js, with source map support
- typescript: TypeScript is a language for application scale JavaScript development
None
MIT License
- Write specs/tests
- Publish to NPM registry
- Review dependencies
- Add support for digits in other languages/scripts