open-index/open-npm huggingface dataset:
npm package: @jsmicro/is-array
Description: Check does the given Javascript Object is an array.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Array

### **`isArray(object)`**

Check does the given Javascript Object (array, object, string, etc) is an array.

### **`isNotArray(object)`**

Check does the given Javascript Array (array, object, string, etc) is not an array.

## Browser Usage

```bash
bower install --save jsmicro-is-array
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-array/index.js">
<script type="text/javascript">
    var obj = function() {};
    var nbr = 200;

    // Available in the window object.
    isArray(obj);      // true
    isArray(nbr);      // false
    isNotArray(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-array
```

```js
const obj = require('@jsmicro/is-array');

// Available in the global object.
isArray(function() {}); // true
isArray(23322333); // false
isNotArray(23234); // true

// Also available in the export object.
obj.isArray(function); // true
obj.isArray(23322333); // false
obj.isNotArray(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-boolean
Description: Check does the given Javascript Object is a boolean.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Boolean

### **`isBoolean(object)`**

Check does the given Javascript Object (array, object, string, etc) is a boolean.

### **`isNotBoolean(object)`**

Check does the given Javascript Boolean (array, object, string, etc) is not a boolean.

## Browser Usage

```bash
bower install --save jsmicro-is-boolean
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-boolean/index.js">
<script type="text/javascript">
    var obj = true;
    var nbr = 200;

    // Available in the window object.
    isBoolean(obj);      // true
    isBoolean(nbr);      // false
    isNotBoolean(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-boolean
```

```js
const obj = require('@jsmicro/is-boolean');

// Available in the global object.
isBoolean(false); // true
isBoolean(23322333); // false
isNotBoolean(23234); // true

// Also available in the export object.
obj.isBoolean(true); // true
obj.isBoolean(23322333); // false
obj.isNotBoolean(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-date
Description: Check does the given Javascript Object is a date.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Date

### **`isDate(object)`**

Check does the given Javascript Object (array, object, string, etc) is a date.

### **`isNotDate(object)`**

Check does the given Javascript Date (array, object, string, etc) is not a date.

## Browser Usage

```bash
bower install --save jsmicro-is-date
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-date/index.js">
<script type="text/javascript">
    var obj = new Date();
    var nbr = 200;

    // Available in the window object.
    isDate(obj);      // true
    isDate(nbr);      // false
    isNotDate(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-date
```

```js
const obj = require('@jsmicro/is-date');

// Available in the global object.
isDate(new Date()); // true
isDate(23322333); // false
isNotDate(23234); // true

// Also available in the export object.
obj.isDate(new Date()); // true
obj.isDate(23322333); // false
obj.isNotDate(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-defined
Description: Check does the given Javascript Object is a defined.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Defined

### **`isDefined(object)`**

Check does the given Javascript Object (array, object, string, etc) is a defined.

### **`isNotDefined(object)`**

Check does the given Javascript Defined (array, object, string, etc) is not a defined.

## Browser Usage

```bash
bower install --save jsmicro-is-defined
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-defined/index.js">
<script type="text/javascript">
    var obj = function() {};
    var nbr;

    // Available in the window object.
    isDefined(obj);      // true
    isDefined(nbr);      // false
    isNotDefined(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-defined
```

```js
const obj = require('@jsmicro/is-defined');

let undef;
let def = 'Defined';

// Available in the global object.
isDefined(def); // true
isDefined(undef); // false
isNotDefined(undef); // true

// Also available in the export object.
obj.isDefined(def); // true
obj.isDefined(undef); // false
obj.isNotDefined(undef); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-empty
Description: Check does the given Javascript Object is empty.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Empty

### **`isEmpty(object)`**

Check does the given Javascript Object (array, object, string, etc) is empty.

### **`isNotEmpty(object)`**

Check does the given Javascript Empty (array, object, string, etc) is not empty.

## Browser Usage

```bash
bower install --save jsmicro-is-empty
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-empty/index.js">
<script type="text/javascript">
    var obj = {};
    var nbr = [1];

    // Available in the window object.
    isEmpty(obj);      // true
    isEmpty(nbr);      // false
    isNotEmpty(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-empty
```

```js
const obj = require('@jsmicro/is-empty');

// Available in the global object.
isEmpty([]); // true
isEmpty({a: 1}); // false
isNotEmpty('a'); // true

// Also available in the export object.
obj.isEmpty([]); // true
obj.isEmpty('a'); // false
obj.isNotEmpty([1]); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 21, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-error
Description: Check does the given Javascript Object is an error.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Error

### **`isError(object)`**

Check does the given Javascript Object (array, object, string, etc) is an error.

### **`isNotError(object)`**

Check does the given Javascript Error (array, object, string, etc) is not an error.

## Browser Usage

```bash
bower install --save jsmicro-is-error
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-error/index.js">
<script type="text/javascript">
    var obj = new Error();
    var nbr = 200;

    // Available in the window object.
    isError(obj);      // true
    isError(nbr);      // false
    isNotError(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-error
```

```js
const obj = require('@jsmicro/is-error');

// Available in the global object.
isError(new Error()); // true
isError(23322333); // false
isNotError(23234); // true

// Also available in the export object.
obj.isError(new Error()); // true
obj.isError(23322333); // false
obj.isNotError(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-function
Description: Check does the given Javascript Object is a function.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Function

### **`isFunction(object)`**

Check does the given Javascript Object (array, object, string, etc) is a function.

### **`isNotFunction(object)`**

Check does the given Javascript Function (array, object, string, etc) is not a function.

## Browser Usage

```bash
bower install --save jsmicro-is-function
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-function/index.js">
<script type="text/javascript">
    var obj = function() {};
    var nbr = 200;

    // Available in the window object.
    isFunction(obj);      // true
    isFunction(nbr);      // false
    isNotFunction(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-function
```

```js
const obj = require('@jsmicro/is-function');

// Available in the global object.
isFunction(function() {}); // true
isFunction(23322333); // false
isNotFunction(23234); // true

// Also available in the export object.
obj.isFunction(function() {}); // true
obj.isFunction(23322333); // false
obj.isNotFunction(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-null
Description: Check does the given Javascript Object is a null.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Null

### **`isNull(object)`**

Check does the given Javascript Object (array, object, string, etc) is a null.

### **`isNotNull(object)`**

Check does the given Javascript Null (array, object, string, etc) is not a null.

## Browser Usage

```bash
bower install --save jsmicro-is-null
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-null/index.js">
<script type="text/javascript">
    var obj = null;
    var nbr = 200;

    // Available in the window object.
    isNull(obj);      // true
    isNull(nbr);      // false
    isNotNull(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-null
```

```js
const obj = require('@jsmicro/is-null');

// Available in the global object.
isNull(null); // true
isNull(23322333); // false
isNotNull(23234); // true

// Also available in the export object.
obj.isNull(null); // true
obj.isNull(23322333); // false
obj.isNotNull(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-number
Description: Check does the given Javascript Object is a number.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Number

### **`isNumber(object)`**

Check does the given Javascript Object (array, object, string, etc) is a number.

### **`isNotNumber(object)`**

Check does the given Javascript Number (array, object, string, etc) is not a number.

## Browser Usage

```bash
bower install --save jsmicro-is-number
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-number/index.js">
<script type="text/javascript">
    var obj = 200;
    var nbr = 'String';

    // Available in the window object.
    isNumber(obj);      // true
    isNumber(nbr);      // false
    isNotNumber(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-number
```

```js
const obj = require('@jsmicro/is-number');

// Available in the global object.
isNumber(2344342432); // true
isNumber('23322333'); // false
isNotNumber('23234'); // true

// Also available in the export object.
obj.isNumber(2343244432); // true
obj.isNumber('23322333'); // false
obj.isNotNumber('23333'); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-object
Description: Check does the given Javascript Object is an object.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is Object

### **`isObject(object)`**

Check does the given Javascript Object (array, object, string, etc) is an object.

### **`isNotObject(object)`**

Check does the given Javascript Object (array, object, string, etc) is not an object.

## Browser Usage

```bash
bower install --save jsmicro-is-object
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-object/index.js">
<script type="text/javascript">
    var obj = {};
    var nbr = 200;

    // Available in the window object.
    isObject(obj);      // true
    isObject(nbr);      // false
    isNotObject(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-object
```

```js
const obj = require('@jsmicro/is-object');

// Available in the global object.
isObject({}); // true
isObject(23322333); // false
isNotObject(23234); // true

// Also available in the export object.
obj.isObject({}); // true
obj.isObject(23322333); // false
obj.isNotObject(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-regexp
Description: Check does the given Javascript Object is a regexp.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is RegExp

### **`isRegExp(object)`**

Check does the given Javascript Object (array, object, string, etc) is a regexp.

### **`isNotRegExp(object)`**

Check does the given Javascript RegExp (array, object, string, etc) is not a regexp.

## Browser Usage

```bash
bower install --save jsmicro-is-regexp
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-regexp/index.js">
<script type="text/javascript">
    var obj = /[a-z]+/g;
    var nbr = 200;

    // Available in the window object.
    isRegExp(obj);      // true
    isRegExp(nbr);      // false
    isNotRegExp(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-regexp
```

```js
const obj = require('@jsmicro/is-regexp');

// Available in the global object.
isRegExp(/[a-z]+/g); // true
isRegExp(23322333); // false
isNotRegExp(23234); // true

// Also available in the export object.
obj.isRegExp(/[a-z]+/g); // true
obj.isRegExp(23322333); // false
obj.isNotRegExp(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmicro/is-string
Description: Check does the given Javascript Object is a string.
Author: Nanang Mahdaen El Agung
Latest version: 1.0.2

# JSMicro - Is String

### **`isString(object)`**

Check does the given Javascript Object (array, object, string, etc) is a string.

### **`isNotString(object)`**

Check does the given Javascript Object (array, object, string, etc) is not a string.

## Browser Usage

```bash
bower install --save jsmicro-is-string
```

```html
<script type="text/javascript" src="bower_components/jsmicro-is-string/index.js">
<script type="text/javascript">
    var str = 'String';
    var nbr = 200;

    // Available in the window object.
    isString(str);      // true
    isString(nbr);      // false
    isNotString(nbr);   // true
</script>
```

## NodeJS Usage

```bash
npm install --save @jsmicro/is-string
```

```js
const str = require('@jsmicro/is-string');

// Available in the global object.
isString('String'); // true
isString(23322333); // false
isNotString(23234); // true

// Also available in the export object.
str.isString('String'); // true
str.isString(23322333); // false
str.isNotString(23333); // true
```

## Changelogs

#### **`v1.0.1 - May 21, 2016`**

* Added .npmignore

#### **`v1.0.0 - May 19, 2016`**

* Initial release.

### [The MIT License (MIT)](https://mahdaen.mit-license.org/)
npm package: @jsmini/get-selector
Description: 获取 DOM 元素的 CSS 选择器，类似 Chrome 浏览器的 copy selector 功能，但支持获取更短的 CSS 选择器
Author: jsmini
Latest version: 0.2.0

# [get-selector](https://github.com/jsmini/get-selector)

[![](https://img.shields.io/badge/Powered%20by-jslib%20base-brightgreen.svg)](https://github.com/yanhaijing/jslib-base)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/get-selector/blob/master/LICENSE)
[![CI](https://github.com/jsmini/get-selector/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/get-selector/actions/workflows/ci.yml)
[![npm](https://img.shields.io/badge/npm-0.2.0-orange.svg)](https://www.npmjs.com/package/@jsmini/get-selector)
[![NPM downloads](http://img.shields.io/npm/dm/get-selector.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/get-selector)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/get-selector.svg)](http://isitmaintained.com/project/jsmini/get-selector 'Percentage of issues still open')

获取 DOM 元素的 CSS 选择器，类似 Chrome 浏览器的 copy selector 功能，但支持获取更短的 CSS 选择器。

对于如下的 DOM 结构：

```html
<div class="a">
  <div class="b">
    <div></div>
    <p></p>
    <div></div>
    <div></div>
  </div>
</div>
```

使用 `getSelector` 方法，可以获取到如下的选择器：

```js
// 智能短路径
getSelector(document.querySelector('.b div:nth-of-type(3)'));
// => "div.b > div:nth-of-type(3)"

// 全路径
getSelector(document.querySelector('.b div:nth-child(3)'), false);
// => "body > div.a > div.b > div:nth-of-type(3)"
```

## :pill: 兼容性 单元测试保证支持如下环境：

| IE  | CH  | FF   | SF  | OP   | IOS   | Android | Node |
| --- | --- | ---- | --- | ---- | ----- | ------- | ---- |
| 11+ | 50+ | 100+ | 13+ | 100+ | 10.3+ | 4.1+    | 14+  |

**注意：编译代码依赖ES5环境，对于ie6-8需要引入[es5-shim](http://github.com/es-shims/es5-shim/)才可以兼容，可以查看[demo/demo-global.html](./demo/demo-global.html)中的例子**

## :open_file_folder: 目录介绍

```

.
├── demo 使用demo
├── dist 编译产出代码
├── doc 项目文档
├── src 源代码目录
├── test 单元测试
├── CHANGELOG.md 变更日志
└── TODO.md 计划功能

```

## :rocket: 使用者指南

通过npm下载安装代码

```bash
$ npm install --save @jsmini/get-selector
```

如果你是node环境

```js
var base = require('@jsmini/get-selector');
```

如果你是webpack等环境

```js
import base from '@jsmini/get-selector';
```

如果你是浏览器环境

```html
<script src="node_modules/@jsmini/get-selector/dist/index.aio.js"></script>
```

## :bookmark_tabs: 文档

[API](./doc/api.md)

## :kissing_heart: 贡献者指南

首次运行需要先安装依赖

```bash
$ npm install
```

一键打包生成生产代码

```bash
$ npm run build
```

运行单元测试:

```bash
$ npm test
```

> 注意：浏览器环境需要手动测试，位于`test/browser`

修改 package.json 中的版本号，修改 README.md 中的版本号，修改 CHANGELOG.md，然后发布新版

```bash
$ npm run release
```

将新版本发布到npm

```bash
$ npm publish
```

## 贡献者列表

[contributors](https://github.com/jsmini/get-selector/graphs/contributors)

## :gear: 更新日志

[CHANGELOG.md](./CHANGELOG.md)

## :airplane: 计划列表

[TODO.md](./TODO.md)
npm package: @jsmini/guid
Description: 全局ID生成工具
Author: yanhaijing
Latest version: 0.10.0

# [guid](https://github.com/jsmini/guid/)

[![](https://img.shields.io/badge/Powered%20by-jslib%20base-brightgreen.svg)](https://github.com/yanhaijing/jslib-base)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/guid/blob/master/LICENSE)
[![CI](https://github.com/jsmini/guid/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/guid/actions/workflows/ci.yml)
[![npm](https://img.shields.io/badge/npm-0.10.0-orange.svg)](https://www.npmjs.com/package/@jsmini/guid)
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/guid.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/guid)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/guid.svg)](http://isitmaintained.com/project/jsmini/guid 'Percentage of issues still open')

Simple guid generator for JS. Support IE6

简单好用的JS全局ID生成工具，原生兼容IE6

English | [简体中文](./README-zh_CN.md)

## Environment Support

unit test ensure it supports the following environments.

| IE/Edge | Chrome | Firefox | Safari | Opera | IOS | Android | Node  |
| ------- | ------ | ------- | ------ | ----- | --- | ------- | ----- |
| 6+      | 23+    | 4+      | 6+     | 10+   | 5+  | 2.3+    | 0.10+ |

## Directory

```
.
├── demo
├── dist  # production code
├── doc   # document
├── src   # source code
├── test  # unit test
├── CHANGELOG.md
└── TODO.md
```

## Usage

npm installation

```bash
$ npm install --save @jsmini/guid
```

Node.js

```js
var guid = require('@jsmini/guid').guid;

guid();
```

webpack

```js
import { guid } from '@jsmini/guid';

guid();
```

Require.js

```js
requirejs(
  ['node_modules/@jsmini/guid/dist/index.aio.js'],
  function (jsmini_guid) {
    var guid = jsmini_guid.guid;

    guid();
  },
);
```

Browser

```html
<script src="node_modules/@jsmini/guid/dist/index.aio.js"></script>

<script>
  var guid = jsmini_guid.guid;

  guid();
</script>
```

## Document

[API](https://github.com/jsmini/guid/blob/master/doc/api.md)

## Contributing Guide ![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)

when initialize, install dependencies

```bash
$ npm install
```

builds your code for production to `build` folder

```bash
$ npm run build
```

run unit test. notice: borwser enviroment need to test manually. test file is in `test/browser`

```bash
$ npm test
```

change the version in package.json and README.md, add your description in CHANGELOG.md, and then release it happily.

```bash
$ npm run release
```

publish the new package to npm

```bash
$ npm publish --access=public
```

Maybe you should change relative information in the follow files

- README.md
- package.json
- config/rollup.js
- test/browser/index.html

## CHANGELOG

[CHANGELOG.md](https://github.com/jsmini/guid/blob/master/CHANGELOG.md)

## TODO

[TODO.md](https://github.com/jsmini/guid/blob/master/TODO.md)

## who is using
npm package: @jsmini/is
Description: js判断函数，解决80%类型判断问题
Author: yanhaijing
Latest version: 0.10.0

# [is](https://github.com/jsmini/is)

[![](https://img.shields.io/badge/Powered%20by-jslib%20base-brightgreen.svg)](https://github.com/yanhaijing/jslib-base)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/is/blob/master/LICENSE)
[![CI](https://github.com/jsmini/is/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/is/actions/workflows/ci.yml)
[![npm](https://img.shields.io/badge/npm-0.10.0-orange.svg)](https://www.npmjs.com/package/@jsmini/is)
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/is.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/is)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/is.svg)](http://isitmaintained.com/project/jsmini/is 'Percentage of issues still open')

js判断函数，解决80%类型判断问题，原生兼容IE6

Type checking function. fixed 80% of type checking problem

English | [简体中文](./README-zh_CN.md)

## Environment Support

unit test ensure it supports the following environments.

| IE/Edge | Chrome | Firefox | Safari | Opera | IOS | Android | Node  |
| ------- | ------ | ------- | ------ | ----- | --- | ------- | ----- |
| 6+      | 23+    | 4+      | 6+     | 10+   | 5+  | 2.3+    | 0.10+ |

## Directory

```
.
├── demo
├── dist  # production code
├── doc   # document
├── src   # source code
├── test  # unit test
├── CHANGELOG.md
└── TODO.md
```

## Usage

npm installation

```bash
$ npm install --save @jsmini/is
```

Node.js

```js
var isNumber = require('@jsmini/is').isNumber;

isNumber(1); // true
```

webpack

```js
import { isNumber } from '@jsmini/is';

isNumber(1); // true
```

Require.js

```js
requirejs(['node_modules/@jsmini/is/dist/index.aio.js'], function (jsmini_is) {
  var isNumber = jsmini_is.isNumber;

  isNumber(1); // true
});
```

Browser

```html
<script src="node_modules/@jsmini/is/dist/index.aio.js"></script>

<script>
  var isNumber = jsmini_is.isNumber;

  isNumber(1); // true
</script>
```

## Document

- [API](https://github.com/jsmini/is/blob/master/doc/api.md)

## Contributing Guide ![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)

when initialize, install dependencies

```bash
$ npm install
```

builds your code for production to `build` folder

```bash
$ npm run build
```

run unit test. notice: borwser enviroment need to test manually. test file is in `test/browser`

```bash
$ npm test
```

change the version in package.json and README.md, add your description in CHANGELOG.md, and then release it happily.

```bash
$ npm run release
```

publish the new package to npm

```bash
$ npm publish --access=public
```

Maybe you should change relative information in the follow files

- README.md
- package.json
- config/rollup.js
- test/browser/index.html

```bash
$ npm run rename # rename command
```

## Contributors

[contributors](https://github.com/jsmini/is/graphs/contributors)

## CHANGELOG

[CHANGELOG.md](https://github.com/jsmini/is/blob/master/CHANGELOG.md)

## TODO

[TODO.md](https://github.com/jsmini/is/blob/master/TODO.md)

## who is using
npm package: @jsmini/load
Description: simple resource loader
Author: yanhaijing
Latest version: 0.4.0

# [load](https://github.com/jsmini/load)

[![](https://img.shields.io/badge/Powered%20by-jslib%20load-brightgreen.svg)](https://github.com/yanhaijing/jslib-load)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/load/blob/master/LICENSE)
[![CI](https://github.com/jsmini/load/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/load/actions/workflows/ci.yml)
[![npm](https://img.shields.io/badge/npm-0.4.0-orange.svg)](https://www.npmjs.com/package/@jsmini/load)
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/load.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/load)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/load.svg)](http://isitmaintained.com/project/jsmini/load 'Percentage of issues still open')

simple resource loader

English | [简体中文](./README-zh_CN.md)

## Environment Support

unit test ensure it supports the following environments.

| IE/Edge | Chrome | Firefox | Safari | Opera | IOS | Android |
| ------- | ------ | ------- | ------ | ----- | --- | ------- |
| 6+      | 23+    | 4+      | 6+     | 10+   | 5+  | 2.3+    |

## Directory

```
.
├── demo
├── dist  # production code
├── doc   # document
├── src   # source code
├── test  # unit test
├── CHANGELOG.md
└── TODO.md
```

## Usage

npm installation

```bash
$ npm install --save @jsmini/load
```

Node.js

```js
var name = require('@jsmini/load').name;
```

webpack

```js
import { name } from '@jsmini/load';
```

Require.js

```js
requirejs(
  ['node_modules/@jsmini/load/dist/index.aio.js'],
  function (jsmini_load) {
    var name = jsmini_load.name;
  },
);
```

Browser

```html
<script src="node_modules/@jsmini/load/dist/index.aio.js"></script>

<script>
  var name = jsmini_load.name;
</script>
```

## Document

[API](https://github.com/jsmini/load/blob/master/doc/api.md)

## Contributing Guide ![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)

when initialize, install dependencies

```bash
$ npm install
```

builds your code for production to `build` folder

```bash
$ npm run build
```

run unit test. notice: borwser enviroment need to test manually. test file is in `test/browser`

```bash
$ npm test
```

change the version in package.json and README.md, add your description in CHANGELOG.md, and then release it happily.

```bash
$ npm run release
```

publish the new package to npm

```bash
$ npm publish --access=public
```

rename project. you need to edit project name when initialize project or anytime you want to rename the project . you need to rename `formName` and `toname` in file `rename.js`,which will automatically rename project name in the following files

- README.md
- package.json
- config/rollup.js
- test/browser/index.html

```bash
$ npm run rename # rename command
```

## Contributors

[contributors](https://github.com/jsmini/load/graphs/contributors)

## CHANGELOG

[CHANGELOG.md](https://github.com/jsmini/load/blob/master/CHANGELOG.md)

## TODO

[TODO.md](https://github.com/jsmini/load/blob/master/TODO.md)

## who is using
npm package: @jsmini/url
Description: URL parsing library.
Author: yanhaijing
Latest version: 0.6.0

# [url](https://github.com/jsmini/url)

[![](https://img.shields.io/badge/Powered%20by-jslib%20url-brightgreen.svg)](https://github.com/yanhaijing/jslib-url)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/url/blob/master/LICENSE)
[![CI](https://github.com/jsmini/url/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/url/actions/workflows/ci.yml)
[![npm](https://img.shields.io/badge/npm-0.6.0-orange.svg)](https://www.npmjs.com/package/@jsmini/url)
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/url.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/url)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/url.svg)](http://isitmaintained.com/project/jsmini/url 'Percentage of issues still open')

URL parsing library.

English | [简体中文](./README-zh_CN.md)

## Environment Support

unit test ensure it supports the following environments.

| IE/Edge | Chrome | Firefox | Safari | Opera | IOS | Android | Node  |
| ------- | ------ | ------- | ------ | ----- | --- | ------- | ----- |
| 6+      | 23+    | 4+      | 6+     | 10+   | 5+  | 2.3+    | 0.10+ |

## Directory

```
.
├── demo
├── dist  # production code
├── doc   # document
├── src   # source code
├── test  # unit test
├── CHANGELOG.md
└── TODO.md
```

## Usage

npm installation

```bash
$ npm install --save @jsmini/url
```

Node.js

```js
var name = require('@jsmini/url').name;
```

webpack

```js
import { name } from '@jsmini/url';
```

Require.js

```js
requirejs(
  ['node_modules/@jsmini/url/dist/index.aio.js'],
  function (jsmini_url) {
    var name = jsmini_url.name;
  },
);
```

Browser

```html
<script src="node_modules/@jsmini/url/dist/index.aio.js"></script>

<script>
  var name = jsmini_url.name;
</script>
```

## Document

[API](https://github.com/jsmini/url/blob/master/doc/api.md)

## Contributing Guide ![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)

when initialize, install dependencies

```bash
$ npm install
```

builds your code for production to `build` folder

```bash
$ npm run build
```

run unit test. notice: borwser enviroment need to test manually. test file is in `test/browser`

```bash
$ npm test
```

change the version in package.json and README.md, add your description in CHANGELOG.md, and then release it happily.

```bash
$ npm run release
```

publish the new package to npm

```bash
$ npm publish --access=public
```

rename project. you need to edit project name when initialize project or anytime you want to rename the project . you need to rename `formName` and `toname` in file `rename.js`,which will automatically rename project name in the following files

- README.md
- package.json
- config/rollup.js
- test/browser/index.html

```bash
$ npm run rename # rename command
```

## Contributors

[contributors](https://github.com/jsmini/url/graphs/contributors)

## CHANGELOG

[CHANGELOG.md](https://github.com/jsmini/url/blob/master/CHANGELOG.md)

## TODO

[TODO.md](https://github.com/jsmini/url/blob/master/TODO.md)

## who is using
npm package: @jsmith21/svg-loaders-react
Description: React implementation of the SVG Loaders library by Sam Herbert
Author: Adam Wanninger
Latest version: 2.2.2

[![Build Status](https://travis-ci.org/ajwann/svg-loaders-react.svg?branch=master)](https://travis-ci.org/ajwann/svg-loaders-react)
[![npm version](https://badge.fury.io/js/svg-loaders-react.svg)](https://badge.fury.io/js/svg-loaders-react)

This is a zero-dependency React adaptation of Sam Herberts [SVG Loaders](https://github.com/SamHerbert/SVG-Loaders) library.

# Usage

## Install from NPM
```bash
npm install svg-loaders-react
```

## Import the SVGLoaders components

### Import all the loaders in a namespaced fashion
You can import all the loaders at once:
```js
import * as SVGLoaders from 'svg-loaders-react';
```
and use them in a namespaced manner:
```js
<SVGLoaders.Bars />
```

### Import an individual loader
You can also import a single loader:
```js
import { Bars } from 'svg-loaders-react'
```
and use it without any fancy namespacing:
```js
<Bars />
```

## Components

```<Audio />```

```<BallTriangle />```

```<Bars />```

```<Circles />```

```<Grid />```

```<Hearts />```

```<Oval />```

```<Puff />```

```<Rings />```

```<SpinningCircles />```

```<TailSpin />```

```<ThreeDots />```

# Options

Each of these components should be able to accept any [SVG tag presentation attributes](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/Presentation) as props. 

# Common Usage
```Javascript
// render the Puff loader with a stroke opacity of .125
<Puff strokeOpacity=".125" />

// render the Puff loader with a stroke of mint green
<Puff stroke="#98ff98" />

// render the Puff loader with a stroke of mint green and a stroke opactiy of .125
<Puff stroke="#98ff98" strokeOpacity=".125"/>
```
npm package: @jsmith21/vue-terminal
Description: `vue-terminal` is a terminal emulator written in Vue. It is currently being used to power my [portfolio site](https://jsmith.github.io).
Latest version: 1.1.6

# vue-terminal
`vue-terminal` is a terminal emulator written in Vue. It is currently being used to power my [portfolio site](https://jsmith.github.io).

<a href="https://ibb.co/cmSQh0"><img src="https://preview.ibb.co/dK3y20/Screenshot-from-2018-11-16-08-08-13.png" alt="Screenshot-from-2018-11-16-08-08-13" border="0" /></a>

## Project setup
```
npm i
```

### Startup the Development Environment (Storybook)
```
npm run serve:storybook
```

### Publishing
```
VERSION="YOUR_VERSION"
npm run bundle
git add .
git commit -m "$VERSION"
git tag v$VERSION
git push
npm publish
```