open-index/open-npm huggingface dataset:
npm package: @lamamoon/swap-sdk-core
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 3.0.0-alpha.0

# Uniswap SDK Core

[![Unit Tests](https://github.com/Uniswap/uniswap-sdk-core/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-sdk-core/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk-core/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk-core/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk-core/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk-core@latest)

This code is shared across Uniswap TypeScript SDKs.
npm package: @lamamoon/swap-v2-sdk
Description: 🛠 An SDK for building applications on top of Uniswap V2
Latest version: 3.0.0

# Uniswap V2 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3ALint)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![npm version](https://img.shields.io/npm/v/@uniswap/v2-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v2-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v2-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v2-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).
npm package: @lamamoon/swap-v3-sdk
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 3.0.0-alpha.3

# Work in progress

This SDK is still an early work in progress, not yet ready for use.
Feedback is welcome.

# Uniswap V3 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://docs.uniswap.org/).
npm package: @lamansky/every
Description: A better Array.prototype.every(). Supports iterables, whitelist testing, and more.
Author: John Lamansky
Latest version: 1.0.0

# every

A better `Array.prototype.every()`. Supports iterables, whitelist testing, and more.

## Installation

Requires [Node.js](https://nodejs.org/) 6.0.0 or above.

```bash
npm i @lamansky/every
```

## API

The module exports a single function.

### Parameters

1. Bindable: `iter` (iterable)
2. Optional: `test` (function, array, or any): If a function is provided, iterated values will be evaluated on whether `test` returns `true` when passed the value. If an array is provided, iterated values will be evaluated on whether they are contained in the array. If some other value is provided, iterated values will be evaluated on whether they strictly equal `test`. If `test` is omitted, iterated values will be evaluated on whether they are truthy.
3. Optional: Object argument (_or_ a value for `vacuously`):
    * `vacuously` (boolean): What to return if `iter` doesn’t iterate anything. Defaults to `true`. Thiis is for consistency with [`Array.prototype.every()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every), which interprets any test on an empty array as being [vacuously true](https://en.wikipedia.org/wiki/Vacuous_truth).

### Return Values

* If `iter` doesn’t iterate anything, returns `vacuously` if set, otherwise `true`.
* Otherwise, returns `true` if every one of the iterated values of `iter` passes `test`; otherwise returns `false`.

## Example

```javascript
const every = require('@lamansky/every')

const arr = [1, 2, 3]

every(arr, n => n >= 1) // true
every(arr, [1, 2, 3, 4]) // true

every(arr, n => n > 1) // false
every(arr, 1) // false
every(arr, [1, 2]) // false
```

## Related

* [some](https://github.com/lamansky/some)
npm package: @lamansky/flatten
Description: A one-liner function that flattens arrays.
Author: John Lamansky
Latest version: 1.0.0

# flatten

A one-liner function that flattens arrays.

## Installation

Requires [Node.js](https://nodejs.org/) 6.0.0 or above.

```bash
npm i @lamansky/flatten
```

## API

The module exports a single function.

### Parameters

1. Bindable: `arr` (Array): The array to be flattened
2. Object argument:
    * Optional: `depth` (integer): Defaults to `Infinity`. If `0`, the original `arr` is returned.

### Return Value

The flattened Array

## Example

```javascript
const flatten = require('@lamansky/flatten')

const arr = [[[1], 2], [3]]

flatten(arr) // [1, 2, 3]
flatten(arr, {depth: 1}) // [[1], 2, 3]
flatten(arr, {depth: 0}) // [[[1], 2], [3]]

// Supports the bind operator
arr::flatten() // [1, 2, 3]
arr::flatten({depth: 1}) // [[1], 2, 3]
```
npm package: @lamansky/is-number
Description: Returns true if a value is a number and not NaN.
Author: John Lamansky
Latest version: 1.0.0

# is-number

Returns true if a value is a number and not NaN.

```javascript
module.exports = x => typeof x === 'number' && !Number.isNaN(x)
```

## Installation

Requires [Node.js](https://nodejs.org/) 4.0.0 or above.

```bash
npm i @lamansky/is-number
```

## Related

For more modules like this, check out [@lamansky/is](https://github.com/lamansky/is).
npm package: @lamansky/some
Description: A better Array.prototype.some(). Supports iterables, whitelist testing, and more.
Author: John Lamansky
Latest version: 1.0.0

# some

A better `Array.prototype.some()`. Supports iterables, whitelist testing, and more.

## Installation

Requires [Node.js](https://nodejs.org/) 6.0.0 or above.

```bash
npm i @lamansky/some
```

## API

The module exports a single function.

### Parameters

1. Bindable: `iter` (iterable)
2. Optional: `test` (function, array, or any): If a function is provided, iterated values will be evaluated on whether `test` returns `true` when passed the value. If an array is provided, iterated values will be evaluated on whether they are contained in the array. If some other value is provided, iterated values will be evaluated on whether they strictly equal `test`. If `test` is omitted, iterated values will be evaluated on whether they are truthy.

### Return Value

Returns `true` if any one of the iterated values of `iter` passes `test`; otherwise returns `false`.

## Example

```javascript
const some = require('@lamansky/some')

const arr = [1, 2, 3]

some(arr, n => n % 2 === 0) // true
some(arr, 1) // true
some(arr, [3, 4]) // true

some(arr, n => n > 3) // false
some(arr, 4) // false
some(arr, [4, 5]) // false

// Supports the bind operator
arr::some(n => n % 2 === 0) // true
```

## Related

* [every](https://github.com/lamansky/every)
npm package: @lamansky/styles
Description: A small library of commonly-used stylesheet rules, packaged as a Sass module.
Author: Fr. John Lamansky
Latest version: 1.0.0

# styles

`styles` is a small library of CSS rules I find myself using in most web development projects. It is packaged as a [Sass](https://sass-lang.com/) module.

## Installation and Usage

If you have [Node.js](https://nodejs.org/en/) installed, you can add this module to your project using npm:

```bash
npm i @lamansky/styles
```

Assuming you’re using [webpack](https://webpack.js.org/) for your project, include the module into your own Sass/SCSS stylesheet like so:

```scss
@use "~@lamansky/styles";
```

You can then add your own styles that make use of the mixins:

```scss
@use "~@lamansky/styles";

ul {
  @include styles.bare-list;
  padding: 1em;
}

nav .skip-link {
  @include styles.screen-reader-only;
  cursor: pointer;
}
```

This module includes two mixins:

* **bare-list**, which is used to strip `list-style`, `margin`, and `padding` from a `ul` or `ol` and its child `li` elements.
* **screen-reader-only**, which uses `clip` to hide text from a visual user agent but leave it accessible to screen reading software.

## Related

* [mq](https://github.com/lamansky/mq): A library of media query mixins for Sass.
npm package: @lamaontheloose/create-dfa-web
Description: A CLI to bootstrap new DFA projects
Author: Dilip Lama
Latest version: 3.0.0

# V2 working node versions (Will update the list as I test more versions)
- 11.1.0


# Install global

`$ npm i -g @lamaontheloose/create-dfa-web`

# Bootstrap new project

Version 1 without hooks:

`$ create-dfa-web v1 new-project-name-v1 --git --install`

Version 2 with hooks:

`$ create-dfa-web v2 new-project-name-v2 --git --install`

# Run project

It regular Gatsby project so either of following command should work, if Gatsby is installed correctly from inside the project folder

`$ npm run develop or gatsby develop`