A Dart package to validate IMEI numbers of mobile devices. 📱 🔒 🎯
I implemented some libraries to validate IMEI numbers using the Luhn algorithm in Javascript and Rust recently. This implementation is the Dart implementation of the Luhn algorithm. Enjoy. ❤️
- Library implementation in ECMA Script: VIEW
- Library implementation in Rust: VIEW
- Web app implementation in Vue.js: VIEW
- Web app implementation in Yew.rs: VIEW
To add Harpo to your project's dependencies, add this to your project's pubspec.yml
:
dependencies:
...
luhny:
git: git://github.com/angeldollface/luhny.dart.git
The three dots represent anything else that you might have in the dependencies
section.
Having done that, re-fetch your project's dependencies by running this in the project's root directory:
$ dart pub get
Import all functions like this:
import 'package:luhny/luhny.dart';
To inspect the available APIs, read the source code, please. I've split everything by subject so it should be easy to understand.
- Luhny.dart 📱 🔒 🎯 by Alexander Abraham 🖤 a.k.a. "Angel Dollface" 🎎 🎀
- Licensed under the MIT license.