tiny-api
v0.2.1
Published
a tiny api library
Downloads
4
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)=>{},
}
*/