open-index/open-npm huggingface dataset:
npm package: @osn/common-ui
Description: [![version](https://img.shields.io/npm/v/@osn/common-ui?label=&color=29BC9B)](https://npm.im/my-ts-lib) [![downloads](https://img.shields.io/npm/dm/@osn/common-ui?label=&color=29BC9B)](https://npm.im/@osn/common-ui)
Author: OpenSquare
Latest version: 1.27.6

# @osn/common-ui

[![version](https://img.shields.io/npm/v/@osn/common-ui?label=&color=29BC9B)](https://npm.im/my-ts-lib) [![downloads](https://img.shields.io/npm/dm/@osn/common-ui?label=&color=29BC9B)](https://npm.im/@osn/common-ui)

## Install

```bash
npm i @osn/common-ui semantic-ui-css semantic-ui-react
```

## License

Apache-2.0 &copy; [OpenSquare](https://github.com/opensquare-network)
npm package: @osn/icons
Description: ```bash npm i @osn/icons ```
Author: OpenSquare
Latest version: 1.235.4

# OSN icon library

```bash
npm i @osn/icons
```

```js
// comp.jsx
// subsquare set
import { ArrowDown } from "@osn/icons/subsquare";

<ArrowDown className="classname" />;
```
npm package: @osn/ipfs
Description: This is an IPFS client that provides a simplified API interface for uploading content to IPFS. You can config the API to connect to Infura or a locally ipfs node by parameters.
Author: Yongfeng LI
Latest version: 0.2.0

# osn ipfs client

This is an IPFS client that provides a simplified API interface for uploading content to IPFS.
You can config the API to connect to Infura or a locally ipfs node by parameters.

## Usage example

```javascript
const { getClients, ClientOptions, ClientMode } = require("@osn/ipfs");
const {
  INFURA_PROJECT_ID,
  INFURA_PROJECT_SECRET,
  LOCAL_IPFS_NODE_URL,
  USE_LOCAL_IPFS_NODE,
} = require("../env");

const [ipfsClient] = getClients(
  USE_LOCAL_IPFS_NODE ? ClientMode.Local : ClientMode.Infura,
  new ClientOptions(
    INFURA_PROJECT_ID,
    INFURA_PROJECT_SECRET,
    LOCAL_IPFS_NODE_URL
  )
);

```