package

github.com/Keffin/validator_crystal

main / published May 20, 2021 / repository

validator_crystal

The validator_crystal library is a String validation library. Inspired a lot by the Validator library for NodeJS.
TODO:

  • Implement a bunch of validation methods
  • Implement sanitization methods
  • Write tests instead of just executing test inputs locally

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      validator_crystal:
        github: your-github-user/validator_crystal
  2. Run shards install

Usage

require "validator_crystal"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/validator_crystal/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

API