@chemistry/crystalview
v3.0.0
Published
Crystal Structure Visualization Library
Maintainers
Readme
CrystalView

How to use
import { Mol3DView } from '@chemistry/crystalview';
import structure from './1000004';
$(() => {
let viewer = new Mol3DView({
bgcolor: '#2b303b',
});
var element = document.getElementById('app');
viewer.append(element);
viewer.onInit();
try {
viewer.load(structure);
} catch (e) {}
});Quick start:
- Run unit tests:
npm run test - Start TDD flow:
npm run tdd - Run linter verification:
npm run lint - Run linter verification & fix:
npm run lintfix - Build project:
npm run build
Release
git tag v1.0.0
git push --tagsLicense
This project is licensed under the MIT license, Copyright (c) 2020 Volodymyr Vreshch. For more information see LICENSE.md.
