Skip to content

angeldollface/luhny.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LUHNY.DART 📱 🔒 🎯

GitHub CI

A Dart package to validate IMEI numbers of mobile devices. 📱 🔒 🎯

ABOUT 📚

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. ❤️

LINKS 🌎

  • 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

INSTALLATION 📥

Adding to your project

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

USAGE 🔨

Importing

Import all functions like this:

import 'package:luhny/luhny.dart';

APIs

To inspect the available APIs, read the source code, please. I've split everything by subject so it should be easy to understand.

NOTE 📜

  • Luhny.dart 📱 🔒 🎯 by Alexander Abraham 🖤 a.k.a. "Angel Dollface" 🎎 🎀
  • Licensed under the MIT license.