open-index/open-npm huggingface dataset:
npm package: @1ech/sdk
Description: 🛠 An SDK for building applications on top of 1ech.
Latest version: 2.4.8

# 1ech SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## 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/1ech/1ech-swap-sdk.git
```

Move into the 1ech-sdk working directory

```sh
cd 1ech-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: @1eg/theme-editor-cli
Description: <!-- usage --> ```sh-session $ npm install -g @1eg/theme-editor-cli $ 1eg-theme-editor COMMAND running command... $ 1eg-theme-editor (-v|--version|version) @1eg/theme-editor-cli/1.17.0 linux-x64 node-v16.20.2 $ 1eg-theme-editor --help [COMMAND] USAGE   $ 
Latest version: 1.17.0

# Usage

<!-- usage -->
```sh-session
$ npm install -g @1eg/theme-editor-cli
$ 1eg-theme-editor COMMAND
running command...
$ 1eg-theme-editor (-v|--version|version)
@1eg/theme-editor-cli/1.17.0 linux-x64 node-v16.20.2
$ 1eg-theme-editor --help [COMMAND]
USAGE
  $ 1eg-theme-editor COMMAND
...
```
<!-- usagestop -->

# Commands

<!-- commands -->
* [`1eg-theme-editor config`](#1eg-theme-editor-config)
* [`1eg-theme-editor help [COMMAND]`](#1eg-theme-editor-help-command)
* [`1eg-theme-editor install`](#1eg-theme-editor-install)
* [`1eg-theme-editor start`](#1eg-theme-editor-start)

## `1eg-theme-editor config`

Configurar o ambiente

```
USAGE
  $ 1eg-theme-editor config
```

## `1eg-theme-editor help [COMMAND]`

display help for 1eg-theme-editor

```
USAGE
  $ 1eg-theme-editor help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_

## `1eg-theme-editor install`

Instalar o ambiente

```
USAGE
  $ 1eg-theme-editor install
```

## `1eg-theme-editor start`

Iniciar o ambiente

```
USAGE
  $ 1eg-theme-editor start
```
<!-- commandsstop -->
npm package: @1f8/eslint-config-react
Description: 1F8 ReactJS Linter
Author: 1F8
Latest version: 1.2.0

# ESlint Setup for 1F8

Helps you with styling your code.
Don't believe there's any correct way, but this way fits our style.

[NPM](https://www.npmjs.com/package/@1f8/eslint-config-react)
[Github](https://github.com/1f8/eslint-react-js)

### Instructions

```bash
# Gatsby
yarn add -D @1f8/eslint-config-react
cp node_modules/@1f8/eslint-config-react/.eslintignore .eslintignore

# React
cp node_modules/@1f8/eslint-config-react/.eslintignore .eslintignore
npx install-peerdeps -D @1f8/eslint-config-react
touch .eslintrc
```

```json
/** .eslintrc */
{
  "extends": ["@1f8/eslint-config-react"]
}
```

### Debug

* If you have any typescript files that isn't being ignored, an error will be thrown if you dont have a typescript linter
npm package: @1f8/eslint-config-typescript-nodejs
Description: 1F8 NodeJS Typescript Linter for Backend
Author: 1F8
Latest version: 3.0.4

# ESlint TYPESCRIPT Setup for 1F8

Helps you with styling your code.
Don't believe there's any correct way, but this way fits our style.

[NPM](https://www.npmjs.com/package/@1f8/eslint-config-typescript-nodejs)

### Instructions

This package needs Node.js (^18.18.0, ^20.9.0, or >=21.1.0)
Uses Eslint ^9.16.0

```
yarn add -D @1f8/eslint-config-typescript-nodejs
npx install-peerdeps --dev @1f8/eslint-config-typescript-nodejs --yarn
cp node_modules/@1f8/eslint-config-typescript-nodejs/next.eslintrc.js eslint.config.js
```

You can add these scripts in to lint

```json
"scripts": {
  "lint": "eslint --ignore-pattern .gitignore",
  "lint:fix": "eslint --ignore-pattern .gitignore --fix",
}
```

You can overwrite rules to fit your needs by changing the eslint.config.js
```js
import f8eslintConfigTypescriptNodeJS from '@1f8/eslint-config-typescript-nodejs'

export default [
  f8eslintConfigTypescriptNodeJS,
  {
    rules: {
      'no-console': 'off',
    }
  }
]
```
npm package: @1fn0t/cra-template-typescript-tailwindcss
Description: A Typescript template for Create React App that has Tailwind pre-configured
Latest version: 1.0.0

## LICENSE

Copyright 2023 Isaac Lomax

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: @1hive/deployments-aragon-os
Description: Template to develop ethereum smart contracts
Author: wighawag
Latest version: 1.1.1

# AragonOS deployment scripts <a href="https://aragon.org/"><img align="right" src=".github/assets/aragon.svg" height="80px" /></a>

## INSTALL

```bash
yarn
```

## DEPLOY

```bash
npx hardhat --network <network> deploy
```

## REFERENCE LINKS

[AragonOS smart contract implementation](https://github.com/aragon/aragonOS)

[Hardhat deploy plugin (used for deployment scripts)](https://github.com/wighawag/hardhat-deploy/blob/master/README.md)
npm package: @1hive/honeyswap-sdk
Description: 🛠 An SDK for building applications on top of Honeyswap.
Latest version: 2.0.0

# 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: @1hive/tecommons-ui
Description: <p> TEC UI it's a fork from AragonUI </p>
Author: rperez89
Latest version: 1.0.6

## Overview

This library is a fork from aragonUI library used to build user interfaces.
The theme of the library was customized for being used in the TokenEngineer projects from now on.
It provides the components needed to build experiences that feel integrated with TEC ecosystem, and can be used both client or server side.

The complete documentation can be found on the [aragonUI website](https://ui.aragon.org/).

## Getting Started

If you are unfamiliar with aragonUI, we recommend you to start with the [getting started page](https://ui.aragon.org/getting-started/). If you only want to know how to add aragonUI to your project, have a look at the quick setup:

### Quick setup

Install tecUI alongside styled-components from npm::

```sh
npm install --save @tecommons/ui styled-components
```

Copy its assets into your public directory:

```sh
npx copy-aragon-ui-assets ./public
```

Wrap your app with the `Main` component:

```jsx
import React from 'react'
import { Main } from '@aragon/ui'

function App() {
  return (
    <Main>
      <h1>Hello aragonUI!</h1>
    </Main>
  )
}
```

_Your project is now ready to use TEC-UI. 💫_

Open https://ui.aragon.org/ to see the list of the available components and learn how to use them.

### Assets

TEC-UI require some assets (e.g. fonts) in order to work properly. These need to be copied where they can be accessed by the library, like the `public/` directory of a project using [Create React App](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-assets-outside-of-the-module-system).

Copy these assets using the provided `copy-aragon-ui-assets` command:

```sh
npx copy-aragon-ui-assets ./public
```

By default, it will create a directory named `aragon-ui` in the specified directory.

This emplacement is communicated to the library through the `<Main>` component. The default path is `./aragon-ui/`, but you can change it using the `assetsUrl` prop:

```jsx
import { Main } from '@aragon/ui'

const App = () => (
  <Main assetsUrl="http://example.com/aragon-ui-assets/">
    <h1>Hello aragonUI!</h1>
  </Main>
)
```

You may also want to add it as a build step in your project, so that tecUI can be upgraded without having to worry about this.

```json
"scripts": {
  "sync-assets": "copy-aragon-ui-assets ./public",
  "build": "npm run sync-assets && react-scripts build",
  "start": "npm run sync-assets && react-scripts start"
}
```

See `copy-aragon-ui-assets -h` for more information.

## Build and Develop

Please have a look at [CONTRIBUTING.md](CONTRIBUTING.md).

## License

MIT, see [LICENSE](LICENSE).
npm package: @1hive/use-inside
Description: [<img src="https://img.shields.io/npm/v/use-inside" alt="" />](https://www.npmjs.com/package/use-inside) [<img src="https://img.shields.io/bundlephobia/minzip/use-inside" alt="" />](https://bundlephobia.com/result?p=use-inside)
Author: Aragon Association
Latest version: 0.3.0

# 🔬 useInside()

[<img src="https://img.shields.io/npm/v/use-inside" alt="" />](https://www.npmjs.com/package/use-inside) [<img src="https://img.shields.io/bundlephobia/minzip/use-inside" alt="" />](https://bundlephobia.com/result?p=use-inside)

useInside() allows a component to be aware if its "inside" the subtree of another component and receive data from it, in the most straightforward, simple way possible.

## Usage

Add it to your project:

```console
yarn add use-inside
```

Use it in your React app:

```jsx
// App.js

import React from 'react'
import { Inside, useInside } from 'use-inside'

function App() {

  return (
    <>
      <h1>useInside</h1>
      <Inside name="papaya" data={{backgroundColor: 'papayawhip'}}>
        <Greeting />
      </Inside>
    </>
  )
}

function Greeting() {
  const [inside, data] = useInside('papaya')

  return <h2 style={{...data}}>{inside && 'papaya'}</h2>
}

export default App
```

## API

### &lt;Inside />

This is the provider component. It should be placed above any component using `useInside()`. Apart from `children`, it accepts two other props:

#### name (required)

The name of the inside context. Required for storing the context into a map for later retrieval.

#### data

The data passed to the component using `useInside()`. Accepts any type.

### useInside()

This is the hook to be used throughout the app.

It takes a string as a single required param, and returns an array containing the following:

- `inside`: A `boolean` that will be `true` if the component is in the subtree of the provider
  `Inside` component.
- `data`: The data passed through the `Inside` component.