otype

1.0.0 • Public • Published

otype

Travis (.com) codecov coverage npm semantic-release

Motivation

Reuse

Installation

$ npm install --save otype

Usage

const otype = require("otype");
 
console.log(otype(1)); // Outputs: "Number"
console.log(otype(Null)); // Outputs: "Null"
console.log(otype()); // Outputs: "Undefined"
console.log(otype("a", true, Symbol("sym"))); // Outputs: ["String", "Boolean", "Symbol"]

License

MIT © wmik

Readme

Keywords

Package Sidebar

Install

npm i otype

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

3.55 kB

Total Files

4

Last publish

Collaborators

  • wmik