{"name":"is-kindof","version":"1.0.0","description":"Thin wrapper around `kind-of` and in bonus functional api.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-kindof.git"},"keywords":["frp","functional","is","is-typeof","kind","kindof","programming","type","typeof","utils"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-kindof/blob/master/license.md"},"dependencies":{"kind-of":"^1.1.0"},"devDependencies":{"istanbul-harmony":"~0.3.1","mocha":"~2.2.1"},"gitHead":"e2c7c0ebf3fc84001b951174c37563ad42a79fdd","bugs":{"url":"https://github.com/tunnckoCore/is-kindof/issues"},"homepage":"https://github.com/tunnckoCore/is-kindof","_id":"is-kindof@1.0.0","_shasum":"84b7637afe2c3f22b7ab4cf10da6ed9071d61b35","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"84b7637afe2c3f22b7ab4cf10da6ed9071d61b35","tarball":"http://registry-npm.ywwl.com/is-kindof/download/is-kindof-1.0.0.tgz","integrity":"sha512-71WMHjTAQ/iP0kGqwxJ0oHJjiB6aYfsJ356C0mv4JS/hrJW04fzHRknIIgNOqpqqfu3YKGIxd3o1zU3cgt0lhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxFeDivFEfMZHeAbYkZf5xM8Z+qQc95LwuIB8T7pbY/QIgVjmVlHG/JR1h4XUymAD0BT3cQ+MBJZzqUG4laS3SFJA="}],"size":6666,"noattachment":false,"key":"/is-kindof/-/is-kindof-1.0.0.tgz"},"directories":{},"readme":"# [is-kindof][author-www-url] [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] [![npm downloads][downloads-img]][downloads-url] \n\n> Check type of given javascript value. Support promises, generators, streams, and native types. Built on [kind-of][] lib.\n\n[![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![dependency status][david-img]][david-url]\n\n## Install\n> Install with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i is-kindof --save\n```\n\n## Usage\n> For more use-cases see the [tests](./test.js)\n\n```js\nvar is = require('is-kindof')\n\nis.array([1, 2]) // => true\nis.boolean(true) // => true\nis.buffer(new Buffer('foo')) // => true\nis.date(new Date()) // => true\nis.error(new Error('foo')) // => true\nis.function(function noop () {}) // => true\nis.generator((function * gen () { yield 42 })()) // => true\nis.generatorfunction(function * genFn () {}) // => true\nis.map(new Map()) // => true\nis.null(null) // => true\nis.number(123) // => true\nis.object({ a: 'b' }) // => true\nis.promise(Promise.resolve(123)) // => true\nis.regexp(new RegExp('aa')) // => true\nis.set(new Set()) // => true\nis.stream(through2()) // => true\nis.string('fooo') // => true\nis.symbol(Symbol()) // => true\nis.undefined(undefined) // => true\nis.weakmap(new WeakMap()) // => true\nis.weakset(new WeakSet()) // => true\n```\n\n## Related\n- [always-done](https://www.npmjs.com/package/always-done): Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100… [more](https://github.com/hybridables/always-done#readme) | [homepage](https://github.com/hybridables/always-done#readme \"Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more\")\n- [is-async-function](https://www.npmjs.com/package/is-async-function): Is function really asynchronous function? Trying to guess that based on check if [common-callback-names][] exists as function arguments names or you can pass your custom. | [homepage](https://github.com/tunnckocore/is-async-function#readme \"Is function really asynchronous function? Trying to guess that based on check if [common-callback-names][] exists as function arguments names or you can pass your custom.\")\n- [is-callback-function](https://www.npmjs.com/package/is-callback-function): Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized… [more](https://github.com/tunnckocore/is-callback-function#readme) | [homepage](https://github.com/tunnckocore/is-callback-function#readme \"Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized, these are default.\")\n- [kind-of-extra](https://www.npmjs.com/package/kind-of-extra): Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors. | [homepage](https://github.com/tunnckocore/kind-of-extra#readme \"Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors.\")\n- [kind-of-types](https://www.npmjs.com/package/kind-of-types): List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc. | [homepage](https://github.com/tunnckocore/kind-of-types#readme \"List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.\")\n- [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of \"Get the native type of a value.\")\n- [minibase](https://www.npmjs.com/package/minibase): MiniBase is minimalist approach to Base - @node-base, the awesome framework. Foundation for building complex APIs with small units called plugins. Works well with most… [more](https://github.com/node-minibase/minibase#readme) | [homepage](https://github.com/node-minibase/minibase#readme \"MiniBase is minimalist approach to Base - @node-base, the awesome framework. Foundation for building complex APIs with small units called plugins. Works well with most of the already existing [base][] plugins.\")\n- [mukla](https://www.npmjs.com/package/mukla): Small, parallel and fast test framework with suppport for async/await, promises, callbacks, streams and observables. Targets and works at node.js v0.10 and above. | [homepage](https://github.com/tunnckocore/mukla#readme \"Small, parallel and fast test framework with suppport for async/await, promises, callbacks, streams and observables. Targets and works at node.js v0.10 and above.\")\n- [to-callback](https://www.npmjs.com/package/to-callback): Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by… [more](https://github.com/tunnckocore/to-callback#readme) | [homepage](https://github.com/tunnckocore/to-callback#readme \"Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.\")\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/is-kindof/issues/new).  \nBut before doing anything, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines.\n\n## [Charlike Make Reagent](http://j.mp/1stW47C) [![new message to charlike][new-message-img]][new-message-url] [![freenode #charlike][freenode-img]][freenode-url]\n\n[![tunnckoCore.tk][author-www-img]][author-www-url] [![keybase tunnckoCore][keybase-img]][keybase-url] [![tunnckoCore npm][author-npm-img]][author-npm-url] [![tunnckoCore twitter][author-twitter-img]][author-twitter-url] [![tunnckoCore github][author-github-img]][author-github-url]\n\n[async-done]: https://github.com/gulpjs/async-done\n[base]: https://github.com/node-base/base\n[common-callback-names]: https://github.com/tunnckocore/common-callback-names\n[kind-of]: https://github.com/jonschlinkert/kind-of\n[rfpify]: https://github.com/samverschueren/rfpify\n\n[npmjs-url]: https://www.npmjs.com/package/is-kindof\n[npmjs-img]: https://img.shields.io/npm/v/is-kindof.svg?label=is-kindof\n\n[license-url]: https://github.com/tunnckoCore/is-kindof/blob/master/LICENSE\n[license-img]: https://img.shields.io/npm/l/is-kindof.svg\n\n[downloads-url]: https://www.npmjs.com/package/is-kindof\n[downloads-img]: https://img.shields.io/npm/dm/is-kindof.svg\n\n[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/is-kindof\n[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/is-kindof.svg\n\n[travis-url]: https://travis-ci.org/tunnckoCore/is-kindof\n[travis-img]: https://img.shields.io/travis/tunnckoCore/is-kindof/master.svg\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/is-kindof\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/is-kindof.svg\n\n[david-url]: https://david-dm.org/tunnckoCore/is-kindof\n[david-img]: https://img.shields.io/david/tunnckoCore/is-kindof.svg\n\n[standard-url]: https://github.com/feross/standard\n[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n\n[author-www-url]: http://www.tunnckocore.tk\n[author-www-img]: https://img.shields.io/badge/www-tunnckocore.tk-fe7d37.svg\n\n[keybase-url]: https://keybase.io/tunnckocore\n[keybase-img]: https://img.shields.io/badge/keybase-tunnckocore-8a7967.svg\n\n[author-npm-url]: https://www.npmjs.com/~tunnckocore\n[author-npm-img]: https://img.shields.io/badge/npm-~tunnckocore-cb3837.svg\n\n[author-twitter-url]: https://twitter.com/tunnckoCore\n[author-twitter-img]: https://img.shields.io/badge/twitter-@tunnckoCore-55acee.svg\n\n[author-github-url]: https://github.com/tunnckoCore\n[author-github-img]: https://img.shields.io/badge/github-@tunnckoCore-4183c4.svg\n\n[freenode-url]: http://webchat.freenode.net/?channels=charlike\n[freenode-img]: https://img.shields.io/badge/freenode-%23charlike-5654a4.svg\n\n[new-message-url]: https://github.com/tunnckoCore/ama\n[new-message-img]: https://img.shields.io/badge/ask%20me-anything-green.svg\n\n","publish_time":1427321572243,"_cnpm_publish_time":1427321572243,"dist-tags":{"latest":"3.0.1"}}