kind

A node.js type detection and comparison library

npm install kind
8 downloads in the last month

kind

A node.js type detection and comparison library

kind.is - compares item with string or constructor
kind.of - returns a string representation of type
kind.ctor - return constructor representation of type
kind.equal - determines if two items have the same type
npm loves you