json-to-datatype
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

JSON to Datatype

Simple function which takes a JSON object or JSON-formatted string and returns an object with sensible datatypes.

Includes type definitions.

Installation

npm install json-to-datatype

Usage

Javascript

const jsonToDatatype = require('json-to-datatype').jsonToDatatype;

Typescript

import { jsonToDatatype } from 'json-to-datatype';

Conversions

  • Numbers
  • Booleans
  • Dates

Links

npm

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.50latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.10
1.0.00

Package Sidebar

Install

npm i json-to-datatype

Weekly Downloads

0

Version

1.1.5

License

MIT

Unpacked Size

4.15 kB

Total Files

5

Last publish

Collaborators

  • miso440