@wize/rest-source
v1.0.3
Published
Wizni Rest Source
Downloads
4
Readme
##REST SOURCE @wize/rest-source
##Description
Create source files for rest objects
##Usage
###Installation
npm install --save @wize/rest-source
###Initialize
import {generateRestSource} from '@wize/rest-source'
.
.
.
/*
data: This is the only parameter which have to pass generateRestSource function.
data:{
url:"",
method: "",
name:"",
model:"",
options:{
params:{},
headers:{}
}
}
*/
generateRestSource(data);
##Test
npm run test
##License MIT License