randomstatus

1.0.1 • Public • Published

##modulo de prueba

Este modulo devuelve un código de estado de respuesta HTTP aleatorio usando ecma

Estados disponibles: "200 Ok" "400 Bad Request" "403 Forbidden" "404 Not Found" "408 Request Timeout" "429 Too Many Request" "500 Internal Server Error" "502 Bad Gateway" "521 Web Server Down"

instalacion:

$npm install randomstatus

uso del modulo:

const randomstatus=require('randomstatus');

let estado=randomstatus.obtenerEstado();

/randomstatus/

    Package Sidebar

    Install

    npm i randomstatus

    Weekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    1.13 kB

    Total Files

    3

    Last publish

    Collaborators

    • dan-esq