Skip to content

javascriptdb/jsdb-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

npm i @jsdb/sdk

Import into your code

import {functions, DatabaseArray, DatabaseMap, setServerUrl} from "@jsdb/sdk";
setServerUrl(SERVER_URL);

Save data

const posts = new DatabaseArray('posts');
await posts.push({status: 'PUBLISHED', content: 'JSDB is awesome!', createdDate: new Date()});

Check the docs: https://javascriptdb.com/docs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published