# device-uuid-liq

> Simple browser device uuid generation library.

Latest version **1.0.5** (published 2024-02-06) · 0 weekly downloads

## Install

```sh
npm install device-uuid-liq
pnpm add device-uuid-liq
yarn add device-uuid-liq
bun add device-uuid-liq
```

## 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.5 |
| Published | 2024-02-06 |
| First published | 2024-02-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8 |
| Dependencies | 0 |
| Unpacked size | 70.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ivan Ryzhou |
| Maintainers | ezzhevichka |
| Keywords | useragent, browser, device, uuid |

## Links

- npm: https://www.npmjs.com/package/device-uuid-liq
- Repository: https://github.com/Ezzhevichka/device-uuid-liq
- Homepage: https://github.com/Ezzhevichka/device-uuid-liq/
- Issues: https://github.com/Ezzhevichka/device-uuid-liq/issues
- npm.io page: https://npm.io/package/device-uuid-liq

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2024-02-06
- 1.0.4 — 2024-02-06
- 1.0.3 — 2024-02-06
- 1.0.2 — 2024-02-06
- 1.0.0 — 2024-02-06

## README

# device-uuid-liq
Simple browser device uuid generation plugin. Reworked to avoid build bugs.

## Installation

```bash
 $ yarn add device-uuid-liq
```

## Usage overview

```javascript
import UUID from 'device-uuid-liq';

const uuid = UUID.get();
```

#### Execute the plugin:
as a result example:
```
    e9dc90ac-d03d-4f01-a7bb-873e14556d8e
```

custom device uuid generation:
```javascript
const du = UUID.parse();
    const dua = [
        du.language,
        du.platform,
        du.os,
        du.cpuCores,
        du.isAuthoritative,
        du.silkAccelerated,
        du.isKindleFire,
        du.isDesktop,
        du.isMobile,
        du.isTablet,
        du.isWindows,
        du.isLinux,
        du.isLinux64,
        du.isMac,
        du.isiPad,
        du.isiPhone,
        du.isiPod,
        du.isSmartTV,
        du.pixelDepth,
        du.isTouchScreen
    ];
    const uuid = du.hashMD5(dua.join(':'));
```


module provides details such as the following:

```js
{
  "isMobile":false,
  "isDesktop":true,
  "isBot":false,
  .....
  "browser":"Chrome",
  "version":"17.0.963.79",
  "os":"Windows 7",
  "platform":"Microsoft Windows",
  "source":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79..."
}

```

### LICENSE

[MIT](LICENSE)

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