Socket
Socket
Sign inDemoInstall

coreio

Package Overview
Dependencies
96
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    coreio

List and Model framework


Version published
Weekly downloads
1
Maintainers
3
Install size
6.16 MB
Created
Weekly downloads
 

Readme

Source

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)

Keywords

FAQs

Last updated on 25 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc