open-index/open-npm huggingface dataset:
npm package: @nitpum/prettier-config
Description: Shared Prettier config
Author: nitpum
Latest version: 1.0.1

# @nitpum/prettier-config

[![npm version](https://img.shields.io/npm/v/@nitpum/prettier-config.svg?style=flat)](https://www.npmjs.com/package/@nitpum/prettier-config) ![GitHub package.json version](https://img.shields.io/github/package-json/v/nitpum/prettier-config) ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nitpum/prettier-config)

Shared Prettier config

## Installation

```bash
yarn add -D @nitpum/prettier-config
```

## Usage

Add the `prettier` key to `package.json` file

```json
  "prettier": "@nitpum/prettier-config"
```

OR

Create `.prettierrc`, `.prettierrc.json` or `.prettierrc.yml`

```
"@nitpum/prettier-config"
```

OR

Create `.prettierrc.js` or `.prettier.config.js` file

```js
module.exports = {
  ...require('@nitpum/prettier-config'),
}
```

## Support

If you think this is useful, you can support me ;)

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/F1F21LCOB)

## License

[MIT License](LICENSE)
npm package: @nitr0gen/shamir-secret-sharing
Description: Implementation of Shamir Secret Sharing
Author: Adam Walker
Latest version: 1.0.0

# Nitr0gen Shamir Secret Sharing

This is Nitr0gen's implementation of Shamir's secret sharing algorithm. Nitr0gen uses this as part of its key storage vault solution.

Original Paper : [How to share a secret](http://web.mit.edu/6.857/OldStuff/Fall03/ref/Shamir-HowToShareASecret.pdf) - By Adi Shamir


## How to split a secret

```typescript
// Init
const nitr0genSecret = new Nitr0genSecrets();

// String or hex can be passed
const splitMe = Buffer.from("Hello World").toString("hex");
const totalParts = 10;
const totalRequired = 5;

// Returns an array of strings
const secrets = await nitr0genSecret.generate(
  splitMe,
  totalParts,
  totalRequired
);
```

## How to combine a secret

```typescript
// Init
const nitr0genSecret = new Nitr0genSecrets();

// Array from the split above
const secrets = []

// As long as the array has meets required length
// the result will contain the hex version of "Hello World"
const result = await notabox.combine(secrets);
```
npm package: @nitra/capacitor-plugin-smartmerch-camera
Description: -
Latest version: 7.0.41

# @nitra/capacitor-plugin-smartmerch-camera

-

## Install

```bash
npm install @nitra/capacitor-plugin-smartmerch-camera
npx cap sync
```

## API

<docgen-index></docgen-index>

<docgen-api>
<!-- run docgen to generate docs from the source -->
<!-- More info: https://github.com/ionic-team/capacitor-docgen -->
</docgen-api>
npm package: @nitra/capacitor-sqlite-export
Description: -
Latest version: 8.0.3

# @nitra/capacitor-sqlite-export

-

## Install

```bash
npm install @nitra/capacitor-sqlite-export
npx cap sync
```

## Configuration

- Edit your `capacitor.config.json` like below

```json
// capacitor.config.json
{
  "plugins": {
    "CapacitorUpdater": {
      "androidDatabaseNamePrefix": "atlas_", // На Android экспорт только файлов базы данных где название будет начинаться с "atlas_", без указания параметра экспорт всех файлов баз данных
      "iosDatabaseLocation": "/CapacitorDatabase/" // Обязательный параметр на iOS экспорт всех файлов базы данных из указанной папки в Library
      "iosDatabaseDirectory": "documents" // Корневая папка БД на iOS (documents или library)
    }
  }
}
```

## API

<docgen-index>

* [`zipDatabase()`](#zipdatabase)
* [`exportDatabase()`](#exportdatabase)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### zipDatabase()

```typescript
zipDatabase() => Promise<{ uri: string; }>
```

**Returns:** <code>Promise&lt;{ uri: string; }&gt;</code>

--------------------


### exportDatabase()

```typescript
exportDatabase() => Promise<{ result: boolean; }>
```

**Returns:** <code>Promise&lt;{ result: boolean; }&gt;</code>

--------------------

</docgen-api>
npm package: @nitra/check-env
Description: Check that the critical environment variables are set
Author: François Best
Latest version: 4.1.3

# `check-env`

Check that the critical environment variables are set for your app,
and that you did not leave dangerous development overrides in production.

[![NPM](https://img.shields.io/npm/v/@nitra/check-env?color=red)](https://www.npmjs.com/package/@nitra/check-env)

## Installation

```bash
bun add @nitra/check-env
```

## Usage

```js
import { checkEnv } from '@nitra/check-env'

checkEnv(
  // Will log an error and throw if any of these are missing:
  [
    'SOME_API_SECRET',
    'PRIVATE_TOKEN',
    'SOME_OTHER_IMPORTANT_THING'
    // ...
  ]
)
```

If some required environment variable are not set, it will tell you and throw
an error at the end:
!["CLI output"](output.png)

## SKIP_CHECK_ENV

If the `SKIP_CHECK_ENV` environment variable is set, the library will skip required variable checks and will not throw. This can be useful for local development or specific CI scenarios.

```bash
SKIP_CHECK_ENV=1 bun node app.js
```

- With `SKIP_CHECK_ENV` enabled, you'll see a warning in logs: `SKIP_CHECK_ENV is set, skipping environment variable check`.
- The exported `env` will behave like plain `process.env` (no proxy checks for prior validation).

## License

[MIT](https://github.com/47ng/check-env/blob/master/LICENSE) - Made with ❤️ by [François Best](https://francoisbest.com)

Using this package at work ? [Sponsor me](https://github.com/sponsors/franky47) to help with support and maintenance.
npm package: @nitra/checkenv
Description: Check that the critical environment variables are set
Author: François Best
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `check-env`

Check that the critical environment variables are set for your app,
and that you did not leave dangerous development overrides in production.

[![NPM](https://img.shields.io/npm/v/@nitra/check-env?color=red)](https://www.npmjs.com/package/@nitra/check-env)
[![MIT License](https://img.shields.io/github/license/47ng/check-env.svg?color=blue)](https://github.com/47ng/check-env/blob/next/LICENSE)
[![Continuous Integration](https://github.com/47ng/check-env/workflows/Continuous%20Integration/badge.svg?branch=next)](https://github.com/47ng/check-env/actions)
[![Coverage Status](https://coveralls.io/repos/github/47ng/check-env/badge.svg?branch=next)](https://coveralls.io/github/47ng/check-env?branch=next)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=47ng/check-env)](https://dependabot.com)

## Installation

```
yarn add @nitra/check-env
```

## Usage

```js
import checkEnv from '@nitra/check-env'

checkEnv(
  // Will log an error and throw if any of these are missing:
  [
    'SOME_API_SECRET',
    'PRIVATE_TOKEN',
    'SOME_OTHER_IMPORTANT_THING'
    // ...
  ]
)
```

If some required environment variable are not set, it will tell you and throw
an error at the end:
!["CLI output"](output.png)

## License

[MIT](https://github.com/47ng/check-env/blob/master/LICENSE) - Made with ❤️ by [François Best](https://francoisbest.com)

Using this package at work ? [Sponsor me](https://github.com/sponsors/franky47) to help with support and maintenance.
npm package: @nitra/dremio
Description: DREMIO sql
Latest version: 1.3.2

# @nitra/dremio

##

see demo

```javascript
import { connect, query } from '@nitra/dremio'

// Підключаємось до DREMIO
connect('dremio://user:pass@127.0.0.1:9047?protocol=http')

console.log(await query('SELECT 11 AS p1, 22 AS p2 UNION SELECT 110 AS p1, 220 AS p2'))
```