itype
Improved type check
Last updated 6 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install itype 
SYNC missed versions from official npm registry.

iType License NPM version Dependency Status Build Status Coverage Status

Improved type check.

Install

npm i itype --save

How to use?

const itype = require('itype');

console.og(itype.string('hello'))
// returns
true

console.log(itype('world'));
// returns
'string'

console.log(itype.array([1, 2]));
// returns
true

License

MIT

Current Tags

  • 3.0.1                                ...           latest (6 years ago)

10 Versions

  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.0.4                                ...           6 years ago
  • 2.0.3                                ...           9 years ago
  • 2.0.2                                ...           9 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 4
Last Month 9
Dependencies (0)
None
Dev Dependencies (9)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |