pawn
Version, currently 2.0.212 versions
- 2.0.2latestJun 27, 2025
- 2.0.1not indexedAug 10, 2026
- 2.0.0not indexedAug 10, 2026
- 1.0.3not indexedAug 10, 2026
- 1.0.2not indexedAug 10, 2026
- 1.0.1not indexedAug 10, 2026
- 1.0.0not indexedAug 10, 2026
- 0.2.1not indexedAug 10, 2026
- 0.2.0not indexedAug 10, 2026
- 0.1.2not indexedAug 10, 2026
- 0.1.1not indexedAug 10, 2026
- 0.1.0not indexedAug 10, 2026
github.com/GrottoPress/pawn
A low-level API client for Pwned Passwords
7 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
pawn:
github: GrottoPress/pawn
version: ~> 2.0.2Then run:
shards installshard.yml
- Crystal
~> 1.3- License
- MIT
- Authors
- GrottoPress, N Atta Kusi Adusei
Dependencies
Development Dependencies
README
Pawn
Pawn is a low-level API client for Pwned Passwords.
Installation
-
Add the dependency to your
shard.yml:dependencies: pawn: github: GrottoPress/pawn -
Run
shards update -
Require Pawn in your app/library:
# ... require "pawn" # ...
Usage
-
Check if a password appears in any breach:
Pawn.pwned?("password") # <= true -
Find how many times a password appears in breaches:
Pawn.count("password") # <= 3861493
Either method accepts an optional padding, a Bool argument that sends a Add-Padding header along with the request to Pwned Passwords API.
Development
Run tests with crystal spec.
Contributing
- Fork it
- Switch to the
masterbranch:git checkout master - Create your feature branch:
git checkout -b my-new-feature - Make your changes, updating changelog and documentation as appropriate.
- Commit your changes:
git commit - Push to the branch:
git push origin my-new-feature - Submit a new Pull Request against the
GrottoPress:masterbranch.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
2.0.2- Tagged
- Jun 27, 2025
- Commit
dfb1525c5e1d- Crystal
~> 1.3- Indexed
- yes
Dependents
Repository
github.com/GrottoPress/pawn
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 25, 2026
- Synced
- Sep 25, 2026
- Versions
- 12