0.2.1 • Published 7 years ago
tiny-api v0.2.1
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)=>{},
}
*/