open-index/open-npm huggingface dataset:
npm package: @srinivas61/request-multiple-urls
Description: A nodeJS module used to fetch an array of URLs which contain JSON data
Author: Srinivasa Rao A
Latest version: 1.0.2

# Request-multiple-urls
[![GitHub issues](https://img.shields.io/github/issues/asrinivas61/request-multiple-urls)](https://github.com/asrinivas61/request-multiple-urls/issues)
[![GitHub forks](https://img.shields.io/github/forks/asrinivas61/request-multiple-urls)](https://github.com/asrinivas61/request-multiple-urls/network)
[![GitHub stars](https://img.shields.io/github/stars/asrinivas61/request-multiple-urls)](https://github.com/asrinivas61/request-multiple-urls/stargazers)
[![GitHub license](https://img.shields.io/github/license/asrinivas61/request-multiple-urls)](https://github.com/asrinivas61/request-multiple-urls/blob/main/LICENSE)

A nodeJS module used to fetch an array of URLs which contain JSON data and returns the response as a Promise Object.

## Installation steps
Run the below command in the terminal in the project you want to use
```console
npm install @srinivas61/request-multiple-urls

```

## To run tests
If you are running this node-module in your local machine and want to run the tests.
```
npm test

```

## Example Usage

``` javascript
const requestMultipleUrls = require('@srinivas61/request-multiple-urls');

const urls = [
    'https://ft-tech-test-example.s3-eu-west-1.amazonaws.com/ftse-fsi.json', 
    'https://ft-tech-test-example.s3-eu-west-1.amazonaws.com/gbp-hkd.json', 
    'https://ft-tech-test-example.s3-eu-west-1.amazonaws.com/gbp-usd.json'
]

const fetchResourceData = () => {
    const data = requestMultipleUrls(urls)
        .then(data => console.log(data))
        .catch(error => console.error(error))
}

fetchResourceData();

```

## Dependencies

### node-fetch

```node-fetch ``` makes use of minimal code for a window.fetch compatible API on Node.js runtime. It uses native Node streams for body, on both request and response. Also, it uses native promise, but allow substituting it with [insert your favorite promise library].

```abort-controller``` An AbortController object has an associated signal (an AbortSignal object).
An AbortSignal object has associated abort algorithms, which is a set of algorithms which are to be executed when its aborted flag is set. Unless specified otherwise, its value is the empty set.

```valid-url``` This module collects common URI validation routines to make input validation, and untainting easier and more readable. All functions return an untainted value if the test passes, and undef if it fails. This means that you should always check for a defined status explicitly. Don't assume the return will be true. The value to test is always the first (and often only) argument. There are a number of other URI validation modules out there as well (see below.) This one focuses on being fast, lightweight, and relatively 'real-world'. i.e. it's good if you want to check user input, and don't need to parse out the URI/URL into chunks. Right now the module focuses on HTTP URIs, since they're arguably the most common. If you have a specialized scheme you'd like to have supported, let me know.
npm package: @srinivas_n/hearty-helper
Description: Hearty helper is a small libraray that gives helper function like number formatter, date formatter, Object check , etc.
Author: “Srinivas
Latest version: 0.1.2
Deprecated: wrongly published and it will be available as npm-number-formatter

# hearty-helper
Hearty helper is a small libraray that gives helper function like number formatter, date formatter, Object check , etc. 






[![Coverage Status](https://coveralls.io/repos/github/SrinivasNarayansetty/hearty-helper/badge.svg)](https://coveralls.io/github/SrinivasNarayansetty/hearty-helper)
npm package: @srinivasanorg/source
Description: <a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
Latest version: 1.0.1

# Srinivasanorg

<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>

✨ **This workspace has been generated by [Nx, Smart Monorepos · Fast CI.](https://nx.dev)** ✨

## Integrate with editors

Enhance your Nx experience by installing [Nx Console](https://nx.dev/nx-console) for your favorite editor. Nx Console
provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and
comes with a LSP for Vim users.

## Nx plugins and code generators

Add Nx plugins to leverage their code generators and automated, inferred tasks.

```
# Add plugin
npx nx add @nx/react

# Use code generator
npx nx generate @nx/react:app demo

# Run development server
npx nx serve demo

# View project details
npx nx show project demo --web
```

Run `npx nx list` to get a list of available plugins and whether they have generators. Then run `npx nx list <plugin-name>` to see what generators are available.

Learn more about [code generators](https://nx.dev/features/generate-code) and [inferred tasks](https://nx.dev/concepts/inferred-tasks) in the docs.

## Running tasks

To execute tasks with Nx use the following syntax:

```
npx nx <target> <project> <...options>
```

You can also run multiple targets:

```
npx nx run-many -t <target1> <target2>
```

..or add `-p` to filter specific projects

```
npx nx run-many -t <target1> <target2> -p <proj1> <proj2>
```

Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/features/run-tasks).

## Set up CI!

Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.

- [Set up remote caching](https://nx.dev/features/share-your-cache)
- [Set up task distribution across multiple machines](https://nx.dev/nx-cloud/features/distribute-task-execution)
- [Learn more how to setup CI](https://nx.dev/recipes/ci)

## Explore the project graph

Run `npx nx graph` to show the graph of the workspace.
It will show tasks that you can run with Nx.

- [Learn more about Exploring the Project Graph](https://nx.dev/core-features/explore-graph)

## Connect with us!

- [Join the community](https://nx.dev/community)
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
- [Follow us on Twitter](https://twitter.com/nxdevtools)