client-crud
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i client-crud

Weekly Downloads

3

Version

2.0.5

License

MIT

Unpacked Size

7.05 kB

Total Files

10

Last publish

Collaborators

  • webjay