Validate your phone's IMEI using the Luhn algorithm! 📱 🔒
Every digital device has a unique identifier. This identifier is the "IMEI" number. One can validate whether this "IMEI" number is valid or not using the Luhn algorithm. This is my implementation of this algorithm in Typescript to check whether a device's "IMEI" number is valid or not.
To find out how to use this module and which APIs this module provides, run the command deno doc --html mod.ts
from the root of this repository.
Any of the functions this module provides can be imported from the following HTTPS URL: https://raw.githubusercontent.com/alyxshang/luhny.ts/main/mod.ts
.
To run the tests this module provides you can use the deno test
commmand. This command has to be run from the root of this repository.
- Initial release.
- Upload to GitHub.
- Luhny.ts 📱 🔒 by Alyx Shang 🖤.
- Licensed under the FSL v1.