1.0.0 • Published 6 months ago

https-status-code v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

De UseStatusResponse functie accepteert twee parameters: statusCode en data. Deze functie wordt gebruikt om een beschrijving te maken van de statusresponse.

Parameters

  • statusCode: Het statuscode van de response.
  • data: De gegevens van de respons.

Returnwaarde

De functie retourneert een beschrijving van de statusresponse.

Voorbeeldgebruik

import UseStatusResponse from "https-status-code"
const data = UseStatusResponse(200, { name: "jane doe"});

Installatie

Gebruik de volgende commando's om de package te installeren: npm install https-status-code

1.0.0

6 months ago