8.9.0 • Published 2 months ago

openchemlib v8.9.0

Weekly downloads
1,089
License
BSD-3-Clause
Repository
github
Last release
2 months ago

OpenChemLib JS

JavaScript port of the OpenChemLib Java library.

Installation

npm install openchemlib

Documentation

This library is available in three different builds: minimal, core and full. Each larger build contains all functionalities from the smaller ones.

The core build is the one that you get when you require('openchemlib'). It contains all functionalities that can be used in Node.js.

The minimal (require('openchemlib/minimal')) build is a smaller one (~ half the size of core) that is meant to be used in a browser application if bundle size matters and prediction functionalities are not needed.

The full build (require('openchemlib/full')) build is the largest build. It contains a structure viewer and a structure editor for browser applications.

Modules present in minimal, core and full builds

Modules present only in core and full builds

Modules present only in full build

Development

To build this project, you need :

Install dependencies

npm ci

Configure directories

Copy config.default.json to config.json and put the path to the GWT classes on your computer.
If you want to use a custom JDK installation, set the "jdk" key to be the path to your JDK directory.

npm scripts

To run one of the scripts, use npm run <scriptName>.
To pass an options, use npm run <scriptName> -- --option.

Options:

  • -m name: only process module "name"
  • -v: verbose output

compile:min / compile:pretty

Execute the GWT compiler.

export

Transform the GWT compiled files to JavaScript modules.

build:min / build:pretty

Compile and export.

copy:openchemlib

Copy the required java files from the openchemlib project.

License

BSD-3-Clause

8.9.0

2 months ago

8.8.1

3 months ago

8.8.0

3 months ago

8.6.0

7 months ago

8.7.2

5 months ago

8.7.1

6 months ago

8.7.0

6 months ago

8.4.0

8 months ago

8.5.0

8 months ago

8.3.0

1 year ago

8.2.0

1 year ago

8.1.0

1 year ago

7.5.0

2 years ago

8.0.1

2 years ago

8.0.0

2 years ago

7.4.3

3 years ago

7.4.2

3 years ago

7.4.1

3 years ago

7.4.0

3 years ago

7.3.0

3 years ago

7.2.3

4 years ago

7.2.1

5 years ago

7.2.0

5 years ago

7.1.1

5 years ago

7.1.0

5 years ago

7.0.1

5 years ago

7.0.0

5 years ago

6.0.1

5 years ago

6.0.0

5 years ago

5.9.1

5 years ago

5.9.0

5 years ago

5.8.0

5 years ago

5.7.0

5 years ago

5.6.1

5 years ago

5.6.0

6 years ago

5.5.2

6 years ago

5.5.1

6 years ago

5.5.0

6 years ago

5.4.0

6 years ago

5.3.0

7 years ago

5.2.10

7 years ago

5.2.9

7 years ago

5.2.8

7 years ago

5.2.7

7 years ago

5.2.6

7 years ago

5.2.5

7 years ago

5.2.4

7 years ago

5.2.3

7 years ago

5.2.2

7 years ago

5.2.0

7 years ago

5.1.2

7 years ago

5.1.1

7 years ago

5.1.0

7 years ago

5.0.0

7 years ago

4.7.2

7 years ago

4.7.1

7 years ago

4.7.0

7 years ago

4.6.3

7 years ago

4.6.2

7 years ago

4.6.0

7 years ago

4.5.0

8 years ago

4.4.2

8 years ago

4.4.0

8 years ago

4.3.1

8 years ago

4.3.0

8 years ago

4.2.2

8 years ago

4.2.1

8 years ago

4.2.0

8 years ago

4.1.0

8 years ago

4.0.1

8 years ago

4.0.0

8 years ago

3.2.4

8 years ago

3.2.3

8 years ago

3.2.2

8 years ago

3.2.0

8 years ago

3.1.1

8 years ago

3.1.0

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

3.0.0-beta4

9 years ago

3.0.0-beta3

9 years ago

3.0.0-beta2

9 years ago

3.0.0-beta1

9 years ago

3.0.0-alpha10

9 years ago

3.0.0-alpha9

9 years ago

3.0.0-alpha8

9 years ago

3.0.0-alpha7

9 years ago

3.0.0-alpha6

9 years ago