honu--validate

0.0.1 • Public • Published

Build Status

Very simple package for consolidating validation rules and error responses.

Simple Example

import * as validate from '@honu/validate';

function testMethod(nonEmptyArgument) {
  validate.string.validateNotNullOrEmpty(nonEmptyArgument);
}

API

  • string
    • validateString
    • validateNotNullOrEmpty
  • func
    • validateFunction
  • errors
    • InputValidationError

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i honu--validate

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • caleb.morris