open-index/open-npm huggingface dataset:
npm package: @monkey_king/sendemail
Description: A node package to send emails built ontop of nodemailer
Author: monkey_king
Latest version: 1.0.3

# @monkey_king/sendemail

A node package to send emails built on top of nodemailer.
This package uses mailgun as transporter for now...

## Installation

To get started, run:

```js
npm i @monkey_king/sendemail
```

## Usage

To use this package, you will need an account at https://www.mailgun.com/.

To use this, in an ECMAScript, you will need to:

```js
import { sendEmail } from "@monkey_king/sendemail";

const send = () => {
  sendEmail(
    auth, //required. will be the authentication object required by mailgun
    //auth = {auth: {api_key: <Your private key>, domain: <Your domain>}}

    sender, //required. string of the email sending the mail.
    //It should be the same as the one used to create mailgun account

    recipient, //required. Array of the list of emails to send to. They should
    // be verified emails if you are using a free foundation plan in mailgun

    subject, //required. string of the email subject

    emailContent, //required. html passed as a string (ex: '<h1>Hello everyone</h1>')

    callback //optional, takes two params. (error, result) => ...
  );
};
```

Example:

```js
import {sendEmail} from '@monkey_king/sendemail'

const auth = {
    auth: {
        api_key: <Your API key>,
        domain: <Your domain>
    }
}

const emailContent = `
    <div>
        <h1>Hello</h1>
        <p>Welcome to the party</p>
    </div>
`

const send = () => {
    sendEmail(
        auth,
        sender@gmail.com,
        ["recipient1@gmail.com", "recipient2@gmail.com"],
        "Test the package",
        emailContent
    )
}
```

To use this, in an CommonJS, you will need to:

```js
const { sendEmail } = require("@monkey_king/sendemail");

/**
 * Rest of code goes here as for ECMAScript
 */
```

## What next?

We will be building to add aws SES and other transporters

## Contributing

Your pull request is one button away, don't hesitate. Face any issue? let us know

## License

This has an MIT license.
npm package: @monkeycatdog/homebridge-petkit-platform
Description: Homebridge plugin for Petkit
Author: jubepue@gmail.com
Latest version: 1.0.7

Petkit Homebridge Plugin
========================

<p align="center">
    <img src="https://github.com/jubepue/homebridge-petkit-platform/blob/master/images/homebridge-petkit-platform.png"><br>
</p>

<span align="center">
    
[![npm](https://img.shields.io/npm/v/homebridge-petkit-platform.svg)](https://www.npmjs.com/package/homebridge-petkit-platform)
[![npm](https://img.shields.io/npm/dt/homebridge-petkit-platform.svg)](https://www.npmjs.com/package/homebridge-petkit-platform)
[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
    
[![GitHub watchers](https://img.shields.io/github/watchers/jubepue/homebridge-petkit-platform.svg?style=social&label=Watch)](https://GitHub.com/jubepue/homebridge-petkit-platform/watchers/)
[![GitHub stars](https://img.shields.io/github/stars/jubepue/homebridge-petkit-platform.svg?style=social&label=Star)](https://GitHub.com/jubepue/homebridge-petkit-platform/stargazers/)
[![GitHub forks](https://img.shields.io/github/forks/jubepue/homebridge-petkit-platform.svg?style=social&label=Fork)](https://GitHub.com/jubepue/homebridge-petkit-platform/network/)

If you like Petkit Homebridge Plugin - give it a star, or fork it and contribute!

</span>

Homebridge custom plugin for controlling all your Petkit devices in HomeKit.

## Preparation
  1. [Use the Petkit Homebridge Plugin](https://github.com/jubepue/homebridge-petkit-platform/wiki/How-to-Use-Petkit-Homebridge-Plugin)
  2. [How to Get Logs](https://github.com/jubepue/homebridge-petkit-platform/wiki/How-To-Get-Logs)

## Set up the development environment

```
—-VSCode
—-engines
    "node": “>=0.12.0”
    "homebridge": ">=0.2.0"
—-dependencies
    "axios": “^0.21.1",
    "crypto-js": “^4.0.0”, 
    "uuid": "^8.3.2",
    "qs": "^6.11.0"
```

## Feedback

You can use the **GitHub Issue** to provide feedback on any problems you encounter.

## LICENSE

For more information, see the [LICENSE](LICENSE) file.
npm package: @monkeycf/dynamic-script
Description: dynamic loading JavaScript
Author: monkeycf
Latest version: 1.1.0

# @monkey/dynamic-script

> dynamic loading JavaScript

## example
```javascript
  import dynamicScript from '@monkeycf/dynamic-script'

  dynamicScript('${your script url}')
    .then(({element, event}) => {
      // to do something
    })
    .catch(({element, event}) => {
      // processing error
    })
```

> 如果想使用“事件捕获”，可设置 isCapturing 为 true
```javascript
   dynamicScript('${your script url}', true)
    .then(({element, event}) => {
      // to do something
    })
    .catch(({element, event}) => {
      // processing error
    })
```
npm package: @monkeycf/trump
Description: A modern JavaScript utility library delivering modularity, performance, &amp; extras.
Latest version: 0.4.3

# @monkeycf/trump[![Build Status](https://travis-ci.com/monkeycf/trump.svg?branch=master)](https://travis-ci.com/monkeycf/trump)

A modern JavaScript utility library delivering modularity, performance, &amp; extras.

## Project setup
```
npm install
```

### Compiles and hot-reloads for development

```
npm run start
```

### Compiles and minifies for production

```
npm run build
```

### Docs compiles and hot-reloads for development

```
npm run docs:dev
```

### Docs compiles and minifies for production

```
npm run docs:biuld
```

### Run your unit tests

```
npm run test
```

### Lints files

```
npm run lint
```

### Fixes files

```
npm run fix
```

### Lints & fixes files & run unit tests

```
npm run unit
```
npm package: @monkeyday/t1
Description: ![npm (scoped)](https://img.shields.io/npm/v/@luban-h5/t1?color=blue)
Latest version: 0.0.2

![npm (scoped)](https://img.shields.io/npm/v/@luban-h5/t1?color=blue)

### @luban-h5/t1


> #!zh: 鲁班H5官方 轮播图组件

> #!en: official slide/carousel plugin/component for luban-h5

### Project setup
```
yarn install
yarn serve

# modify version number in package.json
# publish to npm registry
yarn build
npm publish --access public
```

![image](https://user-images.githubusercontent.com/12668546/69007572-76ae0e80-097a-11ea-81b6-54cacbf0816c.png)
npm package: @monkeydesigin/md-react-icon
Description: Icon automation workflow with Figma
Author: lEnG
Latest version: 0.0.2

# Icon Automation Workflow Using Figma

It's a repository for [Figma Icon Automation Plugin](https://github.com/leadream/figma-icon-automation).

## Development
Create a `.env` in the root directory. Put your Figma file url and Figma token inside.

```
FIGMA_FILE_URL=https://www.figma.com/file/********************/juuust-react-icon
FIGMA_TOKEN=********************************
```

### fetch SVG file
Run `yarn fetch` to fetch SVG files from Figma file. This will pull your SVGs in `./src/svg/`.

### generate React components for icons
Run `yarn generate` to generate component files from SVG files. This will pull your component files in `./src/icons/`.

### Develop in local
Run `yarn dev` to develop the application in which you can see all icons.

### Develop in local
Run `yarn build` to build Pages.
npm package: @monkeyfe/flight-icon
Description: Icon automation workflow with Figma
Author: leadream
Latest version: 0.1.5

# Icon Automation Workflow Using Figma

It's a repository for [Figma Icon Automation Plugin](https://github.com/leadream/figma-icon-automation).

## Development
Create a `.env` in the root directory. Put your Figma file url and Figma token inside.

```
FIGMA_FILE_URL=https://www.figma.com/file/********************/juuust-react-icon
FIGMA_TOKEN=********************************
```

### fetch SVG file
Run `yarn fetch` to fetch SVG files from Figma file. This will pull your SVGs in `./src/svg/`.

### generate React components for icons
Run `yarn generate` to generate component files from SVG files. This will pull your component files in `./src/icons/`.

### Develop in local
Run `yarn dev` to develop the application in which you can see all icons.

### Develop in local
Run `yarn build` to build Pages.
npm package: @monkeyfe/react-icon
Description: Icon automation workflow with Figma
Author: lEnG
Latest version: 0.0.4

# Icon Automation Workflow Using Figma

It's a repository for [Figma Icon Automation Plugin](https://github.com/leadream/figma-icon-automation).

## Development
Create a `.env` in the root directory. Put your Figma file url and Figma token inside.

```
FIGMA_FILE_URL=https://www.figma.com/file/********************/juuust-react-icon
FIGMA_TOKEN=********************************
```

### fetch SVG file
Run `yarn fetch` to fetch SVG files from Figma file. This will pull your SVGs in `./src/svg/`.

### generate React components for icons
Run `yarn generate` to generate component files from SVG files. This will pull your component files in `./src/icons/`.

### Develop in local
Run `yarn dev` to develop the application in which you can see all icons.

### Develop in local
Run `yarn build` to build Pages.