typed-bitwig-api
TypeScript icon, indicating that this package has built-in type declarations

18.0.0 • Public • Published

typed-bitwig-api

Typescript types definition file for Bitwig Control Surface API.

Installation

$ npm install typed-bitwig-api

In your tsconfig.json for your project add the following to the types list:

{
    ...
    "types": [
        ...,
        "typed-bitwig-api"
    ],
    ...
}

Usage

With the above installation complete, the host variable should be seen as available globally (along with load, loadAPI, println, dump, etc). API interfaces are made available for reference through the globally accessible API namespace. So, for example, if you wrote a function that took an instance of the API's Transport object, you would reference it as follows:

function foo(transport: API.Transport) {
    // ... do something
}

/typed-bitwig-api/

    Package Sidebar

    Install

    npm i typed-bitwig-api

    Weekly Downloads

    13

    Version

    18.0.0

    License

    BSD-3-Clause

    Unpacked Size

    526 kB

    Total Files

    4

    Last publish

    Collaborators

    • joslarson