open-index/open-npm huggingface dataset:
npm package: @mana-app/cli
Description: Mana Development Tools
Author: Seyden
Latest version: 0.0.3

# Mana CLI Tool

## Installation

```sh
npm i -g @mana-app/cli
```

## Usage

```sh
Mana Development Tools.

Options:
  -V, --version    output the version number
  -h, --help       display help for command

Commands:
  build [options]  Build valid sources in the project directory
  serve [options]  Build and serve a repository on the local network
  help [command]   display help for command
```

## Commands

### `mana build`

```sh
Usage: mana build [options]

Build valid sources in the project directory.

Options:
  --noRepo         Skip generating the supporting files for hosting this source repository
  -f, --folder     Specify the output folder
  -h, --help       display help for command
```


### `mana serve`

```sh
Usage: mana serve [options]

Build and serve a repository on the local network

Options:
  -p, --port <port>  Specify the port for the server to run on
  -h, --help         display help for command
```
npm package: @mana-app/emulator
Description: A JavaScript emulator that provides runtime implementations for Mana sources, including network clients, data stores and error handling for Mana sources.
Author: Seyden
Latest version: 0.0.1

# Mana Source Emulator

### Basic Usage

```typescript
import emulate from "@mana-app/emulator";
import { Target } from "../sources/source";

const source = emulate(Target);

source
  .getContent("")
  .then((v) => {
    console.log(v);
  })
  .catch((err) => {
    console.log(err);
  });

```
npm package: @mana-cli/mana
Description: mana CLI
Latest version: 0.0.1

# mana CLI

A CLI for mana.

## Customizing your CLI

Check out the documentation at https://github.com/infinitered/gluegun/tree/master/docs.

## Publishing to NPM

To package your CLI up for NPM, do this:

```shell
$ npm login
$ npm whoami
$ npm lint
$ npm test
(if typescript, run `npm run build` here)
$ npm publish
```

# License

MIT - see LICENSE
npm package: @mana-ui/ui
Description: One more react UI components library
Latest version: 0.3.3

# ui
One more react UI components library

# Get Started

## Install

``` shell
pnpm add @mana-ui/ui @mana-ui/material react-jss
```

or

``` shell
yarn add @mana-ui/ui @mana-ui/material react-jss
```

or

``` shell
npm install @mana-ui/ui @mana-ui/material react-jss
```

## Configure Design System
``` javascript
import {SystemProvider, Button} from '@mana-ui/ui'
import * as md from '@mana-ui/material'

const App = () => (
    <SystemProvider system={md}>
        <Button>button of material design</Button>
    </SystemProider>
)

```

## Configure CSS order

The order of CSS rules may affect application apperance, you can set CSS insertion point by placing a comment node.

Mana UI uses 'mana-insertion-point' as the insertion potin opinionatedly.

``` html
<head>
    <!-- mana-insertion-point -->
    <link href="...">
</head>
```

To make sure the insertion point works, we should keep using the same JSS instance from JSS context, so we take react-jss as peer dependency, which will be resolved from the same location across all Mana UI packages.
npm package: @mana.soul/mantine-data-table
Description: A reusable DataTable component built with React and Mantine
Author: Kidsana Tamarat
Latest version: 1.0.6

# Mantine Data Table

A reusable DataTable component built with React and Mantine.

## Installation

```bash
npm install mantine-data-table
# or
yarn add mantine-data-table
npm package: @manacommon/core
Description: Mana Common Core is a collection of shared modules and helpers.
Latest version: 1.0.8

# Mana Common Core

Mana Common Core is a collection of shared modules and helpers.

## Installation

To install the library, you can use npm or yarn:

```bash
yarn add @manacommon/core
```

## Change Log

### Version 1.0.8

- Updated HttpClient now axiosApi is public for get, post, delete, put and path. Now there are methods to get basic or complex request information.
- Updated tfAuthenticationService in order to expose more request details.
npm package: @manacommon/web
Description: Mana common WEB Components
Author: Onetree
Latest version: 1.0.8

# Mana Common WEB

Mana Common WEB is a collection of react components that covers the entire UI system for Mana Common WEB Apps.

## Installation

To install the library, you can use npm or yarn:

```bash
yarn add @manacommon/web
```
npm package: @manaflair/action-sagas
Description: > Add extra capabilities to your action creators by allowing them to dispatch sagas
Latest version: 0.0.3

# [![](/logo.png?raw=true)](https://github.com/manaflair/action-sagas)

> Add extra capabilities to your action creators by allowing them to dispatch sagas

[![](https://img.shields.io/npm/v/@manaflair/action-sagas.svg)]() [![](https://img.shields.io/npm/l/@manaflair/action-sagas.svg)]()

[Check out our other OSS projects!](https://manaflair.github.io)

## Installation

```
$> npm install --save @manaflair/action-sagas
```

## Usage

```js
import { createSagaDispatcher }         from '@manaflair/action-sagas';
import { select, put }                  from 'redux-saga/effects';
import createSagaMiddleware }           from 'redux-saga';
import { createStore, applyMiddleware } from 'redux';

let sagaMiddleware = createSagaMiddleware();
let sagaDispatcher = createSagaDispatcher(sagaMiddleware);

let store = createStore(reducer, applyMiddleware(sagaDispatcher, sagaMiddleware));

store.dispatch(function * () {

    let counter = yield select(state => state.counter);

    yield put({ type: `SET_COUNTER`, value: counter + 1 });

});
```

## Why?

We felt like this approach could be a good way to customize an application by delegating some part of the logic to the action creator, instead of the application itself.

Note that because you can dispatch sagas doesn't mean that you should - doing so without consideration for the code architecture might contribute to make your code more difficult to understand and to maintain.

## Thanks

Most of this code has been originally designed by [Yassine Elouafi](https://github.com/yelouafi) on the [following thread](https://github.com/redux-saga/redux-saga/issues/123#issuecomment-189637424). We mainly packaged it into an easy-to-use module.

## License (MIT)

> **Copyright © 2016 Manaflair & Yassine Elouafi**
>
> 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: @manaflair/async-props
Description: > Easy React/Redux data preload
Latest version: 0.0.1

# [![Async-Props](/logo.png?raw=true)](https://github.com/manaflair/async-props)

> Easy React/Redux data preload

[![](https://img.shields.io/npm/v/@manaflair/async-props.svg)]() [![](https://img.shields.io/npm/l/@manaflair/async-props.svg)]()

[Check out our other OSS projects!](https://manaflair.github.io)

## Installation

```
$> npm install --save @manaflair/async-props
```

## Usage

```js
import { prepare } from '@manaflair/async-props';

@prepare((props, context) => {

    return fetch(`https://httpbin.org/ip`).then(res => {
        return res.json();
    }).then(({ origin }) => {
        return { origin };
    });

})

class Post extends React.Component {

    static propTypes = {

        origin: React.PropTypes.string.isRequired

    };

    render() {

        return <div>
            <p>Your IP is: {this.props.origin}</p>
        </div>;

    }

}
```

## Usage w/ Redux

```js
import { prepare } from '@manaflair/async-props';
import { connect } from 'react-redux';

@prepare((state, props, context, dispatch) => {

    return fetch(`https://httpbin.org/ip`).then(res => {
        return res.json();
    }).then(({ origin }) => {
        dispatch({ type: `ORIGIN_SET`, origin });
    });

})

@connect((state, props) => ({

    origin: state.origin

}))

class Post extends React.Component {

    static propTypes = {

        origin: React.PropTypes.string.isRequired

    };

    render() {

        return <div>
            <p>Your IP is: {this.props.origin}</p>
        </div>;

    }

}
```

## License (MIT)

> **Copyright © 2016 Manaflair**
>
> 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: @manaflair/json-server
Description: > JSON-API compatible Express+Sequelize framework
Latest version: 0.0.1

# [![Json-Server](/logo.png?raw=true)](https://github.com/manaflair/json-server)

> JSON-API compatible Express+Sequelize framework

[![](https://img.shields.io/npm/v/@manaflair/json-server.svg)]() [![](https://img.shields.io/npm/l/@manaflair/json-server.svg)]()

[Check out our other OSS projects!](https://manaflair.github.io)

## Installation

**Json-Server is not yet ready to be used in a production environment - some security checks are still missing, and you wouldn't be able to prevent your users from altering your data in some unexpected ways.**

```
$> npm install --save @manaflair/json-server
```

## Usage

```js
import { makeSequelizeBackend } from '@manaflair/json-server/sequelize';
import { JsonServer }           from '@manaflair/json-server';
import express                  from 'express';

import { User, Post, Comment }  from './models';

let server = express();

let jsonServer = new JsonServer({ baseUrl: `http://example.org/api` });
server.use(jsonServer.middleware);

jsonServer.add(makeSequelizeBackend(User));
jsonServer.add(makeSequelizeBackend(Post));
jsonServer.add(makeSequelizeBackend(Comment));

server.listen(80);
```

## License (MIT)

> **Copyright © 2016 Manaflair**
>
> 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: @manaflow/web
Description: Manaflow web client
Author: Lawrence Chen
Latest version: 0.0.16

# @manaflow/web

Manaflow web client

## Installation

```bash
npm install @manaflow/web
# or
yarn add @manaflow/web
# or
pnpm add @manaflow/web
# or
bun add @manaflow/web
```
npm package: @manaform/rewards-center
Description: Cardinal rewards center
Author: Jeremy Bogle
Latest version: 3.7.0

# Cardinal rewards-center

[![License](https://img.shields.io/badge/license-AGPL%203.0-blue)](https://github.com/cardinal-labs/cardinal-rewards-center/blob/master/LICENSE)
[![Release](https://github.com/cardinal-labs/cardinal-rewards-center/actions/workflows/release.yml/badge.svg?branch=v0.0.27)](https://github.com/cardinal-labs/cardinal-rewards-center/actions/workflows/release.yml)

<div style="text-align: center; width: 100%;">
  <img style="width: 100%" src="./doc-assets/banner.png" />
</div>

<p align="center">
    A rewards center for NFTs and FTs on Solana
</p>

# Background

Cardinal rewards center is a modular smart contract for staking tokens and distributing various rewards.

# Getting Started

While the deployments of this program are not live, you can deploy your own by using these steps. This will first clone the repo then run `make keys` will generate a new keypair for your program and update authority. NOTE: You must not lose these keypairs. Substitute your own keypair in if you would like to use your own.

> Note: You must not lose the keypairs! They will be saved in ./keypairs directory. To use your own keypairs place them there and skip the `make keys` step

```bash
git clone https://github.com/cardinal-labs/cardinal-rewards-center.git
make keys
make key-replace
make install
make build
solana airdrop 2 --url devnet keypairs/update-authority.json
solana program deploy --url devnet --keypair ./keypairs/update-authority.json --program-id ./keypairs/program-id.json ./target/deploy/cardinal_rewards_center.so
```

# Packages

| Package                    | Description                              | Version                                                                                                                     | Docs                                                                                                                |
| :------------------------- | :--------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------ |
| `cardinal-rewards-center`  | Stake pool tracking total stake duration | [![Crates.io](https://img.shields.io/crates/v/cardinal-rewards-center)](https://crates.io/crates/cardinal-rewards-center)   | [![Docs.rs](https://docs.rs/cardinal-rewards-center/badge.svg)](https://docs.rs/cardinal-rewards-center)            |
| `@cardinal/rewards-center` | TypeScript SDK for rewards-center        | [![npm](https://img.shields.io/npm/v/@cardinal/rewards-center.svg)](https://www.npmjs.com/package/@cardinal/rewards-center) | [![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://cardinal-labs.github.io/cardinal-rewards-center/) |

# State map

<div style="text-align: center; width: 100%;">
  <img style="width: 100%" src="./doc-assets/diagram.png" />
</div>