open-index/open-npm huggingface dataset:
npm package: @nordeck/matrix-bot-sdk
Description: TypeScript/JavaScript SDK for Matrix bots and appservices. This is a fork that uses the latest rust crypto nodejs bindings that we require for supporting the s390x architecture.
Author: turt2live+nordeck
Latest version: 0.7.1-crypto.beta.12

# matrix-bot-sdk

[![npm version](https://badge.fury.io/js/matrix-bot-sdk.svg)](https://www.npmjs.com/package/matrix-bot-sdk)

TypeScript/JavaScript SDK for Matrix bots. For help and support, visit [#matrix-bot-sdk:t2bot.io](https://matrix.to/#/#matrix-bot-sdk:t2bot.io)

# Documentation

Documentation for the project is available [here](https://turt2live.github.io/matrix-bot-sdk/index.html).

# Matrix version support

The Matrix protocol is [versioned](https://spec.matrix.org/latest/#specification-versions) to ensure endpoints and
functionality can safely rotate in and out of the ecosystem. The bot-sdk will assume it is connected to a homeserver 
with support for at least one of the last 2 versions, at the time of the bot-sdk's release. This means that if you 
connect the bot-sdk to a homeserver which is 3 or more Matrix versions out of date, things might not work for you.

It is recommended to update the bot-sdk as frequently as spec releases themselves (or faster) to avoid this situation, 
and watch the repo for updates in the event a release is delayed.

**Note**: Currently the bot-sdk does not throw an error if the server appears to be incompatible, however this might
change in the future.
npm package: @nordenskiold/prettier-config
Description: My personal Prettier config
Author: Gabriel Nordenskiold
Latest version: 1.1.0

# `@nordenskiold/prettier-config`

> My personal [Prettier](https://prettier.io) config.

## Usage

**Install**:

```bash
$ yarn add --dev @nordenskiold/prettier-config
```

**Edit `package.json`**:

```jsonc
{
  // ...
  "prettier": "@nordenskiold/prettier-config"
}
```

or

**Edit `.prettierrc.json`**:

```jsonc
"@nordenskiold/prettier-config"
```
npm package: @nordfjord/nestjs-cqrs-es
Description: NestJS CQRS connector for EventStoreDB
Author: Einar Norðfjörð
Latest version: 0.2.1

<p align="center">
  <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a>
</p>

# Description

This is a library for use with `@nestjs/cqrs` and [EventStoreDB](https://eventstore.com)

Read the [blog post](https://nordfjord.io/blog/event-sourcing-in-nestjs) and check out the [example repo](https://github.com/nordfjord/nestjs-cqrs-es-example-app) to get started!
npm package: @nordhealth/eslint-plugin
Description: ESLint plugin for Nord Design System - enforces logical CSS selectors and migration rules
Author: Nordhealth
Latest version: 1.0.4

# @nordhealth/eslint-plugin

ESLint plugin for Nord Design System - enforces logical CSS selectors, legacy class migration, and Tailwind best practices.

## Installation

```bash
pnpm add -D @nordhealth/eslint-plugin
```

## Usage

### Recommended Config

The recommended config enables Nord rules for ongoing development plus safe better-tailwindcss rules:

```javascript
// eslint.config.mjs
import nordPlugin from '@nordhealth/eslint-plugin'

export default [
  nordPlugin.configs.recommended,
  // ... other configs
]
```

### Available Configs

| Config              | Description                                       |
| ------------------- | ------------------------------------------------- |
| `recommended`       | Nord rules + safe better-tailwindcss rules (warn) |
| `recommended-error` | Same as recommended but with error severity       |

## Nord Rules

| Rule                                    | Default | Description                                            |
| --------------------------------------- | ------- | ------------------------------------------------------ |
| `@nordhealth/logical-selectors`         | `warn`  | Enforce logical CSS properties                         |
| `@nordhealth/no-legacy-classes`         | `off`   | Auto-fix deprecated `n-*` classes to `n:*` equivalents |
| `@nordhealth/no-unknown-legacy-classes` | `off`   | Warn on unknown `n-*` classes                          |

### Migration rules

The migration rules are off by default. Enable them when migrating from legacy CSS, then disable when complete:

```javascript
// In your eslint.config.js
export default [
  {
    rules: {
      '@nordhealth/no-legacy-classes': 'warn',
      '@nordhealth/no-unknown-legacy-classes': 'warn'
    }
  }
]
```

## Tailwind Rules (from [better-tailwindcss](https://github.com/schoero/eslint-plugin-better-tailwindcss))

The recommended config enables these better-tailwindcss rules by default:

- `better-tailwindcss/enforce-consistent-class-order`
- `better-tailwindcss/enforce-consistent-important-position`
- `better-tailwindcss/enforce-consistent-variable-syntax`
- `better-tailwindcss/enforce-shorthand-classes`
- `better-tailwindcss/enforce-canonical-classes`
- `better-tailwindcss/no-deprecated-classes`
- `better-tailwindcss/no-duplicate-classes`
- `better-tailwindcss/no-unnecessary-whitespace`
- `better-tailwindcss/no-conflicting-classes`
- `better-tailwindcss/no-restricted-classes`

### Enabling better-tailwindcss/no-unknown-classes

The `better-tailwindcss/no-unknown-classes` rule is NOT enabled by default because it requires project-specific configuration:

```javascript
// eslint.config.mjs
import nordPlugin from '@nordhealth/eslint-plugin'

export default [
  nordPlugin.configs.recommended,
  {
    settings: {
      'better-tailwindcss': {
        entryPoint: './path/to/your/tailwind.css'
      }
    },
    rules: {
      'better-tailwindcss/no-unknown-classes': 'warn'
    }
  }
]
```
npm package: @nordic-game-lab/learnhub-api
Description: The Sdk for the LearnHub api.
Latest version: 1.1.10

# LearnHub API

- API version: 2.8.3
- Package version: 1.1.5

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

```shell
npm install @nordic-game-lab/learnhub-api
```
## usage

```javascript
import { Client } from '@nordic-game-lab/learnhub-api';

const apiKey = process.env.LearnHub;

const learnHubClient = new Client(apiKey);

const user = await learnHubClient.getUser('testuser@test.com');

console.log(user);
```
## Documentation
https://docs.nordicgamelab.org/learnhub/learnhub-node-js-sdk-documentation/
npm package: @nordic-game-lab/supabase-js
Description: Isomorphic Javascript client for Supabase
Author: nordic-game-lab
Latest version: 1.0.0

# `supabase-js`

[![Coverage Status](https://coveralls.io/repos/github/supabase/supabase-js/badge.svg?branch=master)](https://coveralls.io/github/supabase/supabase-js?branch=master)

An isomorphic JavaScript client for Supabase.

- **Documentation:** https://supabase.com/docs/reference
- TypeDoc: https://supabase.github.io/supabase-js/v2/

## Usage

First of all, you need to install the library:

```sh
npm install @supabase/supabase-js
```

Then you're able to import the library and establish the connection with the database:

```js
import { createClient } from '@supabase/supabase-js'

// Create a single supabase client for interacting with your database
const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
```

### UMD

You can now use plain `<script>`s to import supabase-js from CDNs, like:

```html
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js"></script>
```

or even:

```html
<script src="https://unpkg.com/@supabase/supabase-js"></script>
```

Then you can use it from a global `supabase` variable:

```html
<script>
  const { createClient } = supabase
  const _supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')

  console.log('Supabase Instance: ', _supabase)
  // ...
</script>
```

### ESM

You can now use type="module" `<script>`s to import supabase-js from CDNs, like:

```html
<script type="module">
  import { createClient } from 'https://cdn.jsdelivr.net/npm/@supabase/supabase-js/+esm'
  const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')

  console.log('Supabase Instance: ', supabase)
  // ...
</script>
```

### Custom `fetch` implementation

`supabase-js` uses the [`cross-fetch`](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative `fetch` implementation can be provided as an option. This is most useful in environments where `cross-fetch` is not compatible, for instance Cloudflare Workers:

```js
import { createClient } from '@supabase/supabase-js'

// Provide a custom `fetch` implementation as an option
const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {
  global: {
    fetch: (...args) => fetch(...args),
  },
})
```

## Sponsors

We are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves. Thanks to these sponsors who are making the OSS ecosystem better for everyone.

[![New Sponsor](https://user-images.githubusercontent.com/10214025/90518111-e74bbb00-e198-11ea-8f88-c9e3c1aa4b5b.png)](https://github.com/sponsors/supabase)
npm package: @nordic-io/calixto
Description: minimum. wonderful
Author: VitorMendesco
Latest version: 0.2.424

# CALIXTO

***m*inimum. *w*onderful.**

---

- [vercel](https://calixto.vercel.app)

- [chromatic](https://main--647d8a398899af1020515762.chromatic.com)
npm package: @nordic-morning-se/eslint-config
Description: Eslint config for Nordic Morning
Author: The Nordic Morning Frontend Crew
Latest version: 1.0.2

# eslint-config-nordic-morning

## Usage

`npm i @nordic-morning-se/eslint-config -D`

Then add a `.eslintrc` file to your project that contains:

```
{
  "extends": "@nordic-morning-se/eslint-config"
}
```
npm package: @nordic-ui/asgardian
Description: A simple authorization library
Author: Kevin Østerkilde
Latest version: 0.3.0

<div align="center">
  <h1>Asgardian <span role="presentation">🔒</span></h1>
  <p>A simple authorization library.</p>
</div>

<div align="center">
  <a href="https://asgardian.oesterkilde.dk/?utm_campaign=asgardian&utm_source=github&utm_medium=readme">Documentation</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://www.npmjs.com/package/@nordic-ui/asgardian">npm</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://github.com/nordic-ui/Asgardian/issues">Issues</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://twitter.com/Kosai106">@Kosai106</a>
  <br>
  <br>
</div>

## Overview

Asgardian is a simple library for authorization and managing permissions in your applications. Designed with simplicity and scalability in mind, Asgardian allows you to define and enforce access rules for resources and actions with ease.

## Getting Started

To use Asgardian in your project, simply install the library with your favourite package manager:

```sh
npm install @nordic-ui/asgardian
yarn add @nordic-ui/asgardian
pnpm add @nordic-ui/asgardian
```

---

#### License

**Asgardian** is licensed under the MIT license.

#### Author

Made by [Kevin Østerkilde](https://oesterkilde.dk/?utm_campaign=asgardian&utm_source=github&utm_medium=readme)
npm package: @nordic-ui/batch-promises
Description: Easily batch promises
Author: Nick Matenaar
Latest version: 0.1.0

# batch-promises

Easily batch promises.

**NOTE**: Requires Promsies to be supported by runtime or polyfilled.

## API

### default export

```typescript
type Promisable<T> = T | Promise<T>;

type Iterator<T, U> = (item: T) => Promisable<U>;

declare function batchPromises<T, U>(
  batchSize: number,
  collection: Promisable<T[]>,
  callback: Iterator<T, U>
): Promise<U[]>;

export = batchPromises;
```

`callback` will be called for each `item` in `collection`, parallel in batches of size `batchSize`, which are run in order once each previous batch is resolved.

To better illustrate, with a collection of 5 items (`[1, 2, 3, 4, 5]`) , and a batch size of `2`:

- Call `callback` for item `1` and `2` and wait for both promises to resolve, THEN
- Call `callback` for item `3` and `4` and wait for both promises to resolve, THEN
- Call `callback` for item `5` and wait for promise to resolve, THEN
- Return an ordered array with the result of each callback

## Use

```javascript
import batchPromises from 'batch-promises';

batchPromises(
  2,
  [1, 2, 3, 4, 5],
  (i) =>
    new Promise((resolve, reject) => {
      // The iteratee will fire after each batch resulting in the following behaviour:
      // @ 100ms resolve items 1 and 2 (first batch of 2)
      // @ 200ms resolve items 3 and 4 (second batch of 2)
      // @ 300ms resolve remaining item 5 (last remaining batch)
      setTimeout(() => {
        resolve(i);
      }, 100);
    })
).then((results) => {
  console.log(results); // [1, 2, 3, 4, 5]
});
```
npm package: @nordic-ui/validathor
Description: A simple validation library
Author: Kevin Østerkilde
Latest version: 0.5.0

<div align="center">
  <h1>ValidaThor <span role="presentation">⚡️</span></h1>
  <p>A simple validation library.</p>
</div>

<div align="center">
  <a href="https://validathor.oesterkilde.dk/?utm_campaign=validathor&utm_source=github&utm_medium=readme">Documentation</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://www.npmjs.com/package/@nordic-ui/validathor">npm</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://github.com/Kosai106/ValidaThor/issues">Issues</a>
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
  <a href="https://twitter.com/Kosai106">@Kosai106</a>
  <br>
  <br>
</div>

## Overview

ValidaThor is a lightweight library that allows you to validate your data using a schema-based approach. With its intuitive API, you can easily create complex validation rules to ensure the quality of your input data.

### Features

- Define custom schema shapes using `array`, `object`, `string`, `number`, `boolean`, and `date` types
- Use modifiers (e.g., `min`, `max`, `email`, or even custom modifiers) to add constraints to your schema
- Validate input data against your defined schema

## Getting Started

To use ValidaThor in your project, simply install the library with your favourite package manager:

```sh
npm install @nordic-ui/validathor
yarn add @nordic-ui/validathor
pnpm add @nordic-ui/validathor
```

Then, import the library and start defining your schemas and modifiers!

### Example Usage

Here's a basic example of how you can use ValidaThor to validate some input data:

```ts
import * as v from '@nordic-ui/validathor';

// Define your schema shape
const exampleSchema = v.object({
  name: v.string([v.min(2)]),
  age: v.number([v.min(13), v.max(100)]),
  email: v.string([v.email()]),
  avatar: v.object({
    path: v.string(),
    size: v.number(),
  }),
  acceptedTerms: v.boolean(),
  createdAt: v.date([
    v.min(new Date('2021/01/01')),
    v.max(new Date()),
  ]),
  tags: v.array(string())
});

// If the input data matches the schema, nothing will happen,
// Otherwise an error will be thrown to help the user
try {
  v.parse(
    exampleSchema,
    {
      name: 'John Doe',
      age: 35,
      email: 'email@example.com',
      avatar: { path: 'https://placekeanu.com/200/200', size: 2048 },
      acceptedTerms: true,
      createdAt: new Date('01/08/2023'),
      tags: ['tag1', 'tag2', 'tag3']
    }
  );
} catch (err) {
  // Do something with the error
};
```

Visit the [documentation](https://validathor.oesterkilde.dk/?utm_campaign=validathor&utm_source=github&utm_medium=readme) for more insights into the available schemas and modifiers.

---

#### License

**ValidaThor** is licensed under the MIT license.

#### Author

Made by [Kevin Østerkilde](https://oesterkilde.dk/?utm_campaign=validathor&utm_source=github&utm_medium=readme)

#### Inspiration

- [Zod](https://github.com/colinhacks/zod)
- [Valibot](https://github.com/fabian-hiller/valibot).
npm package: @nordice/core
Description: Core React components for nordice design system
Latest version: 1.1.1

<h1 align="center">Nordice ❄️</h1>

## Install

```sh
yarn add @nordice/core @nordice/tailwind-config
```

add this to your tailwind config

```js
module.exports = {
  content: [
    "./node_modules/@nordice/core/**/*.{js,mjs}", 
    // other content..
  ],
  presets: [require("@nordice/tailwind-config")],
  // other config
};
```