open-index/open-npm huggingface dataset:
npm package: @iqrf/eslint-config
Description: ESLint configuration for IQRF projects
Author: MICRORISC s.r.o.
Latest version: 0.5.1

 # @iqrf/eslint-config

[![Build Status](https://gitlab.iqrf.org/open-source/iqrf-gateway-webapp-utils/eslint-config/badges/master/pipeline.svg)](https://gitlab.iqrf.org/open-source/iqrf-gateway-webapp-utils/eslint-config/-/commits/master)
[![NPM Version](https://img.shields.io/npm/v/%40iqrf%2Feslint-config)](https://www.npmjs.com/package/@iqrf/eslint-config)
[![NPM Downloads](https://img.shields.io/npm/dm/%40iqrf%2Feslint-config)](https://www.npmjs.com/package/@iqrf/eslint-config)
[![Apache License](https://img.shields.io/badge/license-APACHE2-blue.svg)](LICENSE)

Flat ESLint configuration for JavaScript, TypeScript, Vue.js and Vuetify 3.

## Features

- [ESLint flat configuration](https://eslint.org/docs/latest/use/configure/configuration-files)
- Languages:
  - JavaScript (with JSDoc)
  - JSON
  - Markdown
  - TypeScript
- State managements:
	- Pinia
- Testing frameworks:
  - Cypress
  - Vitest
- Vue.js 3
- vue-i18n
- Vuetify 3
- zod

## Installation

Requires Node.js and ESLint >= 8.56.0.

### npm

```bash
npm install --save-dev @iqrf/eslint-config
```

### pnpm

```bash
pnpm add --save-dev @iqrf/eslint-config
```

## Usage

Create a `eslint.config.mjs` file in the root of your project with the following content:

```javascript
import { iqrfEslint } from '@iqrf/eslint-config';

export default iqrfEslint(
	{
		cypress: true,
		ignores: ['dist/', 'node_modules/'],
		import: true,
		jsdoc: true,
		markdown: true,
		node: false,
		perfectionist: true,
		pinia: true,
		promise: true,
		regExp: true,
		typescript: true,
		vitest: true,
		vue: true,
		vueI18n: true,
		vuetify: true,
		zod: true,
	},
	[
		// Add your custom rules here
	],
);
```

### Visual Studio Code

Enable flat config if you are using ESLint < 9.0.0:

```json
{
	"eslint.experimental.useFlatConfig": true
}
```
npm package: @iqrf/iqrf-repository-client
Description: IQRF Repository JavaScript client library
Author: MICRORISC s.r.o.
Latest version: 0.1.5

# IQRF Repository JavaScript client

[![Build Status](https://gitlab.iqrf.org/open-source/iqrf-repository/javascript-client/badges/master/pipeline.svg)](https://gitlab.iqrf.org/open-source/iqrf-repository/javascript-client/-/commits/master)
[![Test coverage](https://gitlab.iqrf.org/open-source/iqrf-repository/javascript-client/badges/master/coverage.svg)](https://gitlab.iqrf.org/open-source/iqrf-repository/javascript-client/-/commits/master)
[![NPM Version](https://img.shields.io/npm/v/%40iqrf%2Fiqrf-repository-client)](https://www.npmjs.com/package/@iqrf/iqrf-repository-client)
[![NPM Downloads](https://img.shields.io/npm/dm/%40iqrf%2Fiqrf-repository-client)](https://www.npmjs.com/package/@iqrf/iqrf-repository-client)
[![Apache License](https://img.shields.io/badge/license-APACHE2-blue.svg)](LICENSE)
[![API documentation](https://img.shields.io/badge/docs-api-brightgreen.svg)](https://apidocs.iqrf.org/js/iqrf-repository-client/)

## Installation

```bash
npm install @iqrf/iqrf-repository-client
```

## How to use

Client is a wrapper around API methods of IQRF Repository providing shared configuration for Axios instance.

### Instantiate with defaults
```typescript
import { Client } from '@iqrf/iqrf-repository-client';

const client = new Client();
```

### Instantiate with custom configuration
```typescript
import { Client } from '@iqrf/iqrf-repository-client';

const config: AxiosRequestConfig = {
	baseURL: 'https://devrepo.iqrfalliance.org/api/',
};
const client = new Client({ config });
```

### Instantiate with custom Axios instance **advanced**
```typescript
import axios, { type AxiosRequestConfig } from 'axios';

import { Client } from '@iqrf/iqrf-repository-client';

const config: AxiosRequestConfig = {
	baseURL: 'https://repository.iqrfalliance.org/api/',
};
const axiosInstance = axios.create(config);
const client = new Client({ axiosInstance });
```