# @types/raspi-peripheral

> TypeScript definitions for raspi-peripheral

Latest version **2.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/raspi-peripheral
pnpm add @types/raspi-peripheral
yarn add @types/raspi-peripheral
bun add @types/raspi-peripheral
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2023-11-07 |
| First published | 2017-12-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/raspi-peripheral
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/raspi-peripheral
- npm.io page: https://npm.io/package/@types/raspi-peripheral

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 2.0.3 (latest) — 2023-11-07
- 2.0.0 (ts2.1) — 2017-12-07
- 2.0.2 — 2023-10-18
- 2.0.1 — 2023-09-27

## README

# Installation
> `npm install --save @types/raspi-peripheral`

# Summary
This package contains type definitions for raspi-peripheral (https://github.com/nebrius/raspi-peripheral).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/raspi-peripheral.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/raspi-peripheral/index.d.ts)
````ts
/// <reference types="node" />
import { EventEmitter } from "events";
export class Peripheral extends EventEmitter {
    private _alive;
    readonly alive: boolean;
    private _pins;
    readonly pins: number[];
    constructor(pins: string | number | Array<string | number>);
    destroy(): void;
    validateAlive(): void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Bryan Hughes](https://github.com/nebrius).

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