Node for Max API
Reference for the API exposed as "max-api" when running NodeJS applications using the [node.script] object. This API can be required using
const maxAPI = require("max-api");
Enums
| Item | Description | 
|---|---|
| MAX_ENV | Enum options for the value Node For Max will set on process.env.MAX_ENV | 
| MESSAGE_TYPES | Predefined generic MaxFunctionSelector types | 
| POST_LEVELS | Log Levels used in maxAPI.post | 
Functions
| Item | Description | 
|---|---|
| addHandler | Register a single handler | 
| addHandlers | Register handlers | 
| getDict | Get the value of a dict object | 
| outlet | Outlet any values | 
| outletBang | Outlet a Bang | 
| post | Post to the Max console. Setting the last argument to a value of maxAPI.POST_LEVELS allows control of the log level | 
| removeHandler | Remove a single handler | 
| removeHandlers | Remove handlers | 
| setDict | Set the value of a dict object | 
| updateDict | Partially update the value of a dict object at a given path | 
Type Aliases
| Item | Description | 
|---|---|
| Anything | |
| JSONArray | |
| JSONObject | |
| JSONPrimitive | |
| JSONValue | |
| MaxFunctionHandler | |
| MaxFunctionSelector |