kind-of
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -19,4 +19,8 @@ 'use strict'; | ||
if (typeof value !== 'object') { | ||
return typeof value; | ||
} | ||
return {}.toString.call(value).toLowerCase() | ||
.replace(/^\[object ([\S]+)\]$/, '$1'); | ||
.replace(/^\[object (\S+)\]$/, '$1'); | ||
}; |
{ | ||
"name": "kind-of", | ||
"description": "Get the native type of a value.", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/jonschlinkert/kind-of", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -85,8 +85,8 @@ # kind-of [![NPM version](https://badge.fury.io/js/kind-of.svg)](http://badge.fury.io/js/kind-of) | ||
**Jon Schlinkert** | ||
+ [github/jonschlinkert](https://github.com/jonschlinkert) | ||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
## License | ||
Copyright (c) 2014 Jon Schlinkert, contributors. | ||
Copyright (c) 2014 Jon Schlinkert, contributors. | ||
Released under the MIT license | ||
@@ -96,2 +96,2 @@ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 26, 2014._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 23, 2014._ |
8122
87