Nonviolent Pigeon Manifestation

    bad_channel

    1.0.3 • Public • Published

    bad_channel

    Debugging tool to breakdown requests being sent from client to server.

    build

    Express: 4 Node: v16


    Usage

    // import
    const bad_channel = require('bad_channel');
    
    // middleware usage
    app.use(bad_channel({ req: true }));

    Options

    req: true

    //outputs
    {
      protocol: 'http',
      secure: false,
      ip: '::1',
      method: 'GET',
      route: undefined,
      hostname: 'localhost',
      baseUrl: '',
      path: '/',
      param: {},
      query: {},
      cookies: undefined,
      signedCookies: undefined,
      stale: true,
      body: undefined
    }

    res: coming soon

    version: 1.0.3

    Install

    npm i bad_channel

    DownloadsWeekly Downloads

    7

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.57 kB

    Total Files

    7

    Last publish

    Collaborators

    • badappsdev