open-index/open-npm huggingface dataset:
npm package: @nikmargit/streak-counter
Description: This is a basic streak counter - inspired by Duolingo - written in TypeScript and meant for the browser (uses `localStorage`).
Author: Nikola Margit
Latest version: 0.0.2

# `@nikmargit/streak-counter` - a basic streak counter

This is a basic streak counter - inspired by Duolingo - written in TypeScript and meant for the browser (uses `localStorage`).

## Install

```shell
yarn add @nikmargit/streak-counter
```

## Usage

[![Edit streak-counter](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/streak-counter-9w28wv?fontsize=14&hidenavigation=1&theme=dark)
npm package: @niknils/requests
Description: Make sync and async http(s) request(s) in @support engines
Author: Yuriyi `niknils` Slinkin
Latest version: 0.1.0

# @niknils/requests
make sync and async requests in web

## support engines
- Node.js (`fetch & child_proc` for `sync`)
- Browser (`XMLHttpRequest` for `sync`)

## note
- `async` methods in developing; see [repository](https://codeberg.org/slnknrr/js.requests) for more

## import
cdn or Node.js:
```JavaScript
var { req } = require('@niknils/requests');
```

## sync
```JavaScript
//false for sync or detect by onsuccess and onerror functions
req(false, "my request")
.then(200, ()=>{
	console.log('HTTP code - 200');
}).else((r)=>{
	console.log(`HTTP code - ${r.code}`);
})
```

this prorotype of readme; actual documentation see in [repository](https://codeberg.org/slnknrr/js.requests)
npm package: @niko-npm/wili
Description: Fork of wili, a Node client for the Wiener Linien public transport API, common JS version
Author: Jan T. Sott
Latest version: 0.7.1

# wili

[![License](https://img.shields.io/github/license/idleberg/node-wili?color=blue&style=for-the-badge)](https://github.com/idleberg/node-wili/blob/main/LICENSE)
[![Version](https://img.shields.io/npm/v/wili?style=for-the-badge)](https://www.npmjs.org/package/wili)
[![Build](https://img.shields.io/github/actions/workflow/status/idleberg/node-wili/default.yml?style=for-the-badge)](https://github.com/idleberg/node-wili/actions)

**English** | [Deutsch](README.de.md)

A Node wrapper for the Wiener Linien public transport API

## Installation

`npm install wili`

## Usage

Example usage in script:

```js
import { createWienerLinien } from 'wili';

const wili = createWienerLinien();

const options = {
  relatedLine: ['U2', 'U4', 'U6']
};

try {
  const data = await wili.trafficInfoList(options);
  console.log(data.trafficInfos);
} catch (output) {
  console.error(error);
}
```

:warning: For NodeJS versions lower than v18, the class needs to be instantiated with a `fetch`-implementation

**Example**

```js
import { createWienerLinien } from 'wili';
import fetch from 'isomorphic-fetch';

const wili = createWienerLinien(fetch);
```

## API

### monitor

Usage: `monitor(rbl, [options])`

Returns real-time data for a station, including train information such as identifier or accessibility features.

#### Parameters:

#### `rbl`

Type: `String`, `Integer`, `Array`

RBL number (Rechnergestütztes Betriebsleitsystem - computer-aided operations control system), can be found this [website](https://till.mabe.at/rbl/?line=214433687&station=231116899)

##### `options.activeTrafficInfo`

Type: `String`, `Array`

Disruption type (`stoerungkurz`, `stoerunglang`, or `aufzugsinfo`)

### newsList

Usage: `newsList(options)`

Returns news, elevator maintenance and other information

#### Options

##### `options.relatedLine`

Type: `String`, `Integer`, `Array`

Train or bus number, e.g. U1, S7, 59A (case-insensitive)

##### `options.relatedStop`

Type: `String`, `Integer`, `Array`

Station ID

##### `options.name`

Type: `String`, `Array`

Information category, e.g `news` or `aufzugsservice`

### trafficInfoList

Usage: `trafficInfoList([options])`

Returns interruption of operations and elevator outage

#### Options

##### `options.relatedLine`

Type: `String`, `Integer`, `Array`

Train or bus number, e.g. U1, S7, 59A (case-insensitive)

##### `options.relatedStop`

Type: `String`, `Integer`, `Array`

Station ID

##### `options.name`

Type: `String`, `Array`

Disruption type (`stoerungkurz`, `stoerunglang`, or `aufzugsinfo`)

## License

This work is licensed under [The MIT License](https://opensource.org/licenses/MIT)
npm package: @niko0xdev/commerce-common
Description: This package contains a set of common utility functions and TypeScript types used by multiple store packages. It is not intended to be directly depended upon by an end-user project.
Latest version: 2.2.6

# @niko0xdev/ecommerce-common

This package contains a set of common utility functions and TypeScript types used by multiple store packages. It is not intended to be directly depended upon by an end-user project.