npm.io
2.0.3 • Published 2 years ago

@types/raspi-peripheral

Licence
MIT
Version
2.0.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0939 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Bryan Hughes.