open-index/open-npm huggingface dataset:
npm package: @jinoantony/express-route-group
Description: A package to add route groups and group specific middlewares in express
Author: Jino Antony
Latest version: 1.0.1

# Express route group

This package enables you to create route groups and assign middlewares to those groups.

## Install

```shell
npm install @jinoantony/express-route-group
```

## Usage

```js
const express = require('express')
require('@jinoantony/express-route-group')(express.Router)
const router = express.Router()

...

router.group({middleware: [isAuthenticated]}, function(router) {
    router.get('/', UserController.get)
})

```

You can also add prefix for your groups.

```js
router.group(
    {
        middleware: [isAuthenticated, csrf],
        prefix: '/users'
    }, 
    function(router) {
        router.get('/', UserController.get)
    }
)
```

Routes defined outside the groups are not affected by the `prefix` and `middleware` specified in the group.
npm package: @jinpag/sama-pipe-pkg
Description: Sama filter
Author: jinpag
Latest version: 0.1.3

# SamaPipePkg

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.1.2.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @jinphen/download1
Description: Download and extract files
Author: Kevin Mårtensson
Latest version: 7.1.1

# download [![Build Status](https://travis-ci.org/kevva/download.svg?branch=master)](https://travis-ci.org/kevva/download)

> Download and extract files

*See [download-cli](https://github.com/kevva/download-cli) for the command-line version.*


## Install

```
$ npm install download
```


## Usage

```js
const fs = require('fs');
const download = require('download');

download('http://unicorn.com/foo.jpg', 'dist').then(() => {
	console.log('done!');
});

download('http://unicorn.com/foo.jpg').then(data => {
	fs.writeFileSync('dist/foo.jpg', data);
});

download('unicorn.com/foo.jpg').pipe(fs.createWriteStream('dist/foo.jpg'));

Promise.all([
	'unicorn.com/foo.jpg',
	'cats.com/dancing.gif'
].map(x => download(x, 'dist'))).then(() => {
	console.log('files downloaded!');
});
```


## API

### download(url, [destination], [options])

Returns both a `Promise<Buffer>` and a [Duplex stream](https://nodejs.org/api/stream.html#stream_class_stream_duplex) with [additional events](https://github.com/sindresorhus/got#streams-1).

#### url

Type: `string`

URL to download.

#### destination

Type: `string`

Path to where your file will be written.

#### options

Type: `Object`

Same options as [`got`](https://github.com/sindresorhus/got#options) and [`decompress`](https://github.com/kevva/decompress#options) in addition to the ones below.

##### extract

Type: `boolean`<br>
Default: `false`

If set to `true`, try extracting the file using [`decompress`](https://github.com/kevva/decompress).

##### filename

Type: `string`

Name of the saved file.

##### proxy

Type: `string`

Proxy endpoint.


## License

MIT © [Kevin Mårtensson](https://github.com/kevva)
npm package: @jinphen/download2
Description: Download and extract files
Author: Kevin Mårtensson
Latest version: 7.1.2

# download [![Build Status](https://travis-ci.org/kevva/download.svg?branch=master)](https://travis-ci.org/kevva/download)

> Download and extract files
> fork from [download](https://github.com/kevva/download) , but make some changes
> 1. decodeURIComponent content-disposition filename
> 2. download().then( `data` => {}),  data is an object, { data, filename }

*See [download-cli](https://github.com/kevva/download-cli) for the command-line version.*


## Install

```
$ npm install @jinphen/download2
```


## Usage

```js
const fs = require('fs');
const download = require('download');

download('http://unicorn.com/foo.jpg', 'dist').then(() => {
	console.log('done!');
});

download('http://unicorn.com/foo.jpg').then({ data, filename } => {
	fs.writeFileSync(`dist/${filename}`, data);
});

download('unicorn.com/foo.jpg').pipe(fs.createWriteStream('dist/foo.jpg'));

Promise.all([
	'unicorn.com/foo.jpg',
	'cats.com/dancing.gif'
].map(x => download(x, 'dist'))).then(() => {
	console.log('files downloaded!');
});
```


## API

### download(url, [destination], [options])

Returns both a `Promise<Buffer>` and a [Duplex stream](https://nodejs.org/api/stream.html#stream_class_stream_duplex) with [additional events](https://github.com/sindresorhus/got#streams-1).

#### url

Type: `string`

URL to download.

#### destination

Type: `string`

Path to where your file will be written.

#### options

Type: `Object`

Same options as [`got`](https://github.com/sindresorhus/got#options) and [`decompress`](https://github.com/kevva/decompress#options) in addition to the ones below.

##### extract

Type: `boolean`<br>
Default: `false`

If set to `true`, try extracting the file using [`decompress`](https://github.com/kevva/decompress).

##### filename

Type: `string`

Name of the saved file.

##### proxy

Type: `string`

Proxy endpoint.


## License

MIT © [Kevin Mårtensson](https://github.com/kevva)
npm package: @jinpy666/bull-monitor-cli
Description: cli for bull-monitor
Author: Ilya Strus
Latest version: 5.0.2

# @bull-monitor/cli

Command line interface for [bull-monitor](https://github.com/s-r-x/bull-monitor)

## Installation

```sh
npm i -g @bull-monitor/cli
```

## Usage

```sh
Usage: bull-monitor -q queue1 queue2

Options:
  --redis-uri <uri>            redis uri (default: "redis://localhost:6379")
  -q, --queue <queues...>      queue names
  --bullmq                     use bullmq instead of bull
  --prefix <string>            bull prefix (default: "bull")
  -p, --port <number>          server's port (default: "3000")
  --host <string>              server's host (default: "localhost")
  -m, --metrics                enable metrics collector
  --max-metrics <number>       max metrics (default: "100")
  --metrics-interval <number>  metrics collection interval in seconds (default: "3600")
  -h, --help                   display help for command

```