open-index/open-npm huggingface dataset:
npm package: @penggy/easy-cron-input
Description: webpack & vue project
Author: penggy
Latest version: 1.0.0

# easy-cron-input

> 一个简单的 cron 表达示编辑器

[demo](https://penggy.github.io/easy-cron-input/element/index.html)

![](snapshort.png)

## 示例

```html
<!DOCTYPE HTML>
<html>
    <head>
        <title>easy-cron-input</title>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    </head>
    <body>     
        <easy-cron-input></easy-cron-input>
        <p>表达示: <span id="express"></span></p>
        <p>文本: <span id="text"></span></p>
        <script>
            var el = document.getElementsByTagName('easy-cron-input')[0];
            el.addEventListener('input', function(e) {
                if(e.detail) {
                    document.querySelector('#express').textContent = e.detail[0];
                    document.querySelector('#text').textContent = e.detail[1];
                }
            })
        </script>
        <script type="text/javascript" src="js/easy-cron-input-element.min.js"></script>
    </body>
</html>
```

## 编译步骤

``` bash
# 安装依赖库
npm install

# 以开发模式启动
npm run start

# 编译发布包
npm run build
```
npm package: @penggy/internal-ip
Description: Get your internal IP address
Author: Sindre Sorhus
Latest version: 3.0.1

# internal-ip

> Get your internal IP address

It forks from [Sindre Sorhus](https://github.com/sindresorhus/internal-ip), for hide popup window run with pm2 on windows.

## Install

```
$ npm install @penggy/internal-ip
```


## Usage

```js
const internalIp = require('@penggy/internal-ip');

internalIp.v6().then(ip => {
	console.log(ip);
	//=> 'fe80::1'
});

internalIp.v4().then(ip => {
	console.log(ip);
	//=> '10.0.0.79'
});

console.log(internalIp.v6.sync())
//=> 'fe80::1'

console.log(internalIp.v4.sync())
//=> '10.0.0.79'
```

The module returns the address of the internet-facing interface, as determined from the default gateway. When the address cannot be determined for any reason, `null` will be returned.

The module relies on operating systems tools. On Linux and Android, the `ip` command must be available, which depending on distribution might not be installed by default. It is usually provided by the `iproute2` package.


## Related

- [internal-ip-cli](https://github.com/sindresorhus/internal-ip-cli) - CLI for this module
- [public-ip](https://github.com/sindresorhus/public-ip) - Get your public IP address
- [default-gateway](https://github.com/silverwind/default-gateway) - Get your default gateway address


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)