1.0.1 • Published 9 years ago

minic v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

minic

Minimal JSONIC, except:

  • Colons are removed from single character attributes
  • Leading and trailing {} are removed

Installation

This module is installed via npm:

npm i minic --save

Examples

var minic = require('minic')
var data  = {a:'day', i: 'live', as:'myself'};
var small = minic.stringify(data) // aday,ilive,as:myself
data = minic.parse(small); // {"a":"day","i":"live","as":"myself"}

Rights

Copyright (C) 2015 by yieme, License: MIT