open-index/open-npm huggingface dataset:
npm package: @huanle/react-img-lazy-load
Description: lazyload component for react
Author: Demon
Latest version: 1.0.2

# react-img-lazy-load
![](https://img.shields.io/npm/l/@huanle/react-img-lazy-load) ![](https://img.shields.io/npm/v/@huanle/react-img-lazy-load)

A img lazy-loading component for react
```
  <LazyLoad>
    <img src={src} />
  </LazyLoad>
```
or
```
  <LazyLoad>
    <img data-src={src} src={loadingImgSrc}/>
  </LazyLoad>
```
# Installation
npm install @huanle/react-img-lazy-load

# MIT Licensed
npm package: @huanlin/163music-api
Description: NeteaseMusicApi's TypeScript Version
Author: pboymt
Latest version: 0.0.2

# TypeCloudMusic
NeteaseMusicApi's TypeScript Version

从 [这儿](https://github.com/pboymt/TypeCloudMusic) fork 的 原作者好像并没有 pub 到 npm，不方便开发使用
## Install
Install TypeScript in global is recommended.
```bash
[sudo] npm -g install typescript
```
Clone it in your project.
```bash
git clone https://github.com/pboymt/TypeCloudMusic.git
npm install
```
Compile to JavaScript.
```bash
tsc
```

## Usage
Import in TypeScript.
```typescript
import { search, album, artistAlbums, comments } from './lib/main';
```
Import in JavaScript.
```javascript
const { search, album, artistAlbums, comments } = require('./dist/main');
```

### Use Search API
e.g. id is 1234
```typescript
// Callback
search('周杰伦', (data) => {
    console.log(data);
});

// Promise
search('周杰伦')
    .then((data) => {
        console.log(data);
    })
    .catch((err) => {
        console.log(err);
    });
```

### Use Album API
e.g. id is 34944913
```typescript
// Callback
album(34944913, (data) => {
    console.log(data);
});

// Promise
album(34944913)
    .then((data) => {
        console.log(data);
    })
    .catch((err) => {
        console.log(err);
    });
```
### Use ArtistAlbums API
e.g. id is 6452
```typescript
// Callback
artistAlbums(6452, (data) => {
    console.log(data);
});

// Promise
artistAlbums(6452)
    .then((data) => {
        console.log(data);
    })
    .catch((err) => {
        console.log(err);
    });
```
### Use Comments API
e.g. id is 1234
```typescript
// Callback
comments(30394891, (data) => {
    console.log(data);
});

// Promise
comments(30394891)
    .then((data) => {
        console.log(data);
    })
    .catch((err) => {
        console.log(err);
    });
```
npm package: @huanlin/koishi-plugin-plugin
Description: Koishi 的插件插件
Latest version: 0.0.1

# koishi-plugin-plugin

[![npm](https://img.shields.io/npm/v/koishi-plugin-plugin?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-plugin)

Koishi 的插件插件
npm package: @huanlin/temp-email
Description: ``` yarn add @huanlin/temp-mail ```
Latest version: 1.0.2

# Temp-Email

## Install

```
yarn add @huanlin/temp-mail
```

## Use

```ts
export interface Email {
    address_from: string;
    eid: string;
    e_subject: string;
    e_date: number;
    name_to: string;
    name_from: string;
}
export declare function getTempEmail(maxRetries: number): Promise<string>;
export declare function waitForInbox(email: string): Promise<Email>;
export declare function getAllEmails(email: string): Promise<Email[]>;

```