Skip to content

whtbowers/molstar-react-ts

Repository files navigation

Molstar React Typescript Wrapper

This library wraps the macromolecular visualisation tool Molstar for both dynamic styling and interactivity in the context of larger React projects, due to its support for TypeScript and Strict Mode.

Whilst there is an existing molstar-react, the version of molstar required is a few versions behind, and uses typed Javascript rather than Typescript.

Upcoming work:

  • Further documentation.

Rspack project

Setup

Install the dependencies:

npm install

Get started

Start the dev server, and the app will be available at http://localhost:8080.

npm run dev

Build the app for production:

npm run build

Preview the production build locally:

npm run preview

Learn more

To learn more about Rspack, check out the following resources:

About

A wrapper for Molstar, enabling its use in React Typescript projects that have strict mode enabled.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages