open-index/open-npm huggingface dataset:
npm package: @mdworld/drep
Description: Deduplicate RTKQ EndPoints
Author: M.D. van Es
Latest version: 1.0.4

# DREP

Deduplicate RTKQ EndPoints

When creating Redux Toolkit Query (RTKQ) endpoints with rtk-query-codegen-openapi, it is possible to have duplicate endpoint names from different schemas. Drep will run a check and fail if there are duplicates. It is possible to add endpoint names to a .drepignore file. Those endpoint names will not fail the run, but will still be listed as "ignored".

Requires an openapi-config.ts in de root of directory.

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@mdworld/drep.svg)](https://npmjs.org/package/@mdworld/drep)
[![Downloads/week](https://img.shields.io/npm/dw/@mdworld/drep.svg)](https://npmjs.org/package/@mdworld/drep)

<!-- toc -->

- [Usage](#usage)
- [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage -->

```sh-session
$ npm i -D @mdworld/drep
$ npx drep run
running command...
...
```

<!-- usagestop -->

# Commands

<!-- commands -->

- [`drep run`](#drep-hello-person)
- [`drep help [COMMAND]`](#drep-help-command)

## `drep run`

Find duplicate Redux Toolkit Query endpoints

```
USAGE
  $ drep run

DESCRIPTION
  Find duplicate Redux Toolkit Query endpoints

EXAMPLES
  $ drep run
  Found 2 duplicates
```

_See code: [src/commands/run.ts](https://github.com/mdvanes/drep/blob/v0.0.0/src/commands/run.ts)_

## `drep help [COMMAND]`

Display help for drep.

```
USAGE
  $ drep help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for drep.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_

<!-- commandsstop -->

# Development

```
npm run build && ./bin/run.js run
npm publish --access=public
```
npm package: @mdworld/filmnl-sdk
Description: Unofficial TypeScript SDK to query film.nl
Author: M.D. van Es
Latest version: 1.0.0

# filmnl-sdk

Unoffical SDK to query [film.nl](https://film.nl) implemented in TypeScript.

Disclaimer: I am not associated with film.nl or any of the providers, cinemas, streaming platforms. I do not own, control or promote any of the data that is returned by this SDK.

# Usage

Install with `npm i @mdworld/filmnl-sdk`

Get all the movies or tv shows that film.nl has with the keyword "blast":

```ts
import {find} from '@mdworld/filmnl-sdk';
await find("blast from the past");
/*
[
  { href: 'film/blast', title: 'Blast', year: 2004 },
  ...
  {
    href: 'film/blast-from-the-past',
    title: 'Blast from the Past',
    year: 1999
  }
]
*/
```

Get all the providers according to film.nl for a movie by the unique href as returned by `find()`:

```ts
import {getProviders} from '@mdworld/filmnl-sdk';
await getProviders("film/blast-from-the-past");
/*
{
  title: 'Blast from the Past',
  trailerHref: 'https://www.youtube.com/watch?v=Xq29uTtKW4M',
  providers: [
    {
      name: 'Google Play',
      href: 'https://play.google.com/store/movies/details?id=5QTPyasW7BY'
    },
    {
      name: 'iTunes',
      href: 'https://tv.apple.com/movie/blast-from-the-past/umc.cmc.3kud86szm0a9ag73suyksorq0?uo=5'
    },
    {
      name: 'Amazon Prime',
      href: 'https://www.primevideo.com/detail/B07VVTHRSC'
    }
  ]
}
*/
```