New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

chemlib

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chemlib

chemlib is a framework to be used to support software for chemistry teaching and is intended to stand as the backend for such applications.

latest
npmnpm
Version
0.2.2
Version published
Maintainers
0
Created
Source

Chemlib

Chemlib is a TypeScript library for simulating chemical processes. The software offers no visual frontend but instead should be used as a backend for other web applications.

Installation

  • Copy this repository using git clone
  • link the project using either npm link or npm install </path to Chemlib>

Dependencies

Chemlib utilizes the open source toolbox kekule.js, which should already be bundled with Chemlib.

Usage

Import

Simply import all components from Chemlib into another project using the common commands:

import * as chemlib from 'chemlib'

or just use individual components like so:

import {ElementData, Atom} from 'chemlib'

Components

Chemlib consists of multiple Classes, most of which need to work together to function properly. A list of all Classes with a short description can be found below.

namedescription
ElementDataA collection of data for each chemical element
AtomRepresentation of an atom
BondRepresentation of an atomic bond
MoleculeRepresentation of a molecule
MixtureA Representation of a mixture of one or more instances of Molecule
StructureManagerAbstract static management class for Mixture} and Molecule objects
ChemComponentRepresentation of a chemical lab component such as beakers and flasks
ComponentTypeAn enum for the specific component types, used for identification
ElectricComponentRepresentation of an electric component
EComponentTypeAn enum for the specific electric component types, used for identification
ComponentManagerAbstract static managing class for all components
SimulationA static abstract class used to access all chemical simulations

Keywords

chemlib

FAQs

Package last updated on 06 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts