# gpu-detect-js

> Extracts GPU information from the browser

Latest version **0.1.0** (published 2023-09-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install gpu-detect-js
pnpm add gpu-detect-js
yarn add gpu-detect-js
bun add gpu-detect-js
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2023-09-08 |
| First published | 2023-09-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2 |
| Author | Faisal Salman |
| Maintainers | faisalman |
| Keywords | ua-parser-js, gpu-detection, gpu-info |

## Links

- npm: https://www.npmjs.com/package/gpu-detect-js
- Repository: https://github.com/faisalman/gpu-detect-js
- Homepage: https://github.com/faisalman/gpu-detect-js#readme
- Issues: https://github.com/faisalman/gpu-detect-js/issues
- Funding: https://github.com/sponsors/faisalman
- npm.io page: https://npm.io/package/gpu-detect-js

## Dependencies (1)

- [re-parse-js](https://npm.io/package/re-parse-js.md) ^0.1.2

## Recent versions

- 0.1.0 (latest) — 2023-09-08

## README

# GPUDetect.js
Extracts GPU information from the browser

```sh
npm i gpu-detect-js
```

## Methods

`getGPU():GPUInfo`

`interface GPUInfo { vendor: string | undefined; model: string | undefined }`

## Code Example

```js
import { GPUDetect } from 'gpu-detect-js';

const gpuInfo = GPUDetect.getGPU();
console.log(gpuInfo);
// { vendor: "AMD", model: "Radeon R9 M295X" }
```

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