Skip to content

Setup node.js musica package #587

@K20shores

Description

@K20shores

To support running some musica operations in Chemistry Cafe directly in the browser, we need to create a javascript wrapper of musica. Setup the initial javascript package

Acceptance criteria

  • A javascript pacakge layout is setup for musica
  • musica version can be returned and printed from node
  • A testing structure is setup
  • A github action is setup for each operating system which builds the addon

Ideas

  • Pretend like fortran doesn't exist and don't try to include CARMA, TUVX
  • We will be creating what is known as a node.js addon.
    • There seem to be 3 options listed in that link, but the recommendation is to use Node-API.
    • Node-addon-api may be the interface we are using? I'm not sure
  • There are two build tools we can use, probably we will need to use the cmake option but I don't know

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions