luhncheck

Implementation of Luhn algorithm in nim.

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version 0.1.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-26 06:47

Authors

  • sillibird

Installation

nimble install luhncheck
choosenim install luhncheck
git clone https://github.com/sillibird/luhncheck

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
luhncheck - - - - - - -

Dependencies

Package Version Optional
nim >= 0.19.4 No

Source

Repository https://github.com/sillibird/luhncheck
Homepage https://github.com/sillibird/luhncheck
Documentation View Documentation
Registry Source nimble_official

README

luhncheck

Implementation of Luhn algorithm in nim.

Usage

Install the package with nimble

nimble install luhncheck

Example Usage

Validating a cards checksum

if validate(356938035643809):
    echo "Cards checksum appears to be valid"

License

MIT