open-index/open-npm huggingface dataset:
npm package: @nnmax/uniswap-sdk-v2
Description: 🛠 An SDK for building applications on top of Uniswap.
Latest version: 2.0.4

# Uniswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/Uniswap/uniswap-sdk.git
```

Move into the uniswap-sdk working directory

```sh
cd uniswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @nnmbzr/assetpack-core
Description: AssetPack fork with bitmap font support based on PR #116. Added custom implementation that supports bitmap fonts processing.
Latest version: 1.7.1

# @nnmbzr/assetpack-core

## AssetPack Fork with Bitmap Font Support

This is a fork of the official [AssetPack](https://github.com/pixijs/assetpack) with added bitmap font support based on [PR #116](https://github.com/pixijs/assetpack/pull/116).

### Key Features
- ✨ **Bitmap Font Support**: Added custom implementation for bitmap font processing
- 🔧 **All Original Features**: Maintains all functionality from the original AssetPack
- 🎯 **PixiJS Compatible**: Designed to work seamlessly with PixiJS applications

### Installation

```bash
npm install @nnmbzr/assetpack-core
```

---

## Original AssetPack Description

AssetPack is a tool for optimising assets for the web. It can be used to transform, combine, compress assets.
Any asset that you want to transform or optimise into something else can be done with AssetPack.

AssetPack is framework agnostic, and can be used with any framework you like, such as PixiJS, Threejs, Phaser, etc.
It uses a plugin based system to allow you to create your own plugins to do whatever you want with your assets.

---

**Original AssetPack Documentation**: https://pixijs.io/assetpack/

**This Fork**: https://github.com/nnmbzr/assetpack

**Changes**: Added custom assetpack implementation that supports bitmap fonts based on [PR #116](https://github.com/pixijs/assetpack/pull/116)
npm package: @nnnni/demo
Description: add hello
Latest version: 2.0.0

# demo

#### Description
npm-test

#### Software Architecture
Software architecture description

#### Installation

1.  xxxx
2.  xxxx
3.  xxxx

#### Instructions

1.  xxxx
2.  xxxx
3.  xxxx

#### Contribution

1.  Fork the repository
2.  Create Feat_xxx branch
3.  Commit your code
4.  Create Pull Request


#### Gitee Feature

1.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
3.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4.  The most valuable open source project [GVP](https://gitee.com/gvp)
5.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
npm package: @nnode/core-data
Description: NativeCode Data Library
Author: opensource@nativecode.com
Latest version: 1.5.0

# `data`

> Library to work with document repositories.

## Usage

```bash
npm install @nnode/core-data
```

## Usage Details

You have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.

## Example

```typescript

// Create interface that represent models.
export interface EnvironmentVariable {
  name: string
  value: string
}

export interface User {
  home: string
  username: string
}

// Create model documents.
export interface EnvironmentVariableDocument extends Document, EnvironmentVariable {
  timestamp: number
}

export interface UserDocument extends Document, User {
  timestamp: number
}

// Create primary document context.
export class TestContext extends DocumentContext<CouchConfig> {
  users: Users = new Users('user', this.store)
  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)

  initialize() {
    return Promise.resolve()
  }
}

// Create specific document stores.
export class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {
  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []

  protected get keyProperties(): string[] {
    return ['name']
  }
}

export class Users extends Documents<UserDocument> {
  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []

  protected get keyProperties(): string[] {
    return ['username']
  }
}
```
npm package: @nnode/lincoln
Description: Provides a slim abstraction for logging.
Author: opensource@nativecode.com
Latest version: 0.7.0

# License
Copyright 2020 NativeCode Development <opensource@nativecode.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without
limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
Software, and to permit persons to whom the Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
npm package: @nnode/lincoln-debug
Description: Provides a slim abstraction for logging.
Author: opensource@nativecode.com
Latest version: 0.5.1

# License
Copyright 2020 NativeCode Development <opensource@nativecode.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without
limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
Software, and to permit persons to whom the Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
npm package: @nnote/y-protocols
Description: Yjs encoding protocols
Author: Kevin Jahns
Latest version: 1.0.5-nim4

# Yjs Protocols
> Binary encoding protocols for *syncing*, *awareness*, and *history inforamtion*

This API is unstable and subject to change.

## API

### Awareness Protocol

```js
import * as awarenessProtocol from 'y-protocols/awareness.js'
```

The Awareness protocol implements a simple network agnostic algorithm that
manages user status (who is online?) and propagate awareness information like
cursor location, username, or email address. Each client can update its own
local state and listen to state changes of remote clients.

Each client has an awareness state. Remote awareness are stored in a Map that
maps from remote client id to remote awareness state. An *awareness state* is an
increasing clock attached to a schemaless json object.

Whenever the client changes its local state, it increases the clock and
propagates its own awareness state to all peers. When a client receives a remote
awareness state, and overwrites the clients state if the received state is newer
than the local awareness state for that client. If the state is `null`, the
client is marked as offline. If a client doesn't receive updates from a remote
peer for 30 seconds, it marks the remote client as offline. Hence each client
must broadcast its own awareness state in a regular interval to make sure that
remote clients don't mark it as offline.

#### awarenessProtocol.Awareness Class

```js
const awareness = new awarenessProtocol.Awareness()
```

<dl>
  <b><code>clientID:number</code></b>
  <dd>A unique identifier that identifies this client.</dd>
  <b><code>getLocalState():Object&lt;string,any&gt;|null</code></b>
  <dd>Get the local awareness state.</dd>
  <b><code>setLocalState(Object&lt;string,any&gt;|null)</code></b>
  <dd>
Set/Update the local awareness state. Set `null` to mark the local client as
offline.
  </dd>
  <b><code>setLocalStateField(string, any)</code></b>
  <dd>
Only update a single field on the local awareness object. Does not do
anything if the local state is not set.
  </dd>
  <b><code>getStates():Map&lt;number,Object&lt;string,any&gt;&gt;</code></b>
  <dd>
Get all client awareness states (remote and local). Maps from clientID to
awareness state.
  </dd>
  <b><code>
on('change', ({ added: Array&lt;number&gt;, updated: Array&lt;number&gt;
removed: Array&lt;number&gt; }, [transactionOrigin:any]) => ..)
  </code></b>
  <dd>
Listen to remote and local state changes on the awareness instance.
  </dd>
  <b><code>
on('update', ({ added: Array&lt;number&gt;, updated: Array&lt;number&gt;
removed: Array&lt;number&gt; }, [transactionOrigin:any]) => ..)
  </code></b>
  <dd>
Listen to remote and local awareness changes on the awareness instance.
This event is called even when the awarenes state does not change.
  </dd>
</dl>

### License

[The MIT License](./LICENSE) © Kevin Jahns
npm package: @nnpmai/react-native-static-safe-area-insets
Description: React Native package that exposed the Safe Area insets as constants
Author: nnpmai
Latest version: 2.2.0

# React Native Static Safe Area Insets

[![MIT License](https://img.shields.io/apm/l/atomic-design-ui)](https://github.com/Gaspard-Bruno/react-native-static-safe-area-insets/blob/main/LICENSE)
[![GitHub last commit](https://img.shields.io/github/last-commit/Gaspard-Bruno/react-native-static-safe-area-insets)](https://github.com/Gaspard-Bruno/react-native-static-safe-area-insets/graphs/commit-activity)

React Native package that exposes the Safe Area insets as constants (iOS and Android notch are supported).

## Getting Started

### Install
```sh
yarn add react-native-static-safe-area-insets
cd ios && pod install # for iOS
```

### Usage

### Constants
```javascript
import StaticSafeAreaInsets from 'react-native-static-safe-area-insets';

console.log('SafeArea insets top:', StaticSafeAreaInsets.safeAreaInsetsTop)
// SafeArea insets top: 44

console.log('SafeArea insets bottom:', StaticSafeAreaInsets.safeAreaInsetsBottom)
// SafeArea insets bottom: 34

console.log('SafeArea insets left:', StaticSafeAreaInsets.safeAreaInsetsLeft)
// SafeArea insets left: 44

console.log('SafeArea insets right:', StaticSafeAreaInsets.safeAreaInsetsRight)
// SafeArea insets right: 44
```

### Current Insets
```javascript
import StaticSafeAreaInsets from 'react-native-static-safe-area-insets';

StaticSafeAreaInsets.getSafeAreaInsets((values) => {
  console.log('SafeArea insets top:', values.safeAreaInsetsTop)
  // SafeArea insets top: 44

  console.log('SafeArea insets bottom:', values.safeAreaInsetsBottom)
  // SafeArea insets bottom: 34

  console.log('SafeArea insets left:', values.safeAreaInsetsLeft)
  // SafeArea insets left: 44

  console.log('SafeArea insets right:', values.safeAreaInsetsRight)
  // SafeArea insets right: 44
})
```

## Roadmap
- Continue to support iOS & Android API updates

## Contributing
Pull requests are welcome! Feel free to open issues and submit PRs, we will review them and answer back as fast as possible.

## 🚀 Authors

- [@jpamarohorta](https://www.github.com/jpamarohorta)
- [@CarlosUvaSilva](https://www.github.com/CarlosUvaSilva)
npm package: @nnqq/vk-bots-constructor-lib
Description: Common libs and wrappers for  [vk-bots-constructor](https://github.com/nnqq/vk-bots-constructor)
Author: nnqq
Latest version: 1.0.6

Common libs and wrappers for  [vk-bots-constructor](https://github.com/nnqq/vk-bots-constructor)

```
npm i @nnqq/vk-bots-constructor-lib
```
npm package: @nnsdao/nnsdao-kit
Description: NnsDao Kit
Author: neptune0xf
Latest version: 1.2.1

# Nnsdao Kit

## Install

### Local dev,install latest

Tag `#dev` must provide

```sh
npm i https://github.com/NnsDao/nnsdao-kit.git#dev
```

### Online prod

#### Install from Github

```sh
npm i https://github.com/NnsDao/nnsdao-kit.git
```

#### Install from npm

Config registry

```txt
# .npmrc
@nnsdao:registry=https://registry.npmjs.org/
```

```sh
npm install @nnsdao/nnsdao-kit
```

#### Install from Github packages

Config registry

```txt
# .npmrc
@nnsdao:registry=https://npm.pkg.github.com
```

```sh
npm install @nnsdao/nnsdao-kit
```

## Usage

### Connect Plug && Stoic

<details close>
<summary>details</summary>
 
```js
// React Hooks
const verifyConnection = async () => {
  const connected = await window.ic.plug.isConnected();
  if (!connected) await window.ic.plug.requestConnect({ whitelist, host });
};

useEffect(async () => {
verifyConnection();
}, []);

````
</details>


### Import Actor,Actor Instance Type
```js
import { idlFactory } from '@nnsdao/nnsdao-kit/market/index';
import type { _SERVICE } from '@nnsdao/nnsdao-kit/market/types';
````

## Config Typescript Path Alias

Config Path alias at `tsconfig.json`

```json
{
  "compilerOptions": {
    // xxx
    "paths": {
      "@nnsdao/nnsdao-kit/*": ["./node_modules/@nnsdao/nnsdao-kit/src/*"]
      // WARNING
      // if you already have @** config ,then @nnsdao must place before @/*
      // such as
      // "@nnsdao/nnsdao-kit/*": ["./node_modules/@nnsdao/nnsdao-kit/src/*"],
      // "@/*": ["./src/*"],
    }
  }
}
```

TODO

1. auto download candid ,binding to another language,update local file
npm package: @nnsprotocol/resolver-wagmi
Description: Welcome to `@nnsprotocol/resolver-wagmi`, your go-to package for resolving NNS names `.⌐◨-◨` directly in your application using wagmi. Our package provides a simple and intuitive API, closely aligned with wagmi's design principles, making domain resolutio
Author: apbigcod.⌐◨-◨
Latest version: 0.0.1

# @nnsprotocol/resolver-wagmi `.⌐◨-◨`

Welcome to `@nnsprotocol/resolver-wagmi`, your go-to package for resolving NNS names `.⌐◨-◨` directly in your application using wagmi. Our package provides a simple and intuitive API, closely aligned with wagmi's design principles, making domain resolution a breeze in your React applications.

## Features 🌟

- **Simple & Familiar API**: Seamlessly integrate with your existing wagmi setup.
- **One React Hook**: Use `useNnsName` to resolve NNS names without any hassle.
- **Automated Fallback**: Don't worry about unresolved names; we automatically fall back to `.eth` names.
- **Wagmi 2**: Compatible with the latest wagmi 2.

## Installation Guide 📦

Get started with `@nnsprotocol/resolver-wagmi` by installing the package using your preferred package manager:

```bash
npm install @nnsprotocol/resolver-wagmi

yarn add @nnsprotocol/resolver-wagmi

pnpm add @nnsprotocol/resolver-wagmi

bun add @nnsprotocol/resolver-wagmi
```

## Usage Example 🛠️

Integrating `@nnsprotocol/resolver-wagmi` in your application is straightforward. Here's a basic example to get you started:

```ts
import { useNnsName } from '@nnsprotocol/resolver-wagmi'

function App() {
  const result = useNnsName({
    address: "0x543D53d6f6d15adB6B6c54ce2C4c28a5f2cCb036"
  })

  // Access the resolved data
  console.log(result.data)
}

export default App;
```

In this example, `useNnsName` is a React hook that accepts an object with an `address` property. The hook takes care of resolving the NNS name associated with the given address and provides the result in `result.data`.

## Try It Yourself ✨

Ready to dive in? You can find this example in [examples/wagmi](../../examples/wagmi) and see how `@nnsprotocol/resolver-wagmi` can fit into your project.

## Contribute 🤝

Contributions are always welcome! Feel free to submit issues or pull requests if you have suggestions or improvements.

---

Start resolving NNS names with ease and bring a new level of functionality to your wagmi-powered applications with `@nnsprotocol/resolver-wagmi`. Happy coding! 🚀
npm package: @nntam2013/expo-pixi
Description: Pixi.js V4 Expo
Latest version: 2.1.1

# expo-pixi

[Pixi.js V4](https://pixijs.download/v4.8.9/docs/) for Expo.

## Installation

```bash
$ npm install @Bartozzz/expo-pixi
```

```bash
$ yarn add @Bartozzz/expo-pixi
```

Additionally, you'll need to install the following dependencies:

```bash
$ expo install expo-gl expo-asset
```

## Usage

```ts
// ✅
import { PIXI } from "expo-pixi";

// ❌
import * as PIXI from "pixi.js";
```

Now you can create a new `Application` the way you would on the web, but be sure to pass in a `WebGLRenderingContext` and pass all the configuration options in the first argument:

```ts
// ✅
const app = new PIXI.Application({ width, height, context });

// ❌
const app = new PIXI.application(width, height);
```

Finally, because of the way React Native currently works you must load in assets asynchronously.

```ts
// ✅
const texture = await PIXI.Texture.from(expoAsset);
const texture = await PIXI.Texture.from(require("../assets/monster.png"));
const texture = await PIXI.Texture.from("https://cdn.example.com/monster.png");

// ✅
const sprite = await PIXI.Sprite.from(texture);
const sprite = await PIXI.Sprite.from(expoAsset);
const sprite = await PIXI.Sprite.from(require("../assets/monster.png"));
const sprite = await PIXI.Sprite.from("https://cdn.example.com/monster.png");
```

## Example

You can find plenty of examples in the `example/` application. A minimal working example is:

```js
import { GLView } from "expo-gl";
import { PIXI } from "@Bartozzz/expo-pixi";

export function App() {
  return (
    <Expo.GLView
      style={{ flex: 1 }}
      onContextCreate={async (context) => {
        const app = new PIXI.Application({ context });
        const sprite = PIXI.Sprite.from(require("../assets/monster.png"));

        app.stage.addChild(sprite);
      }}
    />
  );
}
```
npm package: @nntdgrss/node-modules-cleaner
Description: Утилита для поиска и удаления неиспользуемых node_modules директорий
Author: nntdgrss
Latest version: 1.0.0

# Node Modules Cleaner (nmcleaner)

Утилита командной строки для поиска и удаления неиспользуемых node_modules директорий.

## Возможности

- 🔍 Поиск всех node_modules в системе
- 🗑️ Интерактивное удаление выбранных директорий
- 🕒 Автоматическое определение неиспользуемых node_modules
- 📊 Группировка по размеру и статусу использования
- 💾 Создание резервных копий перед удалением
- 🔄 Тестовый режим (dry-run) для безопасной проверки

## Установка

```bash
npm install -g node-modules-cleaner
```

## Использование

### Базовые команды

```bash
# Показать все node_modules
nmcleaner list

# Интерактивное удаление (по умолчанию)
nmcleaner

# Удалить все node_modules
nmcleaner rm -m all

# Удалить только неиспользуемые
nmcleaner rm -m unused
```

### Дополнительные опции

```bash
# Поиск с указанием директории
nmcleaner list -p /path/to/projects

# Ограничение глубины поиска
nmcleaner list -d 3

# Тестовый режим (без реального удаления)
nmcleaner rm -m all --dry-run

# Создание резервной копии перед удалением
nmcleaner rm -m all --backup
```

### Полный список опций

#### Команда list

- `-p, --path <путь>` - Начальная директория для поиска
- `-d, --depth <число>` - Максимальная глубина поиска (-1 для неограниченной)

#### Команда rm

- `-p, --path <путь>` - Начальная директория
- `-m, --mode <режим>` - Режим удаления:
  - `all` - удалить все
  - `unused` - удалить неиспользуемые
  - `interactive` - интерактивный выбор (по умолчанию)
- `--dry-run` - Тестовый режим без реального удаления
- `--backup` - Создать резервную копию перед удалением

## Особенности

- 🎯 Исключение вложенных node_modules для предотвращения проблем с зависимостями
- 📊 Расчет размера директорий и отображение в удобном формате
- 🎨 Цветовая индикация размера и статуса использования
- 🔄 Интерактивный выбор с предпросмотром изменений
- ⚡ Быстрый поиск благодаря оптимизированным алгоритмам
- 🔒 Безопасное удаление с подтверждением

## Требования

- Node.js >= 14.0.0

## Лицензия

MIT
npm package: @nntrn/datalib-extras
Description: datalib + a little more
Author: annie tran
Latest version: 1.0.1

# datalib-extras

## Installation

```
npm install @nntrn/datalib-extras
```

or

```
yarn add @nntrn/datalib-extras
```


## Usage

```js
const fs = require('fs')
const dl = require('@nntrn/datalib-extras')

dl.extras.summary(data)
dl.extras.flatten(data)
```
npm package: @nntrn/eslint-config
Description: eslint config rules
Author: annie tran
Latest version: 1.1.5

# @nntrn/eslint-config

## install

```
npm install @nntrn/eslint-config
```

## example usage 

```js
// .eslintrc.js
const eslintConfig = require('@nntrn/eslint-config')

module.exports = eslintConfig.getConfig()
```
npm package: @nntrn/stylelint-config
Description: taken and tweaked from [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap)
Author: annie tran
Latest version: 1.0.0

# @nntrn/stylelint-config

taken and tweaked from [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap)

## CSS

```json
{
  "extends": " @nntrn/stylelint-config/css"
}
```

## SCSS

```json
{
  "extends": " @nntrn/stylelint-config/scss"
}
```
npm package: @nntruong02061999/cloudflare-scraper
Description: Your library description
Latest version: 1.0.7

# cloudflare-scraper

Chrome is used to retrieve cloudflare cookies then **got** is used to perform requests making this solution reliable but also pretty fast.

> Version 2 is a complete rewrite: 
> - it doesn't use puppeteer but vanilla chromium,
> - **request** package was replaced by **got** ,
> - headless support only works on **linux** out of the box but should be doable on windows or mac os with the help of docker or wsl.
> - extra features were removed (captcha bypass, etc..)

## Install

```bash
npm install cloudflare-scraper
```

Make sure you alse have **xfvb** linux package installed

```bash
# for ubuntu users
sudo apt-get install xvfb
``` 

## Usage

### ES Modules
```javascript
import got from '@nntruong02061999/cloudflare-scraper';

(async () => {
  try {
    const response = await got.get('https://nowsecure.nl');
    console.log(response.body);
  } catch (error) {
    console.log(error);
  }
})();
```

### CommonJS
```javascript
const got = require('@nntruong02061999/cloudflare-scraper');

(async () => {
  try {
    const response = await got.get('https://nowsecure.nl');
    console.log(response.body);
  } catch (error) {
    console.log(error);
  }
})();
```

## API

Check **got** [documenatation](https://github.com/sindresorhus/got#documentation)

## Env variables

### NODE_CHROMIUM_SKIP_INSTALL (boolean)

By default, chromium is downloaded but on `npm install` command but you can skip the installation by enabling this variable.

```bash
export NODE_CHROMIUM_SKIP_INSTALL=true
```

### CHROME_EXECUTABLE_PATH (string)

Specify a chrome executable

```bash
export CHROME_EXECUTABLE_PATH=/path/to/chrome
```

### CF_SCRAPER_HEADLESS (boolean)

Enable/disable headless mode (enabled by default)

Note: headless mode uses "xfvb" and is only available on linux

```bash
export CF_SCRAPER_HEADLESS=false
```

## TODO:

- add proxy support
- docker example
npm package: @no-996/axios-api-webpack-plugin
Description: Webpack-plugin to create declare d.ts file for axios-api.
Author: no-996
Latest version: 1.1.6

# axios-api-webpack-plugin

此 webpack 插件是服务于[axios-api](https://github.com/no-996/axios-api)的 d.ts 生成工具

## 目录

- [安装使用](#安装使用)
- [依赖说明](#依赖说明)
- [版本日志](#版本日志)

## 安装使用

```bash
npm install --save @no-996/axios-api-webpack-plugin
```

```js
// webpack.config.js
// ...
const AxiosApiWebpackPlugin = require('@no-996/axios-api-webpack-plugin')
// ...
module.exports = {
  // ...
  plugins: [
    // ...
    new AxiosApiWebpackPlugin({
      // 接口定义文件
      configFile: './src/api/options/index.js',
      // 输出d.ts声明文件（与实例输出文件所在目录一致、文件名一致）
      declareOutputFile: './src/api/index.d.ts',
    }),
    // ...
  ],
  // ...
}
```

接口定义文件示例：

```js
// src/api/options/index.js
export default [
  {
    name: 'posts',
    des: '帖子',
    url: '/posts',
    params: {
      userId: undefined,
    },
    children: [
      {
        name: 'comments',
        des: '评论',
        url: '/posts/{postId}/comments',
        urlParams: {
          postId: undefined,
        },
        metadata: {
          urlParams: {
            postId: {
              name: '帖子id',
              required: true,
            },
          },
        },
      },
    ],
    metadata: {
      params: {
        userId: {
          name: '用户id',
          des: '用户唯一标识',
          type: 'string',
        },
      },
    },
  },
  {
    name: 'albums',
    url: '/albums',
    des: '专辑',
    params: {
      id: undefined,
    },
    children: [],
  },
  {
    name: 'photos',
    url: '/photos',
    des: '相片',
    params: {},
    children: [],
    cache: 3000,
  },
  {
    name: 'todos',
    url: '/todos',
    des: '待办事项',
    params: {},
    children: [],
    cancel: 'current',
  },
  {
    name: 'users',
    url: '/users',
    des: '用户',
    params: {},
    children: [],
    cancel: 'previous',
  },
]
```

实例输出文件示例：

```js
// src/api/index.js
import ApiModule from '@no-996/axios-api'

import options from './options'

export default new ApiModule(
  // 接口定义
  options,
  // axios配置
  {
    baseURL: 'https://jsonplaceholder.typicode.com',
    onUploadProgress: (progressEvent, percentCompleted) => {
      console.log(percentCompleted)
    },
  },
  // axios-api配置
  {
    cacheStorage: localStorage,
    debug: true,
  }
)
```

## 依赖说明

```json
"dependencies": {
  "colors": "^1.4.0",
  "lodash": "^4.17.21",
  "prettier": "^2.4.1"
}
```

## 版本日志

### v1.1.6

Mix parent declare name

### v1.1.5

bug fix

### v1.1.4

bug fix

### v1.1.3

Add axios instance declear

### v1.1.2

Add console words

### v1.1.1

Use webpack instead async import

### v1.0.11

Fix param declare missing when without metadata

### v1.0.10

Fix ApiModuleOptions import

### v1.0.9

Fix request comment

### v1.0.8

Support urlParams ts info

### v1.0.7

Change input file from object to array

### v1.0.6

Add method comment

### v1.0.5

Add comment after default data

### v1.0.4

Change url comment lines

### v1.0.3

Change url comment placement

### v1.0.2

Add url comment

### v1.0.1

Fix file path resolve

### v1.0.0

First release version.
npm package: @no-auth/next
Description: Auth library for nextjs
Author: Sagar Variya
Latest version: 0.0.2

# @no-auth/next

Simple, lightweight authentication middleware and context provider for Next.js applications.

## 🚀 Features

- Seamless authentication middleware
- React context provider with SWR
- Easy-to-use hook for user data
- Minimal setup required

## 📦 Installation

```bash
npm install @no-auth/next
# or
yarn add @no-auth/next
# or
pnpm add @no-auth/next
```

## 🔧 Setup

### 1. Middleware Configuration

In your Next.js `middleware.ts`:

Note: if you are using `src/` folder then you need to add this file at `src/middleware.ts` else it should be in the root of your project folder

```typescript
import { noAuthMiddleware } from "@no-auth/next";
import { NextResponse } from "next/server";
import { MiddlewareConfig, NextRequest } from "next/server";

export const config: MiddlewareConfig = {
  matcher: [
    "/((?!api|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)",
  ],
};

export const publicRouteStartsWith: string[] = [];

export default async function middleware(request: NextRequest) {
  /**
   * Pre-process
   */

  const response: NextResponse = await noAuthMiddleware(
    request,
    publicRouteStartsWith,
  );

  /**
   * Post-process
   */

  return response;
}
```

### 2. Root Layout Provider

In your root `layout.tsx`:

```typescript
import { NoAuthProvider } from '@no-auth/next';

export default function RootLayout({ children }) {
  return (
    <html>
      <body>
        <NoAuthProvider>
          {children}
        </NoAuthProvider>
      </body>
    </html>
  );
}
```

### 3. Using User Data

In any component:

```typescript
import { useUser } from '@no-auth/next';

function ProfilePage() {
  const { user, isLoading, error } = useUser();

  if (isLoading) return <div>Loading...</div>;
  if (error) return <div>Error loading user</div>;

  return <div>Welcome, {user.name}!</div>;
}
```

## 🛠 API Reference

### `noAuthMiddleware(options)`

#### Options

- `publicRoutes`: Array of routes accessible without authentication

### `<NoAuthProvider />`

Wraps your application with authentication context using SWR.

### `useUser()`

#### Returns

- `user`: Current user data
- `isUserLoading`: Boolean indicating data loading state

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## 📄 License

MIT License

## 🐛 Issues

Found a bug? [Open an issue](https://github.com/Sagar-v4/no-auth/issues)
npm package: @no-brainer/sdk
Description: Lightweight client for archiving API responses to NoBrainer
Latest version: 0.1.2

# @nobrainer/sdk

Lightweight client to archive API responses and events to NoBrainer.

## Install

```bash
npm install @nobrainer/sdk
# or
yarn add @nobrainer/sdk


import { NoBrainer } from '@nobrainer/sdk';

const client = new NoBrainer({
  apiKey: process.env.NOBRAINER_API_KEY!
});

const data = son();

await client.capture({
  type: 'api',
  response: data,
  endpoint: '/customers',
  tag: 'stripe-customers',
  timestamp: new Date().toISOString()
});
npm package: @no-dap/apple-sign-in
Description: Forked package for Capacitor Sign in with Apple
Author: no-dap
Latest version: 0.1.3

# Capacitor Sign in With Apple
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Capacitor plugin to support [Sign in With Apple](https://developer.apple.com/sign-in-with-apple/get-started/)

<!-- Badges -->
<a href="https://npmjs.com/package/@capacitor-community/apple-sign-in">
  <img src="https://img.shields.io/npm/v/@capacitor-community/apple-sign-in.svg">
</a>
<a href="https://npmjs.com/package/@capacitor-community/apple-sign-in">
  <img src="https://img.shields.io/npm/l/@capacitor-community/apple-sign-in.svg">
</a>

## Maintainers

| Maintainer | GitHub | Social | Sponsoring Company |
| -----------| -------| -------| -------------------|
| Max Lynch | [mlynch](https://github.com/mlynch) | [@maxlynch](https://twitter.com/maxlynch) | Ionic |

Maintenance Status: Partially Maintained (help wanted)

## Installation

- `npm i @capacitor-community/apple-sign-in`

## Usage (iOS)

```ts
import { Plugins } from '@capacitor/core'
import { ResponseSignInWithApplePlugin } from '@capacitor-community/apple-sign-in';

const { SignInWithApple } = Plugins

try {
  const response: ResponseSignInWithApplePlugin = await SignInWithApple.Authorize()
} catch (e) {
}
```

## Instructions (Android/Web)

The plugin currently works for iOS only. It's made only to pass Apple's new terms. Add the Apple button only after you've checked that the user is on iOS device. Web support is planned for Apple's JS support ([help wanted!](https://github.com/capacitor-community/apple-sign-in/issues/1)).

```ts
const { Device } = Plugins

let device = await Device.getInfo()

if (device.platform === 'ios') {
  // Show the button with SignInWithApple.Authorize()
}
```

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://rdlabo.jp"><img src="https://avatars1.githubusercontent.com/u/9690024?v=4" width="100px;" alt=""/><br /><sub><b>Masahiko Sakakibara</b></sub></a><br /><a href="https://github.com/capacitor-community/apple-sign-in/commits?author=rdlabo" title="Code">💻</a></td>
  </tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @no-day/fp-ts-generators
Description: Seeded pseudorandom generators for structured data.
Latest version: 0.1.0-rc.4

# fp-ts-generators

Seeded pseudorandom generators for structured data.

<!-- AUTO-GENERATED-CONTENT:START (TOC) -->

- [What it is](#what-it-is)
- [What it's not](#what-its-not)
- [Install](#install)
- [Documentation](#documentation)
- [Example](#example)
- [JavaScript usage](#javascript-usage)
- [Inspiration](#inspiration)
<!-- AUTO-GENERATED-CONTENT:END -->

# What it is

`fp-ts-generators` is a library that's only purpose is pseudo random data generation. It can be useful in many fields, e.g. in generative art, mocking APIs or as well as property based testing.

With combinators like

```ts
recordOf({ foo: int(), bar: boolean });
```

and a given seed, we can deterministically generate random looking data.

# What it's not

This library is not a testing library in the style of quick-check. However, a testing library can be built on top of this package.

# Install

Uses `fp-ts` as a peer dependency.

```bash
npm install fp-ts @no-day/fp-ts-generators
```

# Documentation

- [API Docs](https://no-day.github.io/fp-ts-generators/modules/index.ts.html)

# Example

```ts
import { Gen, generateSample, recordOf, boolean, string, int, mkSeed, arrayOf, float } from '@no-day/fp-ts-generators';
import * as assert from 'assert';
import { pipe } from 'fp-ts/function';

// Let's first of all define a type for which we want to generate some pseudo random data
type Person = {
  name: string;
  age: number;
  hobbies: string[];
  details: { active: boolean; trusted: boolean };
  height: number;
};

// And let's define a specific generator for that type:
const genPerson: Gen<Person> = recordOf({
  name: string(),
  age: int({ min: 0, max: 100 }),
  hobbies: arrayOf(string()),
  height: float({ min: 0.0, max: 2.0 }),
  details: recordOf({ active: boolean, trusted: boolean }),
});

assert.deepStrictEqual(
  pipe(
    genPerson,
    // Here we generate 3 samples with the given seed `42`.
    // The result will always be the same.
    generateSample({ count: 3, seed: mkSeed(42), size: 5 })
  ),
  [
    {
      age: 84,
      details: {
        active: false,
        trusted: true,
      },
      height: 0.6403711704913259,
      hobbies: [':noq0', 'h}I=', '<U', ';A', ''],
      name: '}',
    },
    {
      age: 9,
      details: {
        active: true,
        trusted: true,
      },
      height: 1.988632641722106,
      hobbies: [],
      name: 'Y',
    },
    {
      age: 80,
      details: {
        active: true,
        trusted: false,
      },
      height: 0.16447428536086742,
      hobbies: ['{@3 ', '=)nr', 'ue', 'oK[*', 'IC'],
      name: ' (8',
    },
  ]
);
```

See the `examples` folder for more usage demos.

# JavaScript usage

The library can be used in plain JavaScript as well, you'll find a demo in the examples folder, too.

# Inspiration

Parts of this library are ported from [purescript-quickcheck](https://github.com/purescript/purescript-quickcheck).