Skip to content

miyapub/jsonhelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonhelper

select json easy

install

npm install jsonhelper

how to use ?

  1. reuire :
var JsonHelper=require('jsonhelper');

2):codeing here:

var array=JsonHelper.set(
    {
        books:[
            {
                name:'tom and jerry'
            },
            {
                name:'who is the king'
            },
            {
                name:'haha'
            }
        ]
    }
).select("name").join(
    {
        a:[
            1,2,3
        ],
        b:{
            c:[4,5,6]
        }
    }
).toArray();

test

npm test

About

select json easy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published