Skip to content

ngnjs/ngnx-data-proxy-jsonfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGNX.DATA.JsonFileProxy

npm i ngnx-data-proxy-jsonfile

require('ngnx-data-proxy-jsonfile')

const Person = new NGN.DATA.Model({
  fields: {
    firstname: null,
    lastname: null
  },

  proxy: new NGNX.DATA.JsonFileProxy('./mydb.json')
})

The JSON file proxy is used to perform CRUD operations from an NGN.DATA.Store and/or NGN.DATA.Model.

About

A proxy for saving and fetching data from a local JSON file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published