Socket
Socket
Sign inDemoInstall

annois

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    annois

Generative type checkers for JavaScript


Version published
Weekly downloads
2.4K
increased by13.12%
Maintainers
1
Install size
6.91 kB
Created
Weekly downloads
 

Readme

Source

build status

annois - Type checkers for JavaScript

annois provides an alternative to is.js. Its API is compatible with generators.js. This can be handy for generative testing.

Usage:

var is = require('annois');


// type comparisons
is.object(...);
is.array(...);
is.boolean(...);

// additional comparisons
is.upperCharacter(...);
is.object.with(['name', 'age'], ...);

// see source for more or introspect the library

License

annois is available under MIT. See LICENSE for more details.

Keywords

FAQs

Last updated on 17 Feb 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc