open-index/open-npm huggingface dataset:
npm package: @saeidjoker/nx-ddd-template
Description: An Nx Starter with a shared library and NestJs as backend
Latest version: 0.6.0

# A starter template for Nx and Domain-Driven Design

This is a starter template to get you started on working with Nx and a shared class library with base classes suitable for a domain-driven design project

## How to use

```bash
npx @saeidjoker/nx-ddd-template
```
npm package: @saeon/graphql-iterator
Description: Iterate over relay-style GraphQL APIs
Author: zd.smith@saeon.nrf.ac.za
Latest version: 0.2.18

TODO. this is how to use the iterator.

```js
import fetch from 'node-fetch'
import gql from 'graphql-tag'
import gqlIterator from '../../../../packages/gql-client-iterator/src/index.js'
import jsBase64 from 'js-base64'
import { DATACITE_USERNAME, DATACITE_PASSWORD } from '../config.js'

const { encode } = jsBase64

const REPOSITORY_ID = 'NRF.SAEON'
const LOAD_BATCH_SIZE = 1
const DATACITE_GQL_ENDPOINT = 'https://api.datacite.org/graphql'

const query = gql`
  query($id: ID!, $after: String, $first: Int) {
    repository(id: $id) {
      datasets(first: $first, after: $after) {
        pageInfo {
          endCursor
          hasNextPage
        }
        edges {
          node {
            doi
            url
          }
        }
      }
    }
  }
`

const createIterator = gqlIterator({
  fetch,
  query,
  gqlEndpoint: DATACITE_GQL_ENDPOINT,
  variables: {
    id: REPOSITORY_ID,
    first: LOAD_BATCH_SIZE,
  },
  pageInfoPath: 'repository.datasets.pageInfo',
  dataPath: 'repository.datasets.edges',
})

let iterator = await createIterator()

while (!iterator.done) {
  const dois = iterator.data.reduce((acc, { node }) => [...acc, node.doi], [])

  /**
   * For every DOI register the URL
   * https://support.datacite.org/docs/mds-api-guide#register-the-url
   */
  const result = await Promise.allSettled(
    dois.map(doi =>
      fetch(`https://mds.datacite.org/doi/${doi}`, {
        method: 'GET',
        headers: {
          Authorization: `Basic ${encode(`${DATACITE_USERNAME}:${DATACITE_PASSWORD}`)}`,
        },
      }).then(res => res.text())
    )
  )

  /**
   * For now, just log the results
   */
  console.log(dois, result)

  iterator = await iterator.next()
}
```
npm package: @saeris/discordkit
Description: A RESTapi Client for Discord
Latest version: 0.0.1

<h1 align="center" style="display: block; text-align: center;">🤖 DiscordKit</h1>
<p align="center"><a href="https://www.npmjs.org/package/@saeris/discordkit"><img src="https://img.shields.io/npm/v/@saeris/discordkit.svg?style=flat" alt="npm"></a><a href="https://github.com/Saeris/discordkit/actions/workflows/test.yml"><img src="https://github.com/Saeris/discordkit/actions/workflows/test.yml/badge.svg" alt="Node.js CI"></a><a href="https://codecov.io/gh/Saeris/discordkit"><img src="https://codecov.io/gh/Saeris/discordkit/branch/master/graph/badge.svg" alt="codecov"/></a></p>
<p align="center">A RESTapi Client for <a href="https://discord.com/developers/docs">Discord</a></p>

---

## 📦 Installation

```bash
npm install --save-dev @saeris/discordkit zod
# or
yarn add -D @saeris/discordkit zod
```

## 🔧 Usage

> Coming Soon

## 🥂 License

Released under the [MIT license](https://github.com/Saeris/discordkit/blob/master/LICENSE.md).
npm package: @saeris/eslint-config
Description: Personal collection of shareable ESLint Configs
Author: Drake Costa
Latest version: 3.2.4

<div align="center">

# 🎛️ ESLint Config

[![npm version][npm_badge]][npm]
[![CI status][ci_badge]][ci]

Personal collection of shareable [ESLint][eslint] Configs.

</div>

---

## 📦 Installation

```bash
npm install --save-dev @saeris/eslint-config eslint typescript
# or
yarn add -D @saeris/eslint-config eslint typescript
```

## 🔧 Usage

> .eslintrc.js

```typescript
// Required line to use shared plugins
require(`@saeris/eslint-config/patch`);

module.exports = {
  extends: [
    // import all of the rules:
    require.resolve("@saeris/eslint-config")

    // or import partial rulesets:

    // Vanilla ESLint rules, Import & Promise Plugins
    require.resolve("@saeris/eslint-config/base"),
    // Jest Plugin
    require.resolve("@saeris/eslint-config/jest"),
    // React, React-Hooks, and JSX-a11y Plugins
    require.resolve("@saeris/eslint-config/react"),
    // Typescript ESLint Plugin basic rules
    require.resolve("@saeris/eslint-config/typescript"),
    // Typescript-ESLint Plugin rules requiring Type Information
    require.resolve("@saeris/eslint-config/type-aware")
  ]
};
```

By default, the `type-aware` ruleset will look for some common Typescript configuration file names from the following:

- `tsconfig-eslint.json`
- `tsconfig.eslint.json`
- `tsconfig.json`

If none of the above are found, the parser will throw an error. If you have a custom `tsconfig` you would like to use, you can override the default setting by setting your ESLint config's `parserOptions.project` field, such as in this example:

> .eslintrc.js

```typescript
require(`@saeris/eslint-config/patch`);

module.exports = {
  extends: [require.resolve("@saeris/eslint-config/type-aware")],
  parserOptions: {
    project: "./path/to/your/config.json"
  }
};
```

## 🥂 License

Released under the [MIT license][license] © [Drake Costa][personal-website].

[npm]: https://www.npmjs.com/package/@saeris/eslint-config
[npm_badge]: https://img.shields.io/npm/v/@saeris/eslint-config.svg?style=flat
[ci]: https://github.com/saeris/eslint-config/actions/workflows/ci.yml
[ci_badge]: https://github.com/saeris/eslint-config/actions/workflows/ci.yml/badge.svg
[eslint]: https://eslint.org/
[license]: ./LICENSE.md
[personal-website]: https://saeris.gg
npm package: @saeris/isomorphic-vibrant
Description: A library for extracting prominent colors from an image anywhere you can run JavaScript!
Latest version: 0.1.1

<h1 align="center" style="display: block; text-align: center;">🎨 Isomorphic Vibrant</h1>
<p align="center"><a href="https://www.npmjs.org/package/@saeris/isomorphic-vibrant"><img src="https://badgen.net/npm/v/@saeris/isomorphic-vibrant" alt="npm version"></a><a href="https://bundlephobia.com/result?p=@saeris/isomorphic-vibrant"><img src="https://badgen.net/bundlephobia/minzip/@saeris/isomorphic-vibrant" alt="bundlephobia minified + gzip"><img src="https://badgen.net/bundlephobia/dependency-count/@saeris/isomorphic-vibrant" alt="bundlephobia dependency count"><img src="https://badgen.net/bundlephobia/tree-shaking/@saeris/isomorphic-vibrant" alt="bundlephobia tree-shaking support"></a><a href="https://travis-ci.com/saeris/isomorphic-vibrant"><img src="https://badgen.net/travis/saeris/isomorphic-vibrant" alt="travis status"></a><a href="https://codecov.io/gh/Saeris/isomorphic-vibrant"><img src="https://badgen.net/codecov/c/github/saeris/isomorphic-vibrant/master" alt="codecov coverage"/></a></p>
<p align="center">A library for extracting prominent colors from an image anywhere you can run JavaScript!</p>

---

## 🚧 Under Construction

> Warning: This library is still under construction! A pre-release version is available for testing only. Expect things to be broken. The below documentation is both incomplete and subject to change.

## 📦 Installation

```bash
npm install --save @saeris/isomorphic-vibrant
# or
yarn add @saeris/isomorphic-vibrant
```

## 🔧 Usage

```typescript
import { Vibrant } from "@saeris/isomorphic-vibrant"

const vibrant = new Vibrant(`url/to/image.png`, { colorCount: 64 })
console.log(await vibrant.getPalette())
```

## 📣 Acknowledgements

This library was forked from [node-vibrant](https://github.com/Vibrant-Colors/node-vibrant).

## 🥂 License

Released under the [MIT license](https://github.com/Saeris/isomorphic-vibrant/blob/master/LICENSE.md).