client-crud
v2.0.5
Published
HTTP/2 CRUD client
Downloads
62
Readme
HTTP/2 CRUD client
HTTPS requests.
npm i client-crud
API
Methods:
- get
- post
- put
- patch
- delete
Method parameters:
- Request options similar to https.request.
- JSON to be sent (optional).
Example
import { get } from 'client-crud';
const options = {
hostname: 'yzr7679ckh.execute-api.eu-west-1.amazonaws.com',
path: '/test',
};
const data = await get(options);
dev
npm run
Deploy
npm run build
npm run deploy