open-index/open-npm huggingface dataset:
npm package: @patrickdronk/vat-number
Description: A tool to validate an european VAT number and get the related business data with the VIES API
Author: Adrian Tombu
Latest version: 2.0.8

EUROPEAN VAT NUMBER
===================

[![npm version](https://badge.fury.io/js/%40adriantombu%2Fvat-number.svg)](https://badge.fury.io/js/%40adriantombu%2Fvat-number) [![](https://img.shields.io/badge/Buy%20me%20a%20tree-%F0%9F%8C%B3-lightgreen)](https://offset.earth/adrian)

This library validates an european VAT number and gets the related business data through the VIES API

### How to use it

* Install the library first with `yarn add @adriantombu/vat-number`
* And then import it in your script

```
const { getVatNumberInfos } = require('@adriantombu/vat-number')

const vatNumber = 'FR16817871668';
const checkedVat = await getVatNumberInfos(vatNumber)

{
  country: 'FR',
  vatNumber: '16817871668',
  fullVatNumber: 'FR16817871668',
  name: 'SASU OTSO',
  address: 'CS 21531\n59 ALL JEAN JAURES\n31000 TOULOUSE',
  valid: true
}
```

In case of an invalid VAT number, you will receive the following result, with the value `valid` set to `false`

```
const { getVatNumberInfos } = require('@adriantombu/vat-number')

const vatNumber = 'FRXXXXXXXXXX8';
const checkedVat = await getVatNumberInfos(vatNumber)

{
  fullVatNumber: 'FRXXXXXXXXXX8',
  message: 'The VAT number provided is not valid',
  valid: false
}
```

### How to contribute

* Clone the repository `git clone git@github.com:adriantombu/vat-number.git`
* Install the packages with `yarn install`
* Modify the `src/index.ts` file
* When everything's done, you can send a PR \o/
npm package: @patrickeddy/theonesdk
Description: To rule them all.
Latest version: 0.0.6

# The One - JS SDK

## Getting Started

1. [Get an API access token.](https://the-one-api.dev/sign-up)
1. Configure your project

```bash
npm install @patrickeddy/theonesdk
```

## Examples

```typescript
import TheOneClient from "@patrickeddy/theonesdk";

// client
const client = new TheOneClient({
  accessToken: process.env.ACCESS_TOKEN, // set your access token as an environment variable: https://nodejs.dev/en/learn/how-to-read-environment-variables-from-nodejs/
  apiVersion: "v2", // optional - api version
});

// books
await client.books();
await client.book("5cf5805fb53e011a64671582");
await client.bookChapters("5cf5805fb53e011a64671582");

// movies
await client.movies();
await client.movie("5cd95395de30eff6ebccde56");
await client.movieQuotes("5cd95395de30eff6ebccde56");

// characters
await client.characters();
await client.character("5cd99d4bde30eff6ebccfbbe");
await client.characterQuotes("5cd99d4bde30eff6ebccfbbe");

// quotes
await client.quotes();
await client.quote("5cd96e05de30eff6ebcce7e9");

// chapters
await client.chapters();
await client.chapter("6091b6d6d58360f988133b8b");

// pagination
await client.characters({ limit: 100 });
await client.characters({ page: 2 });
await client.characters({ offset: 3 });

// sorting
await client.characters({ sort: { name: "asc" } });
await client.quotes({ sort: { character: "desc" } });

// filtering
await client.characters({ match: { name: "Gandalf" } });
await client.characters({ notMatch: { name: "Gandalf" } });
await client.characters({ include: { race: ["Hobbit", "Human"] } });
await client.characters({ exclude: { race: ["Orc", "Goblin"] } });
await client.characters({ exists: ["name"] });
await client.characters({ notExist: ["name"] });
await client.characters({ regex: { name: "/foot/i" } });
await client.characters({ notRegex: { name: "/foot/i" } });

// comparison
await client.movies({ lt: { budgetInMillions: 100 } });
await client.movies({ gt: { academyAwardWins: 0 } });
await client.movies({ gte: { runtimeInMinutes: 160 } });
```

## Development

1. Clone repo and install dependencies

```bash
git clone git@github.com:patrickeddy/patrickeddy-sdk.git
cd cd patrickeddy-sdk
npm i
```

2. Test Driven Development (TDD)

```bash
npm run test:watch
```

3. Publish updates to NPM

```bash
npm run deploy
```
npm package: @patrickemoore/eslint-plugin-aliased-props
Description: An ESLint plugin to enforce aliased (named) types for React component props.
Author: Patrick Moore
Latest version: 1.0.6

# eslint-plugin-aliased-props

## What the plugin does

This ESLint plugin enforces the use of aliased (named) types for React component props. It ensures that props are defined using named interfaces or type aliases instead of inline types.

## Installation

To install the plugin, run:

```sh
npm install @patrickemoore/eslint-plugin-aliased-props --save-dev
```

## Configuration

To configure the plugin in your ESLint configuration file, add the following:

```json
{
  "plugins": ["@patrickemoore/aliased-props"],
  "rules": {
    "@patrickemoore/aliased-props/require-aliased-props": "error"
  }
}
```

## Examples

### Incorrect

```jsx
const MyComponent = (props: { name: string, age: number }) => {
  return <div>{props.name}</div>;
};
```

### Correct

```jsx
type Props = {
  name: string,
  age: number,
};

const MyComponent = (props: Props) => {
  return <div>{props.name}</div>;
};
```