This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

type-of-extra

1.5.0 • Public • Published

type-of-extra

https://www.npmjs.com/package/type-of-extra

About

A set of additional functionalities for typeof that differentiates between types within primatives, built using typescript.

e.g.

// typeof
console.log( typeof([1,2]) ); //'object'

//typeOf
console.log( typeOf([1,2]) ); //'array'

Installation

$ npm install --save type-of-extra

Usage

var typeOf = require('type-of-extra').typeOf;

console.log(typeOf('foo'));  //'string'
console.log(typeOf([1,2,4]); //'array'

Build

npm run build

Test

npm test

Readme

Keywords

Package Sidebar

Install

npm i type-of-extra

Weekly Downloads

1

Version

1.5.0

License

ISC

Last publish

Collaborators

  • davidbebb