open-index/open-npm huggingface dataset:
npm package: @miyucy/ts-checker-webpack-plugin
Description: Runs typescript type checker on threads.
Author: miyucy
Latest version: 1.0.3

# ts-checker-webpack-plugin

Runs typescript type checker on threads.

## Usage

```bash
yarn add @miyucy/ts-checker-webpack-plugin
```

```js
const TsCheckerPlugin = require("@miyucy/ts-checker-webpack-plugin").default;

module.exports = {
  // :
  module: {
    rules: [
      {
        test: /\.tsx?$/,
        use: [
          {
            loader: "ts-loader",
            options: {
              transpileOnly: true
            }
          }
        ]
      }
    ]
  }
  // :
  plugins: [
    new TsCheckerPlugin()
  ]
};
```

## Examples

```bash
git clone [this repo]
cd [repo]
yarn install
yarn build

cd examples/prj1
yarn install
yarn build
```
npm package: @miyue-mma/shared
Description: ## intro
Author: MiyueFE
Latest version: 0.0.7

# @miyue-mma shared

## intro

Here are some commonly used tool functions.

## dirs

```dir
./
|-- src
|   |-- echarts
|       |-- color.ts
|       |-- index.ts
|   |-- http
|       |-- axios.ts
|       |-- index.ts
|   |-- structure
|       |-- index.ts
|       |-- linked-list.ts
|       |-- queue.ts
|       |-- stack.ts
|   |-- types
|       |-- index.ts
|   |-- utils
|       |-- index.ts
|       |-- arrray.ts
|       |-- clipboarf.ts
|       |-- colors.ts
|       |-- dom.ts
|       |-- dom-event.ts
|       |-- event-emitter.ts
|       |-- files.ts
|       |-- object.ts
|       |-- reg-exp.ts
|       |-- string.ts
|       |-- timer.ts
|       |-- typed.ts
|   |-- index.ts
|-- package.json
|-- README.md
```
npm package: @miyuesc/vue-amap-ui
Description: 基于高德地图的基础功能调用插件
Latest version: 0.0.1

# vue-amap-ui

> 高德地图UI组件库 

## 一、点标记

### I. 通用

1. 点标记显示

2. 新增点标记

3. 移除点标记

4. 点聚合

5. 自定义点标记样式

6. 自定义点聚合样式

### II. 事件

1. 点标记单击事件

2. 点标记双击事件

3. 鼠标移入/移出事件

4. 聚合点点击事件

## 二、多边形

### I. 通用

1. 多边形显示

2. 多边形绘制

3. 多边形编辑

4. 移除多边形

5. 自定义多边形样式

### II. 事件

1. 多边形单击事件

2. 多边形双击事件


##
npm package: @miyuki333/jquery.popup
Description: An intuitive modal popup library for jQuery. Create simple popups, ajax popups, customize your background, and more! Also with centering that actually works!
Author: miyuki333
Latest version: 1.2.0

jquery.popup
===============

jquery.popup is jQuery plugin that allows you to create model popup windows inside of a web browser. It currently supports the following features: 


Features
------

-Dynmic AJAX loading of popup content

-Templates for popup window borders

-Customizable backgrounds

-Multiple popups with automatic window focus

-Centering that actually works!

-Move/resize windows by dragging (optional/customizable)

-Custom event for popup open/close


Usage
------

Create and open a simple popup:
```
var popup = $.popup.create("id_of_div_with_popup_content");
popup.open();
```

Create a centered popup:
```
var popup = $.popup.create("id_of_div_with_popup_content", {"center": true});
```

Create an AJAX popup:
```
var popup = $.popup.create("id_of_a_new_div_that_will_be_created", {"url": "./ajax_popup_content.html"});
```

Dynamically change popup content:
```
var content = "Nothing here yet...";
var popup = $.popup.create("id_of_a_new_div_that_will_be_created", {"content": content});
popup.open();
popup.content("Hello world!");
```

Demo/Examples
------

Check out http://files.isans.net/Popup/demo/index.html to see jquery.popup in action!

This library is licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
npm package: @mizchi/bundler
Description: My hobby bundler like webpack/rollup. Do not use production.
Latest version: 0.2.0

# @mizchi/bundler

My hobby bundler like webpack/rollup. Do not use production.

## Features

- Run universal
- Modern JS(ES2019) Target
- only handle ESM
- readable output(but loose)
- treeshake

## Example

```ts
import { Bundler } from "@mizchi/bundler";
import { format } from "prettier"; // install yourself
const fileMap = {
  "/foo.js": "export default 1;",
  "/index.js": `import foo from "./foo.js"; console.log(foo); export const index = 1;`,
};
const bundler = new Bundler(fileMap);
(async () => {
  const code = await bundler.bundle("/index.js", { optimize: true });
  console.log(format(code, { parser: "babel" }));
})();
```

output

```ts
// @mizchi/bundler generate
const _$_exported = {};
const _$_import = (id) =>
  _$_exported[id] || _$_modules[id]((_$_exported[id] = {}));
const _$_modules = {
  "/foo.js": (_$_exports) => {
    _$_exports.default = 1;
    return _$_exports;
  },
};
// -- entry --

const { default: foo } = _$_import("/foo.js");

console.log(foo);
export const index = 1;
```

Entry exports are left.

## Example: chunks

WIP

## Example: Worker

WIP

## TODO

- [x] Delete build cache and rebuild
- [x] `import "./xxx";`
- [x] `export const a = 1;`
- [x] Tree shaking
  - [x] Detect side effects
  - [x] Strip unused import
  - [x] Remove modules code by treeshake
  - [x] Remove unused exports
- [x] Dynamic import chunks: `bundler.bundleChunks(entry)`
- [x] publicPath
- [x] Bundle for worker
- [x] `export { a }`
- [x] `export { a } from "./b"`
- [x] `export { a as x} from "./b"`
- [x] Entry: `export {...}`;
- [x] Module: `export * as x from ...`
- [ ] Entry: `export {...} from ...`

## Dynamic library features

- [x] Skip import and export those are not relative
- [x] Support import-map
- [x] Use with snowpack
- [ ] name resolver on `preservedExternalImports` and `Worker`
- [ ] Rewrite to pikacdn options
- [ ] File watcher with node
- [ ] Support tsx
- [ ] Node fs/promises

## Icebox

- [ ] Inline Worker
- [ ] minilink integration
- [ ] compile to single html

## LICENSE

MIT
npm package: @mizchi/cache-strategy
Description: ![](https://circleci.com/gh/mizchi/cache-strategy.png?circle-token=eb266c3df82a27985d950994624d7cd7f23ad49d)
Latest version: 0.1.0

# cache-strategy

![](https://circleci.com/gh/mizchi/cache-strategy.png?circle-token=eb266c3df82a27985d950994624d7cd7f23ad49d)

State cashing by routing.

This is focusing react ssr.

## Install

```shell
npm install @mizchi/cache-strategy --save
# or
yarn add @mizchi/cache-strategy
```

## Example

```js
import createCacher from 'cache-strategy'

const strategies = [
  {
    pattern: '/items/:id',
    async createCacheKey(params) {
      const res = await fetch(`/api/items/${params.id}/updated_at`)
      const updated_at = await res.text()
      return `items-${params.id}-${updated_at}`
    },
    expire: 1 * 1000
  }
]

const func = async input => {
  return {
    url: input.url,
    createdAt: Date.now()
  }
}

const cacher = createCacher(myStrategies, func)
;(anync () => {
  const data = await cacher({url: '/items/aaa'})
  console.log(data)
})()
```

## License

MIT
npm package: @mizchi/codemirror
Description: Full-featured in-browser code editor
Latest version: 5.17.1-b

# CodeMirror
[![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror)
[![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror)
[![Join the chat at https://gitter.im/codemirror/CodeMirror](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/codemirror/CodeMirror)  
[Funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png?again)](https://marijnhaverbeke.nl/fund/)

CodeMirror is a versatile text editor implemented in JavaScript for
the browser. It is specialized for editing code, and comes with over
100 language modes and various addons that implement more advanced
editing functionality.

A rich programming API and a CSS theming system are available for
customizing CodeMirror to fit your application, and extending it with
new functionality.

You can find more information (and the
[manual](http://codemirror.net/doc/manual.html)) on the [project
page](http://codemirror.net). For questions and discussion, use the
[discussion forum](https://discuss.codemirror.net/).

See
[CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md)
for contributing guidelines.

The CodeMirror community aims to be welcoming to everybody. We use the
[Contributor Covenant
(1.1)](http://contributor-covenant.org/version/1/1/0/) as our code of
conduct.
npm package: @mizchi/common-test-case
Description: Common Test Case for KVS
Author: azu
Latest version: 1.1.0

# @kvs/common-test-case

Common Test Case for KVS

## Install

Install with [npm](https://www.npmjs.com/):

    npm install @kvs/common-test-case

## Usage

- [ ] Write usage instructions

## Changelog

See [Releases page](https://github.com/azu/kvs/releases).

## Running tests

Install devDependencies and Run `npm test`:

    npm test

## Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, [please create an issue](https://github.com/azu/kvs/issues).

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Author

- [github/azu](https://github.com/azu)
- [twitter/azu_re](https://twitter.com/azu_re)

## License

MIT © azu