New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

honu--validate

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

honu--validate

Very simple validation package

0.0.1
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

validation

FAQs

Package last updated on 13 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts