GithubHelp home page GithubHelp logo

cinaaaa / pleex Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 417 KB

⚛️ Turning Async Storage to Schematic based

Home Page: https://pleex.gitbook.io/docs

License: MIT License

JavaScript 100.00%
pleex react-native react-native-async-storage async-storage schematics react-native-pleex

pleex's Introduction

pleex

Pleex

💣 " Schematic " ➕ " Storage " 💣 for ⚛️ react native


Built with ❤ Sina Farhadi


Get Started

Installation

install pleex with npm or yarn

npm i pleex

or

yarn add pleex

also pleex don't need any extra configuration or installation with gradle or pods

Want to see example? see youtube tutorial

YOUTUBE

Example Usage

Full example and list of api's can be find in pleex documents
this is example of creating schemas with pleex

import {Pleex} from 'pleex';

const my_collection = Pleex.collection('test');

const my_schema = Pleex.schema({
  name: String,
  age: Number,
});

my_collection.insert(
    {
      name: 'Jack',
      age: 12,
    },
    my_schema,
    (success) => // Success,
    (error) => console.error(error)
);

Tests

you can test source code by

npm test

This package helps you in:

  • Having simple storage

  • Create Schema and use them

  • Type cheking for schemas

  • Async workflow

  • Integrated with async storage

  • Save and use Json objects

  • Built in searching api

🙋‍♂️ Contributing

Find issues or want to add features? see contributing guide

Current api's:

  • Collection

  • Schema

  • Insert

  • removeItem

  • removeItems

  • getItem

  • getItems

  • clearCollection

  • getAll

  • Multiple insert

pleex's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

pleex's Issues

Row to Bit

error accured: Error: Row too big to fit into CursorWindow requiredPos=0, totalRows=1

GetAll() return error

Need help to complete this project

Hello, today's i'm working on Pleex project and wanna make a first production release for it very soon.
main idea of this project is: saving data's in schematic way in react native async storage, too easy :D,
you just need to know Jsx and a little typescript to help us or you can help us develop our documentation on Gitbook.
if you are intrested just comment below.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.