open-index/open-npm huggingface dataset:
npm package: @panhezeng/ie-is-dead
Description: IE is dead, please use modern browsers.
Author: 潘何增
Latest version: 1.0.8

通过 window.ieIsDead = { delay:0 } 可以设置关闭弹窗后多少分钟再弹窗，默认每次打开或刷新页面都弹窗

通过 window.ieIsDead = { version:10 } 可以设置从哪个 IE 版本及以下开始弹窗，默认是 10（即 IE10 及以下都提示升级）

通过 window.ieIsDead = { recommendBrowsers:[] } 可以设置推荐浏览器

默认使用示例

```html
<script>
  /*@cc_on 
document.write('\x3Cscript src="https://cdn.jsdelivr.net/npm/@panhezeng/ie-is-dead@latest/dist/ie-is-dead.min.js">\x3C/script>');
@*/
</script>
```

传参数使用示例

```html
<script>
  /*@cc_on
window.ieIsDead = {
    recommendBrowsers: [
        {
            slug: "chrome",
            name: "谷歌浏览器",
            url: "https://www.google.cn/chrome/"
        },
        {
            slug: "firefox",
            name: "火狐浏览器",
            url: "https://www.mozilla.org/zh-CN/firefox/"
        },
        {
            slug: "edge",
            name: "微软浏览器",
            url: "https://www.microsoft.com/zh-cn/windows/microsoft-edge/"
        }
    ]
};
document.write('\x3Cscript src="https://cdn.jsdelivr.net/npm/@panhezeng/ie-is-dead@latest/dist/ie-is-dead.min.js">\x3C/script>');
@*/
</script>
```

## 编译

```bash
# 发版
npm set registry https://registry.npmjs.org/ && npm set @panhezeng:registry https://registry.npmjs.org/ && npm version patch && npm publish --access public && npm set registry https://registry.npm.taobao.org/ && npm set @panhezeng:registry https://registry.npm.taobao.org/
```
npm package: @panhezeng/moocnd-wechat-cdn
Description: ```bash # 发版 npm version patch && npm publish --access public ```
Author: 潘何增
Latest version: 1.0.0

## 编译

```bash
# 发版
npm version patch && npm publish --access public
```

```bash
git clone https://github.com/airyland/vux.git --depth=1
cd vux
npm install
npm run build-components
```

build/build-components.js 修改

```javascript
  for (let i in list) {
    const name = `${namespace}${i}`
    code += `import ${name} from '${list[i]}'\n
_vux['${name.replace(/^vux/,'')}'] = ${name}\n`
  }

//   code += `
// if (isBrowser) {
//   for (let i in _vux) {
//     window[i] = _vux[i]
//   }
// }\n`

```
npm package: @panhezeng/rename-webpack-plugin
Description: rename-webpack-plugin
Author: 潘何增
Latest version: 1.0.4

# rename-webpack-plugin

## 说明

用于更改 webpack 输出后的文件名

参数
{naming, p1, p2}

naming 是 naming convention 的方法名，见[change-case](https://www.npmjs.com/package/change-case)说明，naming for changeCase\[naming](str)

p1, p2 则是 String 类的 replace 方法的两个参数 str.replace(regexp|substr, newSubstr|function)

传了 naming 可以不传 p1, p2，传了 p1, p2，可不传 naming

## 用法

`npm i @panhezeng/rename-webpack-plugin -D`

```javascript
const RenameWebpackPlugin = require("@panhezeng/rename-webpack-plugin");

module.exports = {
  plugins: [new RenameWebpackPlugin({ naming: "pascalCase" })]
};
// file-name.js => FileName.js
```

## 感谢

"dcatfly <dcatfly@gmail.com> (https://github.com/Dcatfly/rename-webpack-plugin)"

## 编译

```bash
# install dependencies
npm install

# 编译插件
npm run build

# 发版
npm set registry https://registry.npmjs.org/ && npm set @panhezeng:registry https://registry.npmjs.org/ && npm version patch && npm publish --access public && npm set registry https://registry.npm.taobao.org/ && npm set @panhezeng:registry https://registry.npm.taobao.org/

```