vue-stringify

0.1.2 • Public • Published

vue-stringify

A helper for JSON.stringify

to install

npm install vue-stringify

to use

import Stringify from 'vue-stringify'

an then you can...

Stringify({ hello: 'World' })

and get

{
  "hello": "world"
}

Stringify.parse(Obj) will JSON.stringify and JSON.parse an Object, it is then cloned, and has no setters / getters so is more easily explored in console.

Stringify.log(Obj) will log to console a JSON.stringified and JSON.parsed Object.

Enjoy.

Readme

Keywords

Package Sidebar

Install

npm i vue-stringify

Weekly Downloads

21

Version

0.1.2

License

ISC

Unpacked Size

1.31 kB

Total Files

3

Last publish

Collaborators

  • rush-t