open-index/open-npm huggingface dataset:
npm package: @pague-dev/sdk-node
Description: Node.js SDK for the pague.dev API
Author: pague.dev
Latest version: 2.2.0

# @pague-dev/sdk-node

SDK oficial do [pague.dev](https://pague.dev) para Node.js e browsers.

## Instalação

```bash
npm install @pague-dev/sdk-node
```

## Uso

```typescript
import { Pdev } from '@pague-dev/sdk-node';

// Opção 1: Passar a API key diretamente
const pdev = new Pdev('pd_live_sua_api_key');

// Opção 2: Usar variável de ambiente PDEV_API_KEY
const pdev = new Pdev();

// PIX Dinâmico
await pdev.pix.create({ amount, description, customer });

// PIX QR Code Estático
await pdev.pix.createStaticQrCode({ amount, description });

// Charges
await pdev.charges.create({ projectId, name, amount, paymentMethods });
await pdev.charges.list({ page, limit });
await pdev.charges.get(id);

// Customers
await pdev.customers.create({ name, document });
await pdev.customers.list({ page, limit, search });

// Projects
await pdev.projects.create({ name, color });
await pdev.projects.list({ page, limit });

// Withdrawals (Saques PIX)
await pdev.withdrawals.create({ amount, pixKey, pixKeyType, holderName, holderDocument });
await pdev.withdrawals.create({ amount, bankAccountId });

// Transactions
await pdev.transactions.get(id);

// Webhooks
import { verifyWebhookSignature, parseWebhook } from '@pague-dev/sdk-node';

const signature = req.headers['x-webhook-signature'] as string;
if (!verifyWebhookSignature(req.body, signature, 'your_webhook_secret')) {
  return res.status(401).send('Invalid signature');
}

const event = parseWebhook(req.body);
```

## Recursos

- **PIX** - Cobranças instantâneas (dinâmico e estático)
- **Charges** - Links de pagamento
- **Customers** - Gestão de clientes
- **Projects** - Organização por projetos
- **Withdrawals** - Saques via PIX (avulso ou conta salva)
- **Transactions** - Consulta de transações
- **Webhooks** - Verificação de assinatura e parsing de eventos

## Exemplo

Veja uma aplicação completa usando o SDK: **[github.com/pague-dev/sdk-example](https://github.com/pague-dev/sdk-example)**

## Documentação

Guias e exemplos completos: **[docs.pague.dev](https://docs.pague.dev)**

## Licença

MIT
npm package: @pagueveloz/cookies
Description: Giving easy access to browser cookies.
Latest version: 0.0.2

[![CircleCI](https://circleci.com/gh/PagueVeloz/pv-cookies.svg?style=svg)](https://circleci.com/gh/PagueVeloz/pv-cookies)
[![Coverage Status](https://coveralls.io/repos/github/PagueVeloz/pv-cookies/badge.svg?branch=master)](https://coveralls.io/github/PagueVeloz/pv-cookies?branch=master)
![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)
[![npm version](https://badge.fury.io/js/%40pagueveloz%2Fcookies.svg)](https://badge.fury.io/js/%40pagueveloz%2Fcookies)

# @paguevleoz/cookies

Giving easy access to browser cookies.
[Visit on NPM](https://www.npmjs.com/package/pv-cookies)

setCookie(name, string) - Allows you to pass a name and a string value to store a cookie on the user's browser. It maps the name to the string.

readCookie(name) - returns the value of your of your cookie.

deleteCookie(name) - removes the cookie from the browser history.


### Installation
|Package Manager|Command|
|-|-|
|Yarn| `yarn add @pagueveloz/cookies` |
|NPM| `npm install --save @pagueveloz/cookies` |


### usage

2) Import these methods in es6 like so:
`import { setCookie, readCookie, deleteCookie } from '@pagueveloz/cookies'`
npm package: @pagueveloz/print
Description: A simple NPM package to pattern PagueVeloz reports.
Author: Janderson Constantino
Latest version: 1.0.3

# @pagueveloz/print

[![CircleCI](https://circleci.com/gh/PagueVeloz/pv-print.svg?style=svg)](https://circleci.com/gh/PagueVeloz/pv-print)
[![Coverage Status](https://coveralls.io/repos/github/PagueVeloz/pv-print/badge.svg?branch=master)](https://coveralls.io/github/PagueVeloz/pv-print?branch=master)

## Getting started

### 1. Install dependencies

- Run `yarn install` to install the library's dependencies.

### 2. Build for development

- Having all the dependencies installed run `yarn dev`. This command will generate a `UMD` unminified bundle under the `dist` folder and a `CommonJS` bundle under the `lib` folder. It will also watch for changes in source files to recompile.

### 3. Build for production

- Having all the dependencies installed run `yarn build`. This command will generate two `UMD` bundles (unminified and minified) under the `dist` folder and a `CommonJS` bundle under the `lib` folder.

## Scripts

- `yarn build` - Produces production version of library under `dist` folder for UMD bundle and `lib` folder for `CommonJS` bundle.
- `yarn build:umd` - Produces an **unminified** UMD bundle under the `dist` folder.
- `yarn build:umdmin` - Produces an **minified** UMD bundle under the `dist` folder.
- `yarn build:commonjs` - Produces a CommonJS bundle under the `lib` folder.
- `yarn dev` - Produces a development version of library (both UMD and CommonJS) and runs a watcher to watch for changes.
- `yarn dev:umd` - Produces an unminified UMD bundle under the `dist` folder and runs a watcher to watch for changes.
- `yarn dev:commonjs` - Produces a CommonJS bundle under the `lib` folder and runs a watcher to watch for changes.
- `yarn test` - Runs the tests.
- `yarn coverage` - Runs the tests and provides with test coverage information.
- `yarn lint` - Lints the source code with ESlint.
- `yarn clean` - Deletes `dist`, `lib` and `coverage` folders.
- `yarn prepare` - Run both BEFORE the package is packed and published, on local npm install without any arguments, and when installing git dependencies.
npm package: @paguro/browser-detection
Description: JavaScript library for detecting browsers and platforms using feature testing.
Author: Paguro Team
Latest version: 0.2.0

# Paguro's Browser Detection [![CircleCI](https://circleci.com/gh/paguro/browser-detection/tree/master.svg?style=svg)](https://circleci.com/gh/paguro/browser-detection/tree/master)

[![npm version](https://badge.fury.io/js/%40paguro%2Fbrowser-detection.svg)](https://badge.fury.io/js/%40paguro%2Fbrowser-detection)

JavaScript library for detecting browsers and platforms using feature testing.

* **Accurate**: it doesn't rely on the User-Agent string like other libraries
[\[1\]](https://www.zdnet.com/article/google-to-phase-out-user-agent-strings-in-chrome/)
[\[2\]](https://forums.developer.apple.com/thread/119186).

* **Solid**: it's tested against a [large dataset](https://github.com/paguro/browser-detection/blob/master/testing/test-cases.js)
of Browser Object Model (BOM).

## Getting started

To add _Paguro's Browser Detection_ library to your project:

```
$ yarn add @paguro/browser-detection
```

## Usage

```js
import BrowserDetection from '@paguro/browser-detection'; // ES6

const detectedBrowser = BrowserDetection();
console.log(detectedBrowser);

/* -- Output
  {
     browser: 'Firefox',
     browserVersion: 67,
     layout: 'Gecko',
     layoutVersion: 67,
     os: 'Windows',
     osVersion: 95
  }
*/
```

## Detection

### Browsers

| Browser            | Latest version |
|--------------------|:--------------:|
| Internet Explorer  |       11       |
| Edge               |     44 / 80    |
| Chrome             |     40 / 80    |
| Chromium           |     40 / 80    |
| Firefox            |       74       |
| Safari             |       13       |
| Opera              |       66       |
| Brave              |       1.3      |

### Layout engines

| Browser    | Latest version |
|------------|:--------------:|
| Trident    |       -        |
| EdgeHTML   |       -        |
| Gecko      |       -        |
| WebKit     |       -        |
| Blink      |       -        |
| KHTML      |       -        |
| Presto     |       -        |

### Operating systems

| Browser    | Latest version |
|------------|:--------------:|
| OS X       |       -        |
| Windows    |       -        |
| Linux      |       -        |
| Unix       |       -        |
| Solaris    |       -        |
| iOS        |       -        |
| Android    |       -        |

## Known bugs and issues

- The fields `layoutVersion` and `osVersion` are not populated yet

## Roadmap for Release 0.2.0

- [ ] Support for mobile browsers (most popular ones)
- [ ] Populate the field `layoutVersion`
- [ ] Populate the field `osVersion`
- [ ] Sandbox to prevent feature spoofing

## Authors

- **Giacomo Trudu** - [Wicker25](https://github.com/Wicker25)
- **Giuseppe Trotta** - [ohpe](https://github.com/ohpe)

See also the list of [contributors](https://github.com/paguro/browser-detection/graphs/contributors)
who participated in this project.

## License

_Paguro's Browser Detection_ is [MIT licensed](https://github.com/paguro/browser-detection/blob/master/LICENSE).
npm package: @pagyew/safolor
Description: Convert colors to 8-bit web-safe colors
Author: Vladislav Tsepilov
Latest version: 0.2.1

# @pagyew/safolor

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]
[![License][license-src]][license-href]

Convert colors to 8-bit web-safe colors

> This package is designed to be used as `devDependencies` and bundled into your dist.

## Installation

```
npm i @pagyew/safolor
```

## Usage

```ts
import { safolor } from '@pagyew/safolor'
```

### `safolor(color: HEX | RGB): HEX`

Shortcut for `safolor.hex()`

### `.hex(color: HEX | RGB): HEX`

Accepts a color in HEX or RGB format and returns a safecolor in HEX format

```ts
safolor.hex('#123456') // #003366
```

### `.rgb(color: HEX | RGB): RGB`

Accepts a color in HEX or RGB format and returns a safecolor in RGB format

```ts
safolor.rgb('#123456') // rgb(0, 51, 102)
```

### `.rgbObj(color: HEX | RGB): RGBObject`

Accepts a color in HEX or RGB format and returns a safecolor's values in RGB object

```ts
safolor.rgbObj('#123456') // { r: 0, g: 51, b: 102 }
```

## License
[MIT](./LICENSE) License © 2024-PRESENT [Vladislav Tsepilov](https://github.com/pagyew)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@pagyew/safolor?style=flat&colorA=000033&colorB=6699cc
[npm-version-href]: https://npmjs.com/package/@pagyew/safolor
[npm-downloads-src]: https://img.shields.io/npm/dm/@pagyew/safolor?style=flat&colorA=003300&colorB=99cc66
[npm-downloads-href]: https://npmjs.com/package/@pagyew/safolor
[bundle-src]: https://img.shields.io/bundlephobia/minzip/@pagyew/safolor?style=flat&colorA=330000&colorB=cc6699&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=@pagyew/safolor
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=003333&colorB=669999
[jsdocs-href]: https://www.jsdocs.io/package/@pagyew/safolor
[license-src]: https://img.shields.io/github/license/pagyew/safolor.svg?style=flat&colorA=333300&colorB=999966
[license-href]: https://github.com/pagyew/safolor/blob/main/LICENSE