open-index/open-npm huggingface dataset:
npm package: @klippa/responsive-scss
Description: This is the SCSS library used for [@klippa/ngx-grid](https://github.com/klippa-app/ngx-grid) and for other responsive design in Klippa projects.
Latest version: 1.0.0

# Klippa Responsive SCSS

This is the SCSS library used for [@klippa/ngx-grid](https://github.com/klippa-app/ngx-grid) and for other
responsive design in Klippa projects.

## How to use

First install it:

```
$ yarn add @klippa/responsive-scss
```

Then include it where you need it with @use.

```scss
@use "~@klippa/responsive-scss";

$default-color: red;
$small-color: green;
$large-color: blue;

.my-awesome-container {
  color: $default-color;
  
  // for all screen widths >= sm.
  @include responsive-scss.responsive(sm) {
    color: $small-color; 
  }
  
  // for all screen widths >= lg.
  @include responsive-scss.responsive(lg) {
    color: $large-color;
  }
}

@mixin set-content($breakpoint, $min-width) {
    content: "Screen is currently #{$breakpoint} and has a minimum width of #{$min-width}";
}

h1 {
  // create @media blocks for all breakpoints and @include set-content in each one.
  @include responsive-scss.allBreakpoints using ($breakpoint, $min-width) {
    @include set-content($breakpoint, $min-width);
  }
}
```

The default breakpoints can be overwritten or extended like so:

```scss
// only create breakpoints xs, sm, md, and over-9000
@use "~@klippa/responsive-scss" with (
  $breakpoints: (
    xs: 0px,
    sm: 200px,
    md: 300px,
    over-9000: 9001px,
  )
);
```


The default breakpoints are:

```scss
$breakpoints: (
        xs: 0px,
        sm: 576px,
        md: 768px,
        lg: 992px,
        xl: 1200px,
        xxl: 1440px,
) !default;
```
npm package: @klippersubs/bfs
Description: General purpose BFS implementation.
Author: Alice Klipper
Latest version: 2.1.7

# @klippersubs/bfs

[![Travis CI](https://img.shields.io/travis/klippersubs/bfs.svg?style=flat-square)][ci]
[![NPM version](https://img.shields.io/npm/v/@klippersubs/bfs.svg?style=flat-square)][npm]

 >  General purpose BFS implementation.

````bash
yarn add @klippersubs/bfs
````

````javascript
import { flatten } from '@klippersubs/bfs';

const en = { name: 'en', fallback: [] };
const ru = { name: 'ru', fallback: [en] };
const be = { name: 'be', fallback: [ru] };
const uk = { name: 'uk', fallback: [be, ru] };

be.fallback = [ru, uk];

const beTarask = { name: 'be-tarask', fallback: [be, uk] };

const lookupList = flatten(null, beTarask, (_, language) => language.fallback);

console.log(lookupList);
// → Set {
//     { name: 'be-tarask', fallback: [ [Object], [Object] ] },
//     { name: 'be', fallback: [ [Object], [Object] ] },
//     { name: 'uk', fallback: [ [Object], [Object] ] },
//     { name: 'ru', fallback: [ [Object] ] },
//     { name: 'en', fallback: [] } }
````

## Exported API

### Type export `ChildrenGetter`

 >  Returns children of the given vertex in the given graph.

Generic params:

 *  `Graph` — graph type.
 *  `Vertex` — vertex type.

Params:

 *  `graph: Graph` — graph containing the vertex.
 *  `vertex: Vertex` — vertex in the graph.

Return value:

 *  `Array<Node>` — flat array of vertices.

### Export `flatten`

 >  Flattens cyclic graph starting from root vertex.

Generic params:

 *  `Graph` — graph type.
 *  `Vertex` — vertex type.

Params:

 *  `graph: Graph` — graph or forest.
 *  `root: Vertex` — vertex to start search.
 *  `getChildren: ChildrenGetter<Graph, Vertex>` — returns children
    of the given vertex.

Return value:

 *  `Set<Vertex>` — flat set of vertices.

## License

MIT

[ci]: https://travis-ci.org/klippersubs/bfs
[npm]: https://www.npmjs.com/package/@klippersubs/bfs
npm package: @klippersubs/hashtable
Description: Hash table implementation.
Latest version: 1.0.0

# @klippersubs/hashtable

[![Travis CI](https://img.shields.io/travis/klippersubs/hashtable.svg?style=flat-square)][ci]
[![NPM version](https://img.shields.io/npm/v/@klippersubs/hashtable.svg?style=flat-square)][npm]

 >  Hash table implementation.

````bash
yarn add @klippersubs/hashtable
````

````javascript
import HashTable, { hashString } from '@klippersubs/hashtable';

const ht = new HashTable(hashString);

ht.set('Alice', '+7 987 654‑32‑10');
ht.set('Bob', '+81 987 654‑32‑10');
ht.set('Alice', '+81 012 345‑67‑89');
ht.delete('Bob');

console.log(ht.get('Alice'));
// → '+81 012 345‑67‑89'
console.log(ht.get('Bob'));
// → undefined
console.log(ht.has('Bob'));
// → false
````

````javascript
import { StringTable } from '@klippersubs/hashtable';

const st = new StringTable();

st.set('Alice', '+7 987 654‑32‑10');
st.set('Bob', '+81 987 654‑32‑10');
st.set('Alice', '+81 012 345‑67‑89');
st.delete('Bob');

console.log(st.get('Alice'));
// → '+81 012 345‑67‑89'
console.log(st.get('Bob'));
// → undefined
console.log(st.has('Bob'));
// → false
````

## Exported API

### Type export `Hash`

 >  Callback type for calculating a hash of key.

Generic params:

 *  `Key` — key type.

Params:

 *  `key: Key` — a key to calculate hash.
 *  `capacity: number` — hash table capacity.

Return value:

 *  `number` — hash.

### Export `hashString`

 >  Calculates a hash of string key.

Params:

 *  `key: string` — a key to calculate hash.
 *  `capacity: number` — hash table capacity.

Return value:

 *  `number` — hash.

### Default export `HashTable`

 >  Hash table class.

Generic params:

 *  `Key` — key type.
 *  `Value` — value type.

#### Constructor

Params:

 *  `hash: Hash<Key>` — hash function.
 *  `capacity: number = 8` — capacity of the hash table.

#### Method `set`

 >  Sets key–value pair.

Params:

 *  `key: Key`.
 *  `value: Value`.

Return value:

 *  `this`.

#### Method `get`

 >  Returns value of a key–value pair.

Params:

 *  `key: Key`.

Return value:

 *  `Value`.

#### Method `has`

 >  Checks if key—value pair exists.

Params:

 *  `key: Key`.

Return value:

 *  `boolean`.

#### Method `delete`

 >  Deletes key—value pair.

Params:

 *  `key: Key`.

Return value:

 *  `this`.

### Export `StringTable`

 >  Specialized hash table with string keys.

Generic params:

 *  `Value` — value type.

#### Constructor

Params:

 *  `capacity: number = 8` — capacity of the hash table.

## License

MIT

[ci]: https://travis-ci.org/klippersubs/hashtable
[npm]: https://www.npmjs.com/package/@klippersubs/hashtable
npm package: @klippersubs/hsluv
Description: HSLuv wrapper.
Author: Alice Klipper
Latest version: 1.1.0

# @klippersubs/hsluv

CSS-ready [HSLuv](http://hsluv.org) wrapper.

## Install

````bash
yarn add @klippersubs/hsluv
````

## Usage

````javascript
import { hsluv } from '@klippersubs/hsluv';

console.log(hsluv(0, 100, 50)); // '#ea0064'
console.log(hsluv(0, 100, 50, 0.5)); // 'rgba(233,0,100,0.5)'
````

## API

### `hsluv`

 *  Signature: `(h: number, s: number, l: number, a?: number) => string`.
 *  Alias: `hsl`.

### `hpluv`

 *  Signature: `(h: number, s: number, l: number, a?: number) => string`.
 *  Alias: `hpl`.
npm package: @kliq/plastic
Description: Plastic Component Library
Author: Felix Sebastian
Latest version: 1.0.0

# Plastic Component Library

- [Docs](https://plastic-docs.vercel.app/) 📄
- [GitHub](https://github.com/felixsebastian/plastic) :octocat:
- [npm](https://www.npmjs.com/package/plastic) 📦