Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tiny-api

webbot29ISC0.2.1

a tiny api library

tiny api

readme

tiny-api

a tiny api library for generate api

usage

import {API} from 'tiny-api';

const api=API('role');

/*
the shape of api is {
    create:(record,context)=>{},
    remove:(record,context)=>{},
    update:(id,record,context)=>{},
    list:(page,size,condition,context)=>{},
}
*/