coreio

0.8.3 • Public • Published

CoreIO

CoreIO is a data model framework for backend and frontend.

Usage

CoreIO knows models and lists. Lists are simply collections of models. Each model represents a dataset.

import CoreIO from 'coreio'

const myModel = new CoreIO.Model('mymodel')

// store data in a model
myModel.set({
  title: 'Test item',
  description: 'Some test content...'
})

// get all data from a model
const data = myModel.get()

// get a specific dataset
const title = myModel.get('title')

Model

class Model(obj options)

List

class List (obj options)

Package Sidebar

Install

npm i coreio

Weekly Downloads

6

Version

0.8.3

License

MIT

Unpacked Size

96.7 kB

Total Files

25

Last publish

Collaborators

  • andifeind
  • kippis
  • firetux