annois
Generative type checkers for JavaScript
Last updated 6 years ago by bebraw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install annois 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.3.2                                ...           latest (6 years ago)

4 Versions

  • 0.3.2                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.3.0                                ...           8 years ago
  • 0.2.0                                ...           8 years ago

Copyright 2014 - 2017 © taobao.org |