1.0.0 โ€ข Published 2 years ago

firestored v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

firestored ๐Ÿ”ฅ

An helper library that simplifies Firebase Firestore operations and queries

This library is built on the firebase-admin sdk, thus limiting it to server side usage only.


Features

  • Methods for CRUD operations on Documents and Collections
  • Create and manage references
  • Query, Order and Limit support
  • Create and manage Sub-Collections

Getting Started

Install

npm i firestored or yarn add firestored

Import

import { FirestoreHelper } from "firestored" or const { FirestoreHelper } = require("firestored")

Create Instance

  const catCollection = new FirestoreHelper(firestore, 'cats๐Ÿ˜ผ');
  // firestore => FirebaseFirestore.Firestore object
  // collection => string

Check here for available methods for I am too ~lazy~ busy to write docs at the moment ๐Ÿฆฅ๐Ÿ˜‚

Wohooo๐Ÿš€๐Ÿš€๐Ÿš€


๐Ÿชฒ Report bugs and issues on the git repo

โญ Remember to leave a star on the repository

๐Ÿ’ž Follow me on twitter