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
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)
);
you can test source code by
npm test
Find issues or want to add features? see contributing guide