Skip to content

ElijahCode/typer

Repository files navigation

@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 } } },

About

Simple javascript object coverter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published