Skip to content

RUSHt/vue-stringify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A helper for JSON.stringify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published