open-index/open-npm huggingface dataset:
npm package: @1inch/limit-order-protocol-utils
Description: Utility for limit order protocol
Latest version: 4.0.1

<div align="center">
    <img src="./.github/1inch_github_w.svg#gh-light-mode-only">
    <img src="./.github/1inch_github_b.svg#gh-dark-mode-only">
</div>

# Utils library for 1inch Limit Orders Protocol V4

![example branch parameter](https://github.com/1inch/limit-order-protocol-utils/actions/workflows/pr.yml/badge.svg?branch=master)
![NPM Downloads](https://img.shields.io/npm/dw/@1inch/limit-order-protocol-utils)
![NPM License](https://img.shields.io/npm/l/@1inch/limit-order-protocol-utils)

This is the package of utilities for working with the `1inch Limit Orders Protocol` 

You can find general overview and docs on 1inch limit orders protocol [here](https://docs.1inch.io/limit-order-protocol/).
## Docs
- Read about [1inch Limit Order Protocol](https://docs.1inch.io/docs/limit-order-protocol/introduction) before getting started
- [Docs on `limit-order-protocol-utils`](https://docs.1inch.io/docs/limit-order-protocol/utils/about)

<br />

## Smart contract addresses

-   Latest addresses is always [here](https://github.com/1inch/limit-order-protocol-utils/blob/master/src/limit-order-protocol.const.ts)
-   [Smart contracts source code](https://github.com/1inch/limit-order-protocol)

<br />

## Installation
```sh
npm install @1inch/limit-order-protocol-utils
# or
yarn add @1inch/limit-order-protocol-utils
```

> ***Note***
>
> `@1inch/limit-order-protocol` package is now used for smart contract distribution and no linger contains this library.

<br />

---


## Test coverage

| Statements                                                               | Branches                                                                    | Functions                                                               | Lines                                                               |
| ------------------------------------------------------------------------ | --------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------- |
| ![Statements](https://img.shields.io/badge/statements-85.22%25-yellow.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-88.81%25-yellow.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-74.78%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-85.22%25-yellow.svg?style=flat) |

<br />

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md)

## Changelog

See [CHANGELOG.md](./CHANGELOG.md)
npm package: @1inch/limit-order-settlement
Description: 1inch Limit Order Settlement
Latest version: 3.1.0

# 1inch Limit Order Settlement Smart Contract

[![Build Status](https://github.com/1inch/limit-order-settlement/workflows/CI/badge.svg)](https://github.com/1inch/limit-order-settlement/actions)
[![Coverage Status](https://codecov.io/gh/1inch/limit-order-settlement/branch/master/graph/badge.svg?token=ZtdQHKURYO)](https://codecov.io/gh/1inch/limit-order-settlement)
npm package: @1inch/st1inch
Description: St1inch
Latest version: 2.2.0

# St1inch

[![Build Status](https://github.com/1inch/st1inch/workflows/CI/badge.svg)](https://github.com/1inch/st1inch/actions)
[![Coverage Status](https://codecov.io/gh/1inch/st1inch/branch/main/graph/badge.svg?token=SY4G407XGM)](https://codecov.io/gh/1inch/st1inch)
npm package: @1kbirds/chidori
Description: Chidori is a library for building and running reactive AI agents.
Latest version: 0.1.26

# Chidori

## Generating Python Client
- maturin develop --features python

## Generating Nodejs Client
- npm run build-release


Python patterns were implemented while referring to https://github.com/pydantic/pydantic-core/tree/main/python/pydantic_core
npm package: @1kbirds/chidori-prompt-format
Description: ``` wasm-pack build ```
Latest version: 0.1.35

### Build

```
wasm-pack build
```

### Test

To test the wasm package directly
```
wasm-pack test --headless --firefox
```

To test the UX of the JS interface
```
yarn run build-local
yarn run test-js
```

### Publish to NPM 

```
wasm-pack publish
```
npm package: @1kdanny/n8n-nodes-firecrawl
Description: n8n community node for Firecrawl API
Author: Mentor AI
Latest version: 1.0.2

# n8n-nodes-firecrawl

This is an n8n community node for the Firecrawl API. It provides integration with Firecrawl's web scraping and crawling capabilities.

[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.

[Installation](#installation)  
[Operations](#operations)  
[Credentials](#credentials)  
[Compatibility](#compatibility)  
[Resources](#resources)  

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

```bash
npm install n8n-nodes-firecrawl
```

## Operations

The Firecrawl node supports the following operations:

### Scrape URL

Scrape a single URL for content, with options for different output formats and content filtering.

### Crawl Website

Start a crawl job on a website from a base URL. Returns a crawl job ID which can be used to check status.
Note: This operation starts an asynchronous process and returns immediately with a job ID.

### Map Website

Retrieve all links (sitemap) from a website. Returns a list of URLs found on the site.

### Extract Data

Extract structured data from web pages using prompts or schema definitions. Returns an extraction job ID.
Note: This operation starts an asynchronous process and returns immediately with a job ID.

## Credentials

You need a Firecrawl API key to use this node. Get your API key from your Firecrawl account dashboard.

## Compatibility

This node was developed and tested on n8n version 0.195.0

## Resources

* [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
* [Firecrawl API Documentation](https://docs.firecrawl.dev/)
npm package: @1mill/sops
Description: ```bash npm install @1mill/sops ```
Latest version: 0.0.8

# @1mill/sops

```bash
npm install @1mill/sops
```

```node
const { Sops } = require('@1mill/sops')

const sops = new Sops({})

exports.handler = async (cloudevent, ctx) => {
  ctx.callbackWaitsForEmptyEventLoop = false

  const allMySecrets = await sops.decrypt()
  const aSingleSecret = await sops.decrypt('my secret name')

  return {
    allMySecrets,
    aSingleSecret,
  }
}
```

|                 | Required | Default                                                                                                                    | Notes                                                                                  |
|-----------------|----------|----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|
| accessKeyId     | yes      | process.env.MILL_SOPS_AWS_ACCESS_KEY_ID || process.env.AWS_ACCESS_KEY_ID || process.env.AWS_ACCESS_KEY                     |                                                                                        |
| endpoint        |          | process.env.MILL_SOPS_AWS_ENDPOINT || process.env.AWS_ENDPOINT                                                             | Good for local development environment when using Localstack (or other AWS simulators) |
| file            |          | process.env.MILL_SOPS_FILE \|\| process.env.NODE_ENV === 'production' ? 'prod.secrets.sops.json' : 'dev.secrets.sops.json' |                                                                                        |
| region          | yes      | process.env.MILL_SOPS_AWS_REGION || process.env.AWS_REGION                                                                 |                                                                                        |
| secretAccessKey | yes      | process.env.MILL_SOPS_AWS_SECRET_ACCESS_KEY || process.env.AWS_SECRET_ACCESS_KEY                                           |                                                                                        |
| sessionToken    |          | process.env.AWS_SESSION_TOKEN                                                                                              |                                                                                        |
npm package: @1n/is-unicode-supported
Description: Detect whether the terminal supports unicode
Latest version: 0.0.1

# @1n/is-unicode-supported

> Detect whether the terminal supports Unicode

This can be useful to decide whether to use Unicode characters or fallback ASCII characters in command-line output.

Note that the check is quite naive. It just assumes all non-Windows terminals support Unicode and hard-codes which Windows terminals that do support Unicode. However, I have been using this logic in some popular packages for years without problems.

## Install

```sh
npm install @1n/is-unicode-supported
```

## Usage

```js
import isUnicodeSupported from '@1n/is-unicode-supported';

isUnicodeSupported(); //=> true

```

## API

### isUnicodeSupported()

Returns a `boolean` for whether the terminal supports Unicode.
npm package: @1nd/fabric-history-pure-browser
Description: Undo and redo implementations on fabric-pure-browser version of fabric.js
Author: Alim Ozdemir
Latest version: 1.6.0

# fabric-history

[![npm](https://img.shields.io/npm/v/fabric-history)](https://www.npmjs.com/package/fabric-history) ![npm](https://img.shields.io/npm/dw/fabric-history)

Fabric.js history implementation

# Setup

## Node projects
```bash
npm i fabric-history
```

```javascript
import 'fabric-history';
```

## HTML

```html
<script src="https://raw.githubusercontent.com/lyzerk/fabric-history/master/src/index.js"></script>
```

# Usage

Following commands will undo and redo the canvas.

```javascript
canvas.undo();

canvas.redo();
```

# Example

```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Fabric with history</title>
</head>
<body>
  <canvas></canvas>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/3.4.0/fabric.min.js"></script>
  <script src="//raw.githubusercontent.com/lyzerk/fabric-history/master/src/index.js"></script>

  <script>
    const canvas = new fabric.Canvas(document.querySelector('canvas'), {
      isDrawingMode: true
    })

    document.addEventListener('keyup', ({ keyCode, ctrlKey } = event) => {
      // Check Ctrl key is pressed.
      if (!ctrlKey) {
        return
      }

      // Check pressed button is Z - Ctrl+Z.
      if (keyCode === 90) {
        canvas.undo()
      }

      // Check pressed button is Y - Ctrl+Y.
      if (keyCode === 89) {
        canvas.redo()
      }
    })
    </script>
</body>
</html>
```

You can find an advanced example on demo folder.

# Events

- history:append
  - Fired when a history appended to stack
- history:undo
  - Fired when an undo process is happening
- history:redo
  - Fired when a redo process is happening
- history:clear
  - Fired when whole history cleared

# Callbacks


```javascript
canvas.undo(function() { 
  console.log('post undo');
});

canvas.redo(function() { 
  console.log('post redo');
});
```

# Functions

- undo
- redo
- clearHistory
npm package: @1nf053c/mapbox-map
Description: a reactjs component that renders a mapbox map centered on a given location
Author: 1nf053c
Latest version: 0.1.7

# @1nf053c/mapbox-map

a Reactjs component that renders a mapbox map

<img alt="screenshot of @1nf053c/mapbox-map reactjs component" src="https://github.com/1NF053C/mapbox-map/blob/260260e388031f06e0c9d4b27008175eab3dc9c6/%401nf053c__mapbox-map.png" />

### Getting Started

```sh
npm i @1nf053c/mapbox-map
```
<a href="https://www.npmjs.com/package/@1nf053c/mapbox-map">https://www.npmjs.com/package/@1nf053c/mapbox-map</a>

```tsx
"use client";

import { MapboxMap } from "@1nf053c/mapbox-map";

export function MapboxMapContainer() {

    const config = {
        publicKey="YOUR_MAPBOX_PUBLIC_KEY",
        startLng=50,
        startLat=-51,
        zoomLevel=12
    }

    return <MapboxMap
        publicKey={config.publicKey}
        startLng={config.startLng}
        startLat={config.startLat}
        zoomLevel={config.zoomLevel} 
    />
}

// 1. import MapboxMap component
// 2. Create or fetch your MapboxMap config
// 3. Render MapboxMap component with config
```

### What's Next:

##### Feature extensions with hooks

```tsx
"use client";

import {
    MapboxMap,
    MapboxMapAthleticsAdvisorPlugin,
    MapboxMapRestaurantAdvisorPlugin,
    // ...etc
} from "@1nf053c/mapbox-map";

export function MapboxMapContainer() {

    const config = {
        publicKey="YOUR_MAPBOX_PUBLIC_KEY",
        startLng=50,
        startLat=-51,
        zoomLevel=12
    };

    const plugins = [MapboxMapAthleticsAdvisor, MapboxMapRestaurantAdvisor];
    
    return (
        <MapboxMap
            plugins={plugins}
            publicKey={config.publicKey}
            startLng={config.startLng}
            startLat={config.startLat}
            zoomLevel={config.zoomLevel} 
        />
    );
}
```
npm package: @1o1w1/create-react-app
Description: Create React apps with no build configuration.
Latest version: 3.0.0

# create-react-app

This package includes the global command for [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @1o1w1/react-app-polyfill
Description: Polyfills for various browsers including commonly used language features
Latest version: 1.0.0

# react-app-polyfill

This package includes polyfills for various browsers.
It includes minimum requirements and commonly used language features used by [Create React App](https://github.com/facebook/create-react-app) projects.

### Usage

First, install the package using Yarn or npm:

```sh
npm install react-app-polyfill
```

or

```sh
yarn add react-app-polyfill
```

## Supporting Internet Explorer

You can import the entry point for the minimal version you intend to support to ensure that the minimum language features are present that are required to use Create React App. For example, if you import the IE9 entry point, this will include IE10 and IE11 support.

These modules ensure the following language features are present:

1. `Promise` (for `async` / `await` support)
1. `window.fetch` (a Promise-based way to make web requests in the browser)
1. `Object.assign` (a helper required for Object Spread, i.e. `{ ...a, ...b }`)
1. `Symbol` (a built-in object used by `for...of` syntax and friends)
1. `Array.from` (a built-in static method used by array spread, i.e. `[...arr]`)

_If you need more features, see the [Polyfilling other language features](#polyfilling-other-language-features) section below._

#### Internet Explorer 9

```js
// This must be the first line in src/index.js
import 'react-app-polyfill/ie9';

// ...
```

#### Internet Explorer 11

```js
// This must be the first line in src/index.js
import 'react-app-polyfill/ie11';

// ...
```

## Polyfilling other language features

You can also polyfill stable language features not available in your target browsers. If you're using this in Create React App, it will automatically use the `browserslist` you've defined to only include polyfills needed by your target browsers when importing the `stable` polyfill. **Make sure to follow the Internet Explorer steps above if you need to support Internet Explorer in your application**.

```js
// This must be the first line in src/index.js
import 'react-app-polyfill/stable';

// ...
```

If you are supporting Internet Explorer 9 or Internet Explorer 11 you should include both the `ie9` or `ie11` and `stable` modules:

For IE9:

```js
// These must be the first lines in src/index.js
import 'react-app-polyfill/ie9';
import 'react-app-polyfill/stable';

// ...
```

For IE11:

```js
// These must be the first lines in src/index.js
import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';

// ...
```
npm package: @1o1w1/react-error-overlay
Description: An overlay for displaying stack frames.
Author: Joe Haddad
Latest version: 5.1.10

# `react-error-overlay`

`react-error-overlay` is an overlay which displays when there is a runtime error.

## Development

When developing within this package, make sure you run `npm start` (or `yarn start`) so that the files are compiled as you work.
This is run in watch mode by default.

If you would like to build this for production, run `npm run build:prod` (or `yarn build:prod`).<br>
If you would like to build this one-off for development, you can run `NODE_ENV=development npm run build` (or `NODE_ENV=development yarn build`).
npm package: @1o1w1/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 3.0.15

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @1password/connect
Description: JavaScript/Typescript SDK for 1Password Connect
Author: 1Password
Latest version: 1.4.2

<!-- Image sourced from https://blog.1password.com/introducing-secrets-automation/ -->
<img alt="" role="img" src="https://blog.1password.com/posts/2021/secrets-automation-launch/header.svg"/>

<div align="center">
	<h1>1Password Connect SDK JS</h1>
	<p>Access your 1Password items in your JavaScript/TypeScript applications through your self-hosted <a href="https://developer.1password.com/docs/connect">1Password Connect server</a>.</p>
	<a href="/QUICKSTART.md">
		<img alt="Get started" src="https://user-images.githubusercontent.com/45081667/226940040-16d3684b-60f4-4d95-adb2-5757a8f1bc15.png" height="37"/>
	</a>
</div>

---

The 1Password Connect SDK JS provides your JavaScript and TypeScript applications access to the 1Password Connect API hosted on your infrastructure and leverages the power of [1Password Secrets Automation](https://1password.com/product/secrets/).

This library can be used by Node.js applications, tools, and other automations to access and manage items in 1Password vaults.

## 💾 Installation

You can install the SDK using npm or Yarn.

```sh
npm install @1password/connect
```

```sh
yarn add @1password/connect
```

## ✨ Get Started

Refer to [QUICKSTART.md](/QUICKSTART.md) for code examples on how to start using this library.

## 🛠️ Development

From the root of the repo you can run the following `make` commands. You can also run `make help` to list out all available commands and their descriptions.

```sh
make build
make install
make test
```

## 💙 Community & Support

-   File an [issue](https://github.com/1Password/connect-sdk-js/issues) for bugs and feature requests.
-   Join the [Developer Slack workspace](https://join.slack.com/t/1password-devs/shared_invite/zt-1halo11ps-6o9pEv96xZ3LtX_VE0fJQA).
-   Subscribe to the [Developer Newsletter](https://1password.com/dev-subscribe/).

## 🔐 Security

1Password requests you practice responsible disclosure if you discover a vulnerability.

Please file requests by sending an email to bugbounty@agilebits.com.
npm package: @1password/docusaurus-plugin-stored-data
Description: Load local or external data to be used in Docusaurus
Author: 1Password
Latest version: 1.0.0

# docusaurus-plugin-stored-data

Load local or external data to be used in Docusaurus

## Usage

Start by installing the dependency:

- Yarn: `yarn add @1password/docusaurus-plugin-stored-data`
- NPM: `npm i @1password/docusaurus-plugin-stored-data`

Add the plugin to your `docusaurus.config.js` file's "plugins" option. If you're new to Docusaurus plugins, [click here to learn more](https://docusaurus.io/docs/using-plugins) about installing and configuring them.

These are the available plugin options:

```ts
type Options = {
  /**
   * Define key-value pairs, where the key is the ID you want to assign to the data,
   * and the value is a local path or external URL to retrieve the data from.
   */
  data: Record<string, string>;
};
```

Here's an example of how to set the plugin's options, loading both local and external data:

```js
// docusaurus.config.js
const { resolve } = require("path");

plugins: [
  [
    '@1password/docusaurus-plugin-stored-data',
    {
      data: {
        "blog-feed": "https://example.com/blog.xml",
        "rust-example": resolve(__dirname, "static", "example.rs"),
      }
    }
  ]
],
```

Now, when you start your dev server or build the site, the plugin will retrieve the contents of each location specified in the config and store it as plugin data. Access this data in your site using one of the plugin's hooks, which takes the ID and returns the data in various formats.

The following hooks are available:

- `@theme/useStoredData` - Returns the data unformatted
- `@theme/useStoredJson` - Returns the data parsed as JSON
- `@theme/useStoredFeed` - Returns the data parsed as RSS XML into JSON structure using [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser).

Here's an example of how you might use the plugin to retrieve and render blog posts from an RSS feed:

```jsx
// FeedItems.tsx

import useStoredFeed from "@theme/useStoredFeed";

const FeedItems = () => {
  const feedData = useStoredFeed("blog-feed");
  return (
    <ul>
      {feedData.item.map((item) => (
        <li key={item.guid}>{item.title}</li>
      ))}
    </ul>
  );
};
```

Or, if your data can be rendered without modification you can simply call a hook directly inside an MDX file:

```jsx
// example.mdx

import CodeBlock from "@theme/CodeBlock";
import useStoredData from "@theme/useStoredData";

<CodeBlock language="rust">{useStoredData("rust-example")}</CodeBlock>;
```

If you're using TypeScript you will need to reference the plugin's types:

```ts
// types.d.ts

/// <reference types="@1password/docusaurus-plugin-stored-data" />
```

## License

MIT
npm package: @1pay/react-1pay
Description: React 1pay payment SDK
Author: 1paynet
Latest version: 1.0.1

# React 1pay payment SDK

## Install

```bash
npm i @1pay/react-1pay
```

## Usage

```js
import React1pay from "@1pay/react-1pay";

React1pay.initialize("your wallet address");
```

## Example

TODO: Add example and test
More example can be found in [test suite](src/onepay.test.js)

## Reference

#### React1pay.initialize(WALLET_ADDRESS, options)

| Parameter        | Notes                                                            |
| ---------------- | ---------------------------------------------------------------- |
| WALLET_ADDRESS   | `string` Required                                                |
| options.chain    | `array` Currently support `ethereum` `arbitrum` `optimism` `bsc` |
| options.testMode | `boolean` Default false (WIP)                                    |
| options.currency | `array` Currently support `usdt` `usdc` `dai`                    |

#### React1pay.pay(params)

| Parameter        | Notes                                                                  |
| ---------------- | ---------------------------------------------------------------------- |
| params.amount    | `number` Required payment value                                        |
| params.token     | `string` Required default payment token value                          |
| params.note      | `string` anything that can help you identify the buyer and the product |
| params.onSuccess | `function` callback when payment succeeded                             |
| params.onError   | `function` callback when payment failed                                |

```js
PaymentResponse : {
  hash: String,     // transaction hash, maybe undefined if payment failed
  success: Boolean, // true if payment success, otherwise false
  network: String,  // blockchain name
  amount: Number,   // transaction value
  token: String,    // token name
  note: String      // transaction note,
  paymentTime: Date // the date time this payment is processed
}
```

For detail documents, please refer to [1pay docs](https://1pay.network/documents)

## License

MIT
npm package: @1pedro/tsconfig
Description: Shared Typescript config
Author: Pedro
Latest version: 0.1.3

# tsconfig
Pedro's Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)

## Install

```
$ npm install --save-dev @1pedro/tsconfig
```

## Usage

`tsconfig.json`

```json
{
	"extends": "@1pedro/tsconfig",
	"compilerOptions": {
		"outDir": "build",
		"target": "es5"
	}
}
```


## License

MIT