max-api
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/max-api package

2.0.0 • Public • Published

max-api

Intro

This package is simply a placeholder package to prevent malicious usage of the max-api package name. It simply throws an error when required in order to showcase that a user has accidentally installed a max-api package when using [node.script].

Background

When using [node.script]in Cycling '74 Max one gets access to an API that allows bi-directional communication between Node and Max. This API is made dynamically available and can be required using require("max-api"). To avoid any issues or unexpected behaviour with an installed dependency of max-api that might overwrite the dynamic API module this package immediately throws an error.

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i max-api

      Weekly Downloads

      11

      Version

      2.0.0

      License

      MIT

      Unpacked Size

      2.95 kB

      Total Files

      4

      Last publish

      Collaborators

      • benbracken