@jsdb/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.36 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @jsdb/sdk

Weekly Downloads

3

Version

0.0.36

License

MIT

Unpacked Size

206 kB

Total Files

9

Last publish

Collaborators

  • jpcapdevila