fndb
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

FnDB – The React Native Document database/ORM

FnDB is an open-source document database and ORM for React Native.

FnDB was created to help react native developers build offline first applications.

Using FnDB

  import { createModel } from "fndb";

  const User = createModel("User", {
    name: String,
    age: Number,
    admin: Boolean
  });

  const id = await User.newDoc({
    name: "duder",
    age: 21,
    admin: true
  });

  const { name, age, admin } = await User.getDoc(id);

  await User.updateDoc(id, {
    admin: false
  });

Contributing

We're always looking for new contributors!

Readme

Keywords

none

Package Sidebar

Install

npm i fndb

Weekly Downloads

13

Version

0.0.5

License

MIT

Unpacked Size

21.6 kB

Total Files

35

Last publish

Collaborators

  • euklidian-space