open-index/open-npm huggingface dataset:
npm package: @pirxpilot/oauth2orize
Description: OAuth 2.0 authorization server toolkit for Node.js.
Author: Jared Hanson
Latest version: 2.0.1

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# @pirxpilot/oauth2orize

This is a fork of the [oauth2orize] with the following changes:
- relaxed and updated dependencies

## License

[MIT](LICENSE)

[oauth2orize]: https://npmjs.org/package/oauth2orize

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/oauth2orize
[npm-url]: https://npmjs.org/package/@pirxpilot/oauth2orize

[build-url]: https://github.com/pirxpilot/oauth2orize/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/oauth2orize/check.yaml?branch=main

[deps-image]: https://img.shields.io/librariesio/release/npm/@pirxpilot/oauth2orize
[deps-url]: https://libraries.io/npm/@pirxpilot%2Foauth2orize
npm package: @pirxpilot/on-headers
Description: Execute a listener when a response is about to write headers
Author: Douglas Christopher Wilson
Latest version: 2.0.0

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# @pirxpilot/on-headers

This is a fork of [on-headers].
Execute a listener when a response is about to write headers.

## API

<!-- eslint-disable no-unused-vars -->

```js
var onHeaders = require('on-headers')
```

### onHeaders(res, listener)

This will add the listener `listener` to fire when headers are emitted for `res`.
The listener is passed the `response` object as it's context (`this`). Headers are
considered to be emitted only once, right before they are sent to the client.

When this is called multiple times on the same `res`, the `listener`s are fired
in the reverse order they were added.

## Examples

```js
var http = require('http')
var onHeaders = require('on-headers')

http
  .createServer(onRequest)
  .listen(3000)

function addPoweredBy () {
  // set if not set by end of request
  if (!this.getHeader('X-Powered-By')) {
    this.setHeader('X-Powered-By', 'Node.js')
  }
}

function onRequest (req, res) {
  onHeaders(res, addPoweredBy)

  res.setHeader('Content-Type', 'text/plain')
  res.end('hello!')
}
```

## License

[MIT](LICENSE)

[on-headers]: https://npmjs.org/package/on-headers

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/on-headers
[npm-url]: https://npmjs.org/package/@pirxpilot/on-headers

[build-url]: https://github.com/pirxpilot/on-headers/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/on-headers/check.yaml?branch=main

[deps-image]: https://img.shields.io/librariesio/release/npm/@pirxpilot/on-headers
[deps-url]: https://libraries.io/npm/@pirxpilot%2Fon-headers
npm package: @pirxpilot/overlay
Description: Overlay component
Latest version: 2.0.1

# Overlay

  Page overlay component.

## Installation

```
$ component install component/overlay
```

## API

### overlay([options|element])

  Returns a new `Overlay`.

  Options:

  - `closable`: whether or not a user may click the overlay to close [__false__]
  - `target`: target element to overlay [body]

### Overlay#show()

  Show the overlay.

### Overlay#hide()

  Hide the overlay.

## Events

  - `show` when the overlay is shown
  - `hide` when the overlay is hidden
  - `close` when the overlay is removed (follows hide normally)


## License

  MIT
npm package: @pirxpilot/pico
Description: Less than nanocomponent to use with choo-like libs.
Author: Damian Krzeminski
Latest version: 2.0.2

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# @pirxpilot/pico

Less than nanocomponent. To be used with choo-like libs.

## Install

```sh
$ npm install --save @pirxpilot/pico
```

## Usage

```js
const { pico } = require('@pirxpilot/pico');

```

## License

MIT © [Damian Krzeminski](https://pirxpilot.me)

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/pico
[npm-url]: https://npmjs.org/package/@pirxpilot/pico

[build-url]: https://github.com/pirxpilot/pico/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/pico/check.yaml?branch=main

[deps-image]: https://img.shields.io/librariesio/release/npm/@pirxpilot/pico
[deps-url]: https://libraries.io/npm/@pirxpilot%2Fpico
npm package: @pirxpilot/popover
Description: Popover component
Latest version: 3.0.1


# Popover

  Popover component built on top of [Tip](http://github.com/pirxpilot/tip).

  ![js popover component](http://f.cl.ly/items/282X271J2Y1s1P342o02/Screen%20Shot%202012-08-02%20at%205.07.07%20PM.png)

## Installation

```
$ npm install @pirxpilot/popover
```

## Features

  - events for composition
  - "auto" positioning
  - fluent API
  - minimal base styling

## API

### new Popover(content, [title])

  Create a new popover with `content` being
  either a string, html, or element, and optional
  `title` which may contain html or be an element as well.

```js
var Popover = require('popover');
var popover = new Popover('You have mail!!!', 'Mail');
popover.show('#avatar');
```

 View [Tip](http://github.com/component/tip) for additional
 API documentation.

## Themes

  - [Aurora](https://github.com/component/aurora-popover)

## License

  MIT
npm package: @pirxpilot/router
Description: Simple middleware-style router
Author: Douglas Christopher Wilson
Latest version: 2.0.3

[![NPM Version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]

# @pirxpilot/router

This is a simplified fork of [router] with some dependencies removed.

## Router Options

The router accepts an options object that can be used to customize its behavior:

```js
const router = Router({
  caseSensitive: false,    // Enable case-sensitive routing
  mergeParams: false,      // Preserve req.params values from parent router
  strict: false           // Enable strict routing
})
```

Available options:

- `caseSensitive` - Enable case-sensitive routing. By default routes are case-insensitive (e.g., "/foo" and "/FOO" are treated the same).
- `mergeParams` - Preserve the `req.params` values from the parent router. If the parent and the child have conflicting param names, the child's value take precedence.
- `strict` - Enable strict routing. By default "/foo" and "/foo/" are treated the same by the router.

## Pattern Matching with URLPattern API

This router uses the [URLPattern API] for path matching.

### Basic Pattern Examples

- Named parameters:
```js
router.get('/user/:id', (req, res) => { ... })         // matches /user/123, /user/abc
```

- Optional parameters:
```js
router.get('/user/:name?', (req, res) => { ... })      // matches /user, /user/john
```

- Wildcard/Greedy matching:
```js
router.get('/files/:path*', (req, res) => { ... })     // matches /files, /files/docs, /files/docs/intro.pdf
```

### Advanced Pattern Examples

- Custom parameter patterns:
```js
router.get('/user/:id(\\d+)', (req, res) => { ... })   // matches /user/123 but not /user/abc
```

- Multiple parameters:
```js
router.get('/api/:version/:resource', (req, res) => { ... })  // matches /api/v1/users
```

- Group matching:
```js
router.get('/:category(books|movies)/:id', (req, res) => { ... })  // matches /books/123 or /movies/456
```

## License

[MIT](LICENSE)

[router]: https://github.com/pillarjs/router
[URLPattern API]: https://developer.mozilla.org/en-US/docs/Web/API/URLPattern
[npm-image]: https://img.shields.io/npm/v/@pirxpilot/router
[npm-url]: https://npmjs.org/package/@pirxpilot/router
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/router/check.yaml?branch=main
[build-url]: https://github.com/pirxpilot/router/actions/workflows/check.yaml
npm package: @pirxpilot/server-timings
Description: Adds `Server-Timings` header
Author: Remy Sharp
Latest version: 2.0.0

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# @pirxpilot/server-timings

This is a modernized fork of [server-timings]

## Usage

Load the middleware as early as possible to record the request timing:

```js
import express from 'express';
import timings from 'server-timings';
import routes from './routes.js';

const app = express();

app.use(timings);
app.use(routes);
```

This will automatically add a `Server-Timing` header shown in milliseconds.

```bash
$ curl https://jsonbin.org/remy/urls -I
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Server-Timing: total; dur=72.45
```

To include additional timings the middleware exposes two methods on the `res.locals.timings` property:

- `start(label[, description])` - record the start time
- `end(label)` - end the record time - if this isn't called, it will be called when the request is finished

### Start/end as middleware

As well as being exposed in `res.locals.timings` you can also call start and end as middleware:

```js
import timings from 'server-timings';
import routes from './routes.js';

app.use(timings);
app.use(timings.start('routing'));
app.use(routes);
app.use(timings.end('routing'));
```
[server-timings]: https://npmjs.org/package/server-timings

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/server-timings
[npm-url]: https://npmjs.org/package/@pirxpilot/server-timings

[build-url]: https://github.com/pirxpilot/server-timings/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/server-timings/check.yaml?branch=main

[deps-image]: https://img.shields.io/librariesio/release/npm/@pirxpilot/server-timings
[deps-url]: https://libraries.io/npm/@pirxpilot%2Fserver-timings
npm package: @pirxpilot/should
Description: test framework agnostic BDD-style assertions
Author: TJ Holowaychuk
Latest version: 14.0.0

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# @pirxpilot/should

Simplified and modernized fork of [should]
- works only server-side
- displays better error messages with node:test runner

## License

[MIT](LICENSE)

[should]: https://npmjs.org/package/should

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/should
[npm-url]: https://npmjs.org/package/@pirxpilot/should

[build-url]: https://github.com/pirxpilot/should/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/should/check.yaml?branch=main

[deps-image]: https://img.shields.io/librariesio/release/npm/@pirxpilot/should
[deps-url]: https://libraries.io/npm/@pirxpilot%2Fshould
npm package: @pirxpilot/stylus
Description: Robust, expressive, and feature-rich CSS superset
Author: TJ Holowaychuk
Latest version: 1.2.0

# Stylus

This is a fork of a [stylus] package. Check [original project] Readme for more info.

[stylus]: https://www.npmjs.com/package/stylus
[original project]: https://github.com/stylus/stylus

## Changes in this fork

- removed convert CSS `-C|-css` option

## License

(The MIT License)

Copyright (c) Automattic &lt;developer.wordpress.com&gt;

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
npm package: @pirxpilot/swipe
Description: Swipe component with touch support
Latest version: 3.0.0

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]

# Swipe

  Swipe component with touch support, for image carousels or any other content. Try it out the [demo](http://component.github.com/swipe/) in your browser or on your device.

## Installation

    $ npm -i @pirxpilot/swipe

## Events

- `showing` (i, pane): when the transition to another pane begins
- `show` (i, pane): when the transition to another pane finishes

## API

### Swipe(el)

  Create a swipe object for `el`. This should be a container element
  that wraps a list of several items. View ./example.html for a
  working example.

### .threshold(n)

  Set the swipe threshold to `n`.

  This is the factor required for swipe
  to detect when a slide has passed the
  given threshold, and may display the next
  or previous slide. For example the default
  of `.5` means that the user must swipe _beyond_
  half of the side width.

### .fastThreshold(ms)

 Set the "fast" swipe threshold to `ms`.

 This is the amount of time in milliseconds
 which determines if a swipe was "fast" or not. When
 the swipe's duration is less than `ms` only 1/10th of
 the slide's width must be exceeded to display the previous
 or next slide.

### .duration(ms)

  Set the transition duration, defaults to 300ms.

### .interval(ms)

  Set the cycle interval, defaults to 5000ms.

### .refresh()

  This method should be invoked when the swipe element
  has been resized, or an item has been added or removed.

### .play()

  Play through all items using the cycle interval.

### .stop()

  Stop playing.

### .isFirst()

  Is on the first visible item.

### .isLast()

  Is on the last visisble item.

### .prev()

  Show the previous item if present, or do nothing.

### .next()

  Show the next item if present, or do nothing.

### .show(i, [ms], [options])

  Show item with the given index `i` with the given
  transition in `ms` defaulting to the `.duration()` value.

  You may pass `{ silent: true }` as an option to silence show events.

## License

  MIT

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/swipe
[npm-url]: https://npmjs.org/package/@pirxpilot/swipe

[build-url]: https://github.com/pirxpilot/swipe/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/swipe/check.yaml?branch=main
npm package: @pirxpilot/tags-input
Description: Input field for tagged values
Latest version: 4.0.1

[![NPM version][npm-image]][npm-url]

# @pirxpilot/tags-input

HTML input component that allows for simplified adding and removing tags, emails, urls etc.
Click [**here**][demo] to see the demo.

This is a fork of [tags-input] project with some additional features:

- configurable tag separator - through `data-separator`
- various input types like `email`, `phone`, or `url`
- can be used with browserify (possible other bundlers)

Features of [tags-input] are also supported:

- full keyboard, mouse and focus support
- works with HTML5 `pattern`, `placeholder`, `autocomplete` etc.
- native [`change`][change-event] and [`input`][input-event] _("live" change)_ events
- works in modern browsers and IE10+

## Options

Component can be configured through `dataset` attributes:

- `data-separator` - string containing one or more characters that will be used as separators
- `data-allow-duplicates` - if set to truthy value input will not automatically remove duplicated tags

## Usage

`tags-input.css` can be used for basic styling

```html
<form>
	<label for='simple'>Simple</label>
	<input id='simple' type='text'>
	<label for='email'>Email</label>
	<input id='email' type='email' data-separator=' ,;' placeholder="space, comma, or semicolon">
	<label for='url'>URL</label>
	<input id='url' type='url' data-separator=' '>
</form>
<script type="text/javascript">
	var tagsInput = require('@pirxpilot/tags-input');
	for (let input of document.querySelectorAll('form input')) {
		tagsInput(input);
	}
</script>
```

More detailed example can be found in [index.html][example]

## License

MIT Copyright (c) 2014 Jason Miller

[tags-input]: https://github.com/developit/tags-input
[demo]: https://pirxpilot.github.io/tags-input
[example]: https://raw.githubusercontent.com/pirxpilot/tags-input/gh-pages/index.html
[change-event]: https://developer.mozilla.org/en-US/docs/Web/Events/change
[input-event]: https://developer.mozilla.org/en-US/docs/Web/Events/input

[npm-image]: https://img.shields.io/npm/v/@pirxpilot/tags-input.svg
[npm-url]: https://npmjs.org/package/@pirxpilot/tags-input