JSPM

max-api

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29
  • Score
    100M100P100Q55931F
  • License MIT

Placeholder / Stub Node package for users that accidentally install "max-api" when attempting to use the dynamic "max-api" within [node.script]

Package Exports

  • max-api

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (max-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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