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

# GeometryFi SDK

Forked from the [Pancakeswap SDK](https://github.com/pancakeswap/pancakeswap-sdk.git).

You can refer to the Uniswap SDK documentation [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/GeometryDeFi/geometry-sdk.git
```

Move into the geometry-sdk working directory

```sh
cd geometry-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: @geometriq/uikit
Description: Set of UI components for pancake projects
Latest version: 0.42.0

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @geometrydefi/sdk
Description: 🛠 An SDK for building applications on top of Geometry.
Latest version: 4.0.2

# Geometry SDK

## 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/geometryfi/sdk.git
```

Move into the sdk working directory

```sh
cd 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: @geometrydefi/uikit
Description: Set of UI components for Geometry projects
Latest version: 4.1.5

# Geometry UIkit

Geometry UIkit is a set of React components and hooks used to build pages on Geometry's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @geometrydefi/uikit`

## Setup

### Theme

Before using Geometry UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@geometrydefi/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@geometrydefi/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.
npm package: @geometrydev/sdk
Description: 🛠 An SDK for building applications on top of Geometry.
Latest version: 2.0.2

# Geometry SDK

## 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/geometryPhi/sdk.git
```

Move into the sdk working directory

```sh
cd 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: @geometrydev/uikit
Description: Set of UI components for Geometry projects
Latest version: 2.0.0

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @geometryfi/sdk
Description: 🛠 An SDK for building applications on top of GeometryFi.
Latest version: 1.0.0-beta4

# GeometryFi SDK

Forked from the [Pancakeswap SDK](https://github.com/pancakeswap/pancakeswap-sdk.git).

You can refer to the Uniswap SDK documentation [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/geometryfi/geometry-sdk.git
```

Move into the geometry-sdk working directory

```sh
cd geometry-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: @geometryzen/codemirror
Description: CodeMirror Editor
Author: David Geo Holmes
Latest version: 0.9.25

A wrapper around the CodeMirror editor for use in STEMCstudio.

[![version](https://img.shields.io/npm/v/@geometryzen/codemirror.svg)](https://www.npmjs.com/package/@geometryzen/codemirror) 

[![npm downloads](https://img.shields.io/npm/dm/@geometryzen/codemirror.svg)](https://npm-stat.com/charts.html?package=@geometryzen/codemirror&from=2024-01-11)

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)
npm package: @geometryzen/debounce
Description: A debounce function for JavaScript and TypeScript
Author: David Geo Holmes
Latest version: 1.0.1

# debounce

A debounce function for JavaScript and TypeScript.

```typescript
import { debounce } from "@geometryzen/debounce";

function foo(a: string, b: number) {
    if (b >= 0) {
        return a.length + b;
    } else {
        throw new Error("b must be positive");
    }
}

describe("debounce", function () {
    it("resolve", async function () {
        const handler = debounce(foo, 100);
        const retval = await handler("Hello", 1);
        expect(retval).toBe(6);
    });
    it("reject", async function () {
        const handler = debounce(foo, 100);
        try {
            await handler("Hello", -1);
            fail();
        } catch (e) {
            expect(`${e}`).toBe("Error: b must be positive");
        }
    });
});
```

[![version](https://img.shields.io/npm/v/@geometryzen/debounce.svg)](https://www.npmjs.com/package/@geometryzen/debounce) 

[![npm downloads](https://img.shields.io/npm/dm/@geometryzen/debounce.svg)](https://npm-stat.com/charts.html?package=@geometryzen/debounce&from=2022-09-01)

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)
npm package: @geometryzen/eigenmathts
Description: Eigenmath in TypeScript with EcmaScript modules
Author: David Geo Holmes
Latest version: 0.9.46

# eigenmathts

Eigenmath in TypeScript with EcmaScript modules

[![version](https://img.shields.io/npm/v/@geometryzen/eigenmathts.svg)](https://www.npmjs.com/package/@geometryzen/eigenmathts) 

[![npm downloads](https://img.shields.io/npm/dm/@geometryzen/eigenmathts.svg)](https://npm-stat.com/charts.html?package=@geometryzen/eigenmathts&from=2022-09-01)

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)

`eigenmathts` is a Javascript program for evaluating Eigenmath scripts in a browser.

Scripts are read from `document.getElementById("stdin").value`

Results are written to `document.getElementById("stdout").innerHTML`

For a STEMCstudio example (click [here](https://www.stemcstudio.com/gists/aa8013930a6319728967b566c38b1eb3) to try)

```html
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <base href="/">
    <title></title>
    <!-- link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css" /-->
    <link rel="stylesheet" href="style.css">
</head>

<body>

    <textarea id="stdin" rows="24" cols="80" style="font-family:courier;font-size:1em" spellcheck="false"></textarea>

    <button id="btn-run">Run</button><br>

    <div id="stdout"></div>
</body>

</html>
```

```typescript
import { run } from '@geometryzen/eigenmathts'

const stdin = document.getElementById("stdin") as HTMLTextAreaElement

stdin.value = [
    `f=sin(x)/x`,
    `f`,
    `yrange=(-1,1)`,
    `draw(f,x)`
].join('\n').trim()

const btnRun = document.getElementById("btn-run") as HTMLElement

btnRun.onclick = run

window.onunload = function() {
    // Write your application cleanup code here.
}

// Used to ensure that this file is treated as a module.
export { }
```