1.0.0 • Published 1 year ago

@elijahcode/typer v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@elijahcode/typer

"Converted object which have stringifaed values in their properties in regular objects

Installation

$ npm i -S @elijahcode/typer

Usage

typer(original)

Typer will return you object with properties in keys, whish was convert from original

import { typer } from "@elijahcode/typer";
typer({
  a: {
    b: "string",
  },
  b: {
    c: "false",
  },
  c: { d: { e: { c: "undefined" } } },
});
// a: {
//   b: "string",
// },
// b: {
//   c: false,
// },
// c: { d: { e: { c: undefined } } },