enhance javascript typeof
This module is installed via npm:
$ npm install simple-type
var simpleType = require('simple-type');
simpleType([1,2,3]) === 'array' // true
simpleType({name: 'ruan', age: 12}) === 'object' //true
simpleType(new Date()) === 'date' // true
//string, number, null, function, regexp, boolean, undefined are also supported