open-index/open-npm huggingface dataset:
npm package: @marsupialtail/coins
Description: [<img src="https://badge.fury.io/js/%40algoraven%2Fcoins.svg" />](https://www.npmjs.com/package/@algoraven/coins)
Author: Tony Wang.
Latest version: 0.0.17

# coins

[<img src="https://badge.fury.io/js/%40algoraven%2Fcoins.svg" />](https://www.npmjs.com/package/@algoraven/coins)

Cryptocurrency logo CDN.

## Contribution

Steps for contributing:
1. Create a feature branch
2. Push your new icons to your feature branch in the `/images` directory.
3. Create a Pull Request on GitHub

## Publishing to NPM

Pushes to `main` are automatically published to NPM. Please use caution and consult with the team before pushing to `main`.

## Using this Libary

1. Install: `yarn add @algoraven/coins`

2. Import the `getCoinImage` function as follows.
    ```
    import { getCoinImage } from '@algoraven/coins'`
    ```

3. Call the function with your desired coin.
    ```
    const coinImageUrl = getCoinImage('DOGE')
    ```
npm package: @marsupialtail/config
Description: [<img src="https://badge.fury.io/js/%40algoraven%2Fconfig.svg" />](https://www.npmjs.com/package/@algoraven/config)
Author: Tony Wang.
Latest version: 0.1.16

# config

[<img src="https://badge.fury.io/js/%40algoraven%2Fconfig.svg" />](https://www.npmjs.com/package/@algoraven/config)

Dynamic configuration variable storage for all things AlgoRaven.

> ⚠️ Manual publishes are required to update the NPM library. No CI/CD is performed on merge.

## Publishing to NPM

Config is a stable repository and changes only ever need to be made in the `data` folder.

Underlying code changes will require manual publishing to NPM. To publish:

1. Push a commit up to `main` with a new version number.
2. Run `yarn build` locally to build the source.
3. Run `npm publish` locally to publish the package.

## Creating Config Variables

1. Navigate to your chosen service (i.e. `api`) under the environment you're wishing to add your variable to from within the [data](./data) directory.

2. Create a new file within the service's folder with the exact name of your variable (i.e. `/data/staging/api/max_retry_count`).

3. Repeat for [development](./data/development), [staging](./data/staging), and [production](./data/production) folders. If you would like to add a fallback value in case no environment is specified, add it to [default](./data/development).

4. Your variable name will be its relative path from the environment directory, except with `.` replacing `/`. For instance, a variable at `/data/staging/api/max_retry_count` will be accessed via `api.max_retry_count`.

## Using Config Variables

1. Install: `yarn add @algoraven/config`

2. Import the `Config` class as follows.
    ```
    import Config from '@algoraven/config'
    ```

3. Initialize it with an access token and an environment. Defaults environment to `default`.
    ```
    const config = new Config('abcdefghijklmnop', 'production')
    ```

3. Retrieve a config variable via the `config` object.
    ```
    // The second parameter is the default value if the config variable cannot be retrieved.
    // The third parameter is the duration to cache a non-empty result before trying again.
    const maxRetryCount = await config.getNumber('api.max_retry_count', 3, CACHE_DURATION.LONG)
    ```
npm package: @marsupialtail/emojis
Description: [<img src="https://badge.fury.io/js/%40algoraven%2Femojis.svg" />](https://www.npmjs.com/package/@algoraven/emojis)
Author: Tony Wang. zihengw@stanford.edu
Latest version: 0.0.2

# emojis

[<img src="https://badge.fury.io/js/%40algoraven%2Femojis.svg" />](https://www.npmjs.com/package/@algoraven/emojis)

Dynamically served emojis borrowed from [iamcal/emojidata](https://github.com/iamcal/emoji-data).

> ⚠️ Manual publishes are required to update the NPM library. No CI/CD is performed on merge.

This is a public repository.
npm package: @marsupialtail/idl
Description: [<img src="https://badge.fury.io/js/%40algoraven%2Fidl.svg" />](https://www.npmjs.com/package/@marsupialtail/idl)
Author: Tony Wang
Latest version: 0.0.526

# idl

[<img src="https://badge.fury.io/js/%40algoraven%2Fidl.svg" />](https://www.npmjs.com/package/@marsupialtail/idl)

Collection of models and functions for use across AlgoRaven services and libraries.

## Contribution

Steps for contributing:
1. Create a feature branch
2. Push your code to your feature branch
3. Create a Pull Request on GitHub

## Usage

1. Install: `yarn add @marsupialtail/idl`

2. Import as follows.
    ```
    import { ... } from '@marsupialtail/idl'`
    ```

## Common Issues

> Cannot find module '@marsupialtail/idl' or its corresponding type declarations.

- You're trying to import a definition from this repo's NPM package. Just import the definition locally: `import { ... } from '../..'`
npm package: @marsupialtail/util
Description: [<img src="https://badge.fury.io/js/%40algoraven%2Futil.svg" />](https://www.npmjs.com/package/@marsupialtail/util)
Author: BitBird, Inc.
Latest version: 0.0.139

# util

[<img src="https://badge.fury.io/js/%40algoraven%2Futil.svg" />](https://www.npmjs.com/package/@marsupialtail/util)

Collection of util functions for use across AlgoRaven services and libraries.

> 🚨 ALWAYS PULL BEFORE MAKING CHANGES! Pushing to `main` without pulling may lead to merge conflicts.

> 🚨 Do not change version in `package.json`! The deploy bot automatically does it for you.

## Contribution

Steps for contributing:
1. Create a feature branch
2. Push your code to your feature branch
3. Create a Pull Request on GitHub

Please contribute to thie repo with either of the following:
- Reusable functions
- Universally applicable constants

## Publishing to NPM

Pushes to `main` are automatically published to NPM. Please use caution and consult with the team before pushing to `main`.

## Usage

1. Install: `yarn add @marsupialtail/util`

2. Import as follows.
    ```
    import { ... } from '@marsupialtail/util'`
    ```
npm package: @marsupialtail/util-backend
Description: [<img src="https://badge.fury.io/js/%40algoraven%2Futil-backend.svg" />](https://www.npmjs.com/package/@marsupialtail/util-backend)
Author: BitBird, Inc.
Latest version: 0.1.3

# util-backend

[<img src="https://badge.fury.io/js/%40algoraven%2Futil-backend.svg" />](https://www.npmjs.com/package/@marsupialtail/util-backend)

Collection of domain-specific util functions for server apps like `api`.

> 🚨 ALWAYS PULL BEFORE MAKING CHANGES! Pushing to `main` without pulling may lead to merge conflicts.

> 🚨 Do not change version in `package.json`! The deploy bot automatically does it for you.

## Contribution

Steps for contributing:
1. Create a feature branch
2. Push your code to your feature branch
3. Create a Pull Request on GitHub

Please contribute to thie repo with either of the following:
- Reusable functions
- Universally applicable constants

## Publishing to NPM

Pushes to `main` are automatically published to NPM. Please use caution and consult with the team before pushing to `main`.

## Usage

1. Install: `yarn add @marsupialtail/util-backend`

2. Import as follows.
    ```
    import { ... } from '@marsupialtail/util-backend'
    ```
npm package: @marswap-exchange/contract-addresses
Description: A tiny utility library for getting known deployed contract addresses for a particular network.
Author: The Martian
Latest version: 1.0.8

## @marswap-exchange/contract-addresses

A tiny utility library for getting known deployed contract addresses for a
particular network.

## Installation

```bash
yarn add @marswap-exchange/contract-addresses
```

**Import**

```typescript
import { getContractAddressesForChainOrThrow } from '@marswap-exchange/contract-addresses';
```

or

```javascript
var getContractAddressesForChainOrThrow = require('@marswap-exchange/contract-addresses').getContractAddressesForChainOrThrow;
```

## Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.

### Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

```bash
yarn config set workspaces-experimental true
```

Then install dependencies

```bash
yarn install
```

### Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

```bash
PKG=@marswap-exchange/contract-addresses yarn build
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

### Run Tests

```bash
yarn test
```