# @types/riotcontrol

> TypeScript definitions for riotcontrol

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

## Install

```sh
npm install @types/riotcontrol
pnpm add @types/riotcontrol
yarn add @types/riotcontrol
bun add @types/riotcontrol
```

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.30 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.0.30 (latest) — 2023-11-07
- 0.0.28 (ts3.0) — 2020-05-15
- 0.0.27 (ts2.0) — 2016-09-19
- 0.0.29 — 2023-10-18
- 0.0.26 — 2016-07-14
- 0.0.25-alpha — 2016-07-08
- 0.0.24-alpha — 2016-07-04
- 0.0.23-alpha — 2016-07-02
- 0.0.22-alpha — 2016-07-01
- 0.0.21-alpha — 2016-07-01
- 0.0.20-alpha — 2016-05-25
- 0.0.19-alpha — 2016-05-20
- 0.0.14-alpha — 2016-05-19
- 0.0.13-alpha — 2016-05-17

## README

# Installation
> `npm install --save @types/riotcontrol`

# Summary
This package contains type definitions for riotcontrol (https://github.com/jimsparkman/RiotControl).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/riotcontrol.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/riotcontrol/index.d.ts)
````ts
export = RiotControl;
export as namespace RiotControl;

declare namespace RiotControl {
    interface Store {
        on(events: string, fn: Function): Store;
        one(name: string, fn: Function): Store;
        off(events: string, fn?: Function): Store;
        trigger(name: string, ...args: any[]): Store;
    }

    var _stores: Store[];

    function addStore(store: Store): void;

    function on(events: string, fn: Function): void;
    function one(name: string, fn: Function): void;
    function off(events: string, fn?: Function): void;
    function trigger(name: string, ...args: any[]): void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Ilya Mochalov](https://github.com/chrootsu).

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