value-to-type

0.0.1 • Public • Published

Value to Type Build Status

Install

npm install value-to-type

Usage

const valueToType = require('value-to-type');
 
valueToType('unicorns');
//=> 'string'

API

valueToType(value)

input

Type: any

For example:

[{rainbow: 'unicorns'}, {rainbow: 'cats'}]

Output:

[{rainbow: 'string'}]

License

MIT © Herman

Readme

Keywords

none

Package Sidebar

Install

npm i value-to-type

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.53 kB

Total Files

4

Last publish

Collaborators

  • hermanya