pretson

1.0.7-min3 • Public • Published

Pretson

const p = require("pretson");
 
// Prettify JSON
p.json({ 1: "one", 2: "two" });
 
// Prettify JSON string
p.string(`{"1":"one","2":"two"}`);
 
// {
//    "1": "one",
//    "2": "two"
// }

Readme

Keywords

none

Package Sidebar

Install

npm i pretson

Weekly Downloads

3

Version

1.0.7-min3

License

none

Unpacked Size

500 B

Total Files

3

Last publish

Collaborators

  • josefleventon