# shimo-guid

> A Guid generator and validator.

Latest version **1.0.2** (published 2016-05-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install shimo-guid
pnpm add shimo-guid
yarn add shimo-guid
bun add shimo-guid
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-05-19 |
| First published | 2015-10-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Tom Wan |
| Maintainers | tomwan |

## Links

- npm: https://www.npmjs.com/package/shimo-guid
- Repository: https://github.com/shimohq/guid
- Issues: https://github.com/shimohq/guid/issues
- npm.io page: https://npm.io/package/shimo-guid

## Dependencies (1)

- [should](https://npm.io/package/should.md) ^7.1.0

## Recent versions

- 1.0.2 (latest) — 2016-05-19
- 1.0.1 — 2015-11-11
- 1.0.0 — 2015-10-16

## README

# guid
A Guid generator and validator.

###
THIS 'GUID' FORMAT LIKE 'Il9Bq9ZXtojcdPNm'(REG: /^[A-Za-z0-9]+$/).

## Example && APIS
```javascript

const Guid = require('shimo-guid');

Guid.isGuid('Il9Bq9ZXtojcdPNm'); // true
Guid.fromInt(10000); // 'lS', the first argument must be an unsigned integer
Guid.toInt('BAC'); // 1 * 62 * 62 + 0 + 2 = 3846
Guid.new(16); // generate a new one, default length is 16

```
## To begin

 1. Install it:

    ```bash
    $ npm install shimo-guid --save
    ```
 2. Require it and use:

    ```js
    var Guid = require('shimo-guid');
    var guid = Guid.new();
    ```

## License

 MIT &copy; ChuXin Tech

---
_Source: https://npm.io/package/shimo-guid · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
