open-index/open-npm huggingface dataset:
npm package: @luigisamurai/request-options
Description: Help to configure the request parameters and to send HTTP request with the configured parameters.
Author: Luis Alberto Bolaños Salazar
Latest version: 2.0.0-4

# REQUEST-PARAMETERS

Help to configure the request parameters and to send HTTP request with the configured parameters.

## Pre requirements

- NodeJs 6 or bigger

## Install

```sh
npm install --save @luigisamurai/request-parameters
```

## Use

```javascript
const RequestParameters = require('@luigisamurai/request-parameters');

const request = new RequestParameters.Request();

// request-promises options
const setting = {
  resolveWithFullResponse: true,
  simple: false
};

// set the common parameters
request.setParameters({
  baseUrl: 'http://www.google.com',
  setting
});

// Get request with request-parameter dependency
const getPromise = request.send({
  method: 'get',
  urlParams: { homeId: 1 },
  queryParams: { offset: 0, limit: 100 },
  uri: '/home/{homeId}'
});

// Also can use async - await to wait the promises
getPromise.then((response) => {
  const statusCode = response.statusCode;
  const body = response.body;

  console.log(statusCode, ' ', body);
});

// Post request with request-parameter dependency
const postPromise = request.send({
  method: 'post',
  headers: { 'Content-Type': 'application/json' },
  uri: '/home',
  body: { name: 'home view' }
});

postPromise.then((response) => {
  const statusCode = response.statusCode;
  const body = response.body;

  console.log(statusCode, ' ', body);
});

// Note the URIs don't exist so the request return 404 status code.
```

## Parameters configuration

You can specify the following parameters

- baseUrl?: string
- uri?: string
- method?: string
- headers?: any
- urlParams?: any
- queryParams?: any
- body?: any
- form?: any
- formData?: any
- setting?: Setting

### Settings

- resolveWithFullResponse?: boolean
- simple?: boolean
- transform?: () => any
- agent?: boolean
- port?: number
- rejectUnauthorized?: boolean
- requestCert?: boolean

## References

- [request-promises](https://www.npmjs.com/package/request-promise)
npm package: @luigisamurai/request-parameters
Description: Help to configure the request parameters and to send HTTP request with the configured parameters.
Author: Luis Alberto Bolaños Salazar
Latest version: 2.0.0-0

# REQUEST-PARAMETERS

Help to configure the request parameters and to send HTTP request with the configured parameters.

## Pre requirements

- NodeJs 6 or bigger

## Install

```sh
npm install --save @luigisamurai/request-parameters
```

## Use

```javascript
const RequestParameters = require('@luigisamurai/request-parameters');

const request = new RequestParameters.Request();

// request-promises options
const setting = {
  resolveWithFullResponse: true,
  simple: false
};

// set the common parameters
request.setParameters({
  baseUrl: 'http://www.google.com',
  setting
});

// Get request with request-parameter dependency
const getPromise = request.send({
  method: 'get',
  urlParams: { homeId: 1 },
  queryParams: { offset: 0, limit: 100 },
  uri: '/home/{homeId}'
});

// Also can use async - await to wait the promises
getPromise.then((response) => {
  const statusCode = response.statusCode;
  const body = response.body;

  console.log(statusCode, ' ', body);
});

// Post request with request-parameter dependency
const postPromise = request.send({
  method: 'post',
  headers: { 'Content-Type': 'application/json' },
  uri: '/home',
  body: { name: 'home view' }
});

postPromise.then((response) => {
  const statusCode = response.statusCode;
  const body = response.body;

  console.log(statusCode, ' ', body);
});

// Note the URIs don't exist so the request return 404 status code.
```

## Parameters configuration

You can specify the following parameters

- baseUrl?: string
- uri?: string
- method?: string
- headers?: any
- urlParams?: any
- queryParams?: any
- body?: any
- form?: any
- formData?: any
- setting?: Setting

### Settings

- resolveWithFullResponse?: boolean
- simple?: boolean
- transform?: () => any
- agent?: boolean
- port?: number
- rejectUnauthorized?: boolean
- requestCert?: boolean

## References

- [request-promises](https://www.npmjs.com/package/request-promise)
npm package: @luis-neira/dockdash
Description: CLI to measure Docker service startup performance
Author: Luis Neira
Latest version: 1.0.8

# DockDash

**DockDash** is a CLI tool to measure the startup performance of a Dockerized service. It monitors server readiness, measures page load metrics, and presents results in a clean table.

## Features

- Start Docker services via `docker compose`.
- Poll server readiness (HTTP status) with automatic retries.
- Measure page load metrics using Puppeteer:
  - DOMContentLoaded
  - Full page load (`window.load`)
- Verbose logging option for detailed output.
- Results displayed in a formatted table.

## Installation

```bash
npm install -g @luis-neira/dockdash
```

## Notes

- The tool uses Puppeteer for page load metrics.
- Server readiness checks use undici (native HTTP/HTTPS requests).
- Supports self-signed HTTPS certificates with automatic bypass.
- Verbose mode prints each attempt and Puppeteer actions.
- All metrics are aggregated and printed in a table using cli-table3.
npm package: @luis-neira/perfdash
Description: CLI to measure startup & page performance for a service started by a command
Author: Luis Neira
Latest version: 1.1.0

# PerfDash

**PerfDash** is a CLI tool to monitor the startup performance of any command (e.g., a local dev server). It runs your command concurrently while:

- Polling a specified URL for server readiness.
- Measuring page load metrics with Puppeteer.
- Displaying results in a clean, tabular format.

## Features

- Run any command (`--cmd`) concurrently with performance measurements.
- Poll server readiness (HTTP status) with automatic retries.
- Measure page load metrics using Puppeteer:
  - DOMContentLoaded
  - Full page load (`window.load`)
- Verbose logging option for detailed output.
- Results are displayed in a formatted table.
- Built with ESM Node.js and modern async/await patterns.

## Installation

```bash
npm install -g @luis-neira/perfdash
```

## Notes

- The tool prefixes logs from your command (--cmd) so you can distinguish them from PerfDash logs.
- Server readiness polling uses undici.
- Page load metrics are collected using Puppeteer.
- Supports verbose mode for detailed attempt logs and page load events.
- The CLI ensures that the child process is terminated if PerfDash exits.