1.3.1 • Published 3 years ago

mtjsontools v1.3.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Welcome To mtjsontools!

===

What does mtjsontools do? mtjsontools is an easy to use JSON helper, it can read / query / write json files.

===

How to install

Just run:

npm i mtjsontools

Example Usages

const JsonTools = require('mtjsontools')

// you need to specify the name of the json file, it needs to be at the top directory same as package.json

const jt = new JsonTools({ fileName: 'test.json' })

// you could write any data you want 

jt.write({ name: 'test' })

// for reading all the file

jt.read()

// for querying data

jt.read({ query: 'YOUR_QUERY' })

Thank you!

1.3.1

3 years ago

1.3.0

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago