@types/raspi-peripheral
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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

/// <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

Credits

These definitions were written by Bryan Hughes.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/raspi-peripheral

Weekly Downloads

0

Version

2.0.3

License

MIT

Unpacked Size

3.33 kB

Total Files

5

Last publish

Collaborators

  • types