pawn
Version, currently 0.2.112 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
Nothing has been indexed for 0.2.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
pawn:
github: GrottoPress/pawn
version: ~> 0.2.1Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.1. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
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
0.2.1- Tagged
- Aug 10, 2026
- Commit
b094a84a1b76- Indexed
- not yet
Dependents
Repository
github.com/GrottoPress/pawn
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 25, 2026
- Synced
- Sep 25, 2026
- Versions
- 12