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

# FrenchKiss Finance 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/frenchkiss-finance/frenchkissfinance-sdk/workflows/CI/badge.svg)](https://github.com/frenchkiss-finance/frenchkissfinance-sdk)
[![npm version](https://img.shields.io/npm/v/@frenchkiss-libs/sdk/latest.svg)](https://www.npmjs.com/package/@frenchkiss-libs/sdk/v/latest)

## 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/frenchkiss-finance/frenchkissfinance-sdk.git
```

Move into the frenchkissfinance-sdk working directory

```sh
cd frenchkissfinance-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: @frenchkiss-libs/uikit
Description: Set of UI components for frenchkiss projects
Latest version: 0.0.12

# 💋 FrenchKiss UIkit

[![Netlify Status](https://api.netlify.com/api/v1/badges/bba37e64-b1b6-4836-83c4-8ae9eb2ad780/deploy-status)](https://app.netlify.com/sites/frenchkiss-uikit/deploys)

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

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

## Install

`yarn add @frenchkiss-libs/uikit`

## Setup

### Theme

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

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

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@frenchkiss-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://frenchkiss-uikit.netlify.app/)
npm package: @frenchpastries/arrange
Description: Arrange is collection of utilites and middlewares to use with the French Pastries suite of software. The first addition is to handle JSON.
Author: Guillaume Hivert
Latest version: 1.0.1

# Arrange

Arrange is collection of utilites and middlewares to use with the French Pastries suite of software. The first addition is to handle JSON.

Right now, the package contains two main functions: `jsonBody` and `jsonContentType`. The first one transforms the content of a response into a string, if it is a JSON. The second one converts the response into a response containing JSON. Because code is better than words, here's some examples.

# Getting Started

```bash
# For Yarn users
yarn add @frenchpastries/arrange
```

```bash
# For NPM users
npm install --save @frenchpastries/arrange
```

# Usage examples

```javascript
const MilleFeuille = require('@frenchpastries/millefeuille')
const { response } = require('@frenchpastries/millefeuille/response')
const Arrange = require('@frenchpastries/arrange')

const handler = request => {
  return response({ msg: "Friendship is Magic!" })
}

const firstServer = (
  MilleFeuille.create(
    Arrange.jsonBody(
      Arrange.jsonContentType(
        handler
      )
    ),
    { port: 1000 }
  )
)

// Could be write like this.
const secondServer = (
  MilleFeuille.create(
    Arrange.jsonResponse(
      handler
    ),
    { port: 2000 }
  )
)

// You can also parse bodies.
const thildServer = (
  MilleFeuille.create(
    Arrange.parseJSONBody(
      handler
    )
  ),
  { port: 3000 }
)
```

Here, the `handler` function return a new response object.

```javascript
{
  statusCode: 200,
  headers: {},
  body: {
    msg: "Friendship is Magic!"
  }
}
```

The `Arrange.jsonContentType(handler)` returns a new response object.

```javascript
{
  statusCode: 200,
  headers: {
    'Content-Type': 'application/json'
  },
  body: {
    msg: "Friendship is Magic!"
  }
}
```

The `Arrange.jsonBody(Arrange.jsonContentType(handler))` returns a new response object too.

```javascript
{
  statusCode: 200,
  headers: {
    'Content-Type': 'application/json'
  },
  body: '{"msg":"Friendship is Magic!"}'
}
```

As you can see, you can use every middleware separately, but also combined!

There’s a combined helper directly usable for you: `Arrange.jsonResponse(handler)`!

There’s also a parser for JSON bodies in request. `Arrange.parseJSONBody(handler)`. It parses `body` in request as JSON and forward it to handler.

# Contributing

A middleware or a collection of middleware you always use? An idea to make this repository better? Want to improve the documentation? Open an issue or a Pull Request! Every commitment is welcome!
npm package: @frenchpastries/bakery
Description: Node JS service registry
Latest version: 0.6.7

# Bakery

Bakery is a service registry, built with [MilleFeuille](https://github.com/frenchpastries/millefeuille), to handle a lot of services in a micro-services architecture. It is made as an NPM module to let everyone use it into its own stack.

Because it is thought to integrate with the French Pastries stack, and handle pastries, which makes it a perfect Bakery!

# Getting Started

Getting started with Bakery is simple and easy.

```bash
# For Yarn users
yarn add @frenchpastries/bakery
```

```bash
# For NPM users
npm install --save @frenchpastries/bakery
```

Once you got the package locally, fire your text editor, open an `src/main.js` file, and start the server.

```javascript
const Bakery = require('@frenchpastries/bakery')

const HEARTBEAT_INTERVAL = parseInt(process.env.HEARTBEAT_INTERVAL, 10)
const HEARTBEAT_TIMEOUT = parseInt(process.env.HEARTBEAT_TIMEOUT, 10)

const closeBakery = Bakery.create({
  heartbeatInterval: HEARTBEAT_INTERVAL,
  heartbeatTimeout: HEARTBEAT_TIMEOUT,
  port: 8080, // This field is optional, and defaults to 8080.
})

process.on('SIGINT', () => {
  closeBakery()
})
```

Run `node src/main.js`, and try to reach `localhost:8080`. You should see the bakery output the list of services registered. Right now, nothing is registered, but that’s the correct behavior! As you can see, the bakery only expect three options: `heartbeatInterval`, `heartbeatTimeout`, and `port`. The two first ones are concerns for the heartbeat. We’ll explore more on this later. The last one indicates on which port the server should open. It is optional and defaults to 8080 (just like MilleFeuille!).

# How does it works?

> More on that later…

# Bakery Client for Services

> More on that later…

# Open Design Discussion

We want to maintain as much as possible discussions in PR and issues open to anyone. We think it's important to share why we're doing things and to discuss about how you use the framework and how you would like to use it!

# Contributing

You love Bakery? Feel free to contribute: open issues or propose pull requests! At French Pastries, we love hearing from you!
npm package: @frendex/core
Description: Core contracts for the FrenDex protocol
Latest version: 0.0.4

# DOGMONEY

https://app.dogmoney.money

## Deployed Contracts

https://github.com/dogmoneyswap/dogmoneyswap-sdk/blob/master/src/constants/addresses.ts

## Docs

[Development](docs/DEVELOPMENT.md)

[Deployment](docs/DEPLOYMENT.md)

## Security

[Security Policy](SECURITY.md)

## License

[MIT](LICENSE.txt)
npm package: @frendex/sdk
Description: 🛠 An SDK for building applications on top of FREDNDEX.
Latest version: 0.1.1

# FrenDex SDK

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

This modifies uniswap-sdk's UniswapV2Factory address. The new address for DogMoney is `0x000`.

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

Move into the -sdk working directory

```sh
cd frendex-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.
```