Installation
NPM Package
yarn add molstaror
npm install molstarMol* code can then be imported from the molstar/lib/... namespace, e.g.
ts
import { PluginContext } from 'molstar/lib/mol-plugin/context';Clone from GitHub
git clone https://github.com/molstar/molstar.git
cd molstar
npm install
npm buildFor a watch task to automatically rebuild the source code on changes, run
npm run watchor if working just with the Viewer app for better performance
npm run watch-viewer