2.19.0 • Published 21 hours ago

ketcher-react v2.19.0

Weekly downloads
7
License
Apache-2.0
Repository
github
Last release
21 hours ago

ketcher-react

npm version Downloads License

Copyright (c) 2021 EPAM Systems, Inc.

Ketcher is an open-source web-based chemical structure editor incorporating high performance, good portability, light weight, and ability to easily integrate into a custom web-application. Ketcher is designed for chemists, laboratory scientists and technicians who draw structures and reactions.

For more details please look at the following link.

The ketcher-react package contains only the functionality necessary to define components. It is used together with ketcher-core and optionally with ketcher-standalone if standaolone mode is required.

Installation

The ketcher-react library is available as an NPM package. Install it either with NPM:

npm install --save ketcher-react

or Yarn:

yarn add ketcher-react

Usage

import { RemoteStructServiceProvider } from 'ketcher-core'

const structServiceProvider = new RemoteStructServiceProvider(
  process.env.REACT_APP_API_PATH!,
  {
    'custom header': 'value' // optionally you can add custom headers object 
  }
)

const MyComponent = () => {
  return (
    <Editor
      staticResourcesUrl={process.env.PUBLIC_URL}
      structServiceProvider={structServiceProvider}
    />
  )
}

Indigo Service

Ketcher uses Indigo Service for server operations. You may pass it as a property while Editor component is used or just add api_path query parameter:

<Editor staticResourcesUrl={process.env.PUBLIC_URL} apiPath={link to Indigo service} />
    or
http://localhost:3000/?api_path={link to Indigo service}

You can find the instruction for service installation here.

3D Viewer

Ketcher uses Miew-React for viewing and editing data in 3D. Miew-React package default exports Viewer component which initializes and renders a Miew instance inside of it

...
import Viewer from 'miew-react'

const MyComponent = () => {
  return <Viewer />
}
...
...

You can find the latest version of Miew-React here. The last checked version - 1.0.0.

2.19.0

21 hours ago

2.20.0-rc.3

4 days ago

2.19.0-rc.4

7 days ago

2.21.0-rc.1

15 days ago

2.20.0-rc.2

1 month ago

2.19.0-rc.3

1 month ago

2.20.0-rc.1

2 months ago

2.19.0-rc.2

2 months ago

2.16.0

2 months ago

2.18.0

2 months ago

2.17.0

2 months ago

2.18.0-rc.9

2 months ago

2.18.0-rc.8

2 months ago

2.19.0-rc.1

2 months ago

2.18.0-rc.7

2 months ago

2.18.0-rc.6

3 months ago

2.18.0-rc.5

3 months ago

2.18.0-rc.4

3 months ago

2.18.0-rc.3

3 months ago

2.18.0-rc.2

3 months ago

2.18.0-rc.1

4 months ago

2.17.0-rc.3

4 months ago

2.17.0-rc.2

5 months ago

2.15.1

5 months ago

2.16.0-rc.4

5 months ago

2.14.1

5 months ago

2.17.0-rc.1

5 months ago

2.15.0

6 months ago

2.14.0

6 months ago

2.13.0

7 months ago

2.16.0-rc.2

6 months ago

2.15.0-rc.6

6 months ago

2.14.0-rc.5

8 months ago

2.16.0-rc.3

6 months ago

2.15.0-rc.2

8 months ago

2.15.0-rc.3

7 months ago

2.15.0-rc.4

7 months ago

2.15.0-rc.5

6 months ago

2.15.0-rc.1

8 months ago

2.13.0-rc.5

8 months ago

2.14.0-rc.2

8 months ago

2.14.0-rc.4

8 months ago

2.14.0-rc.3

8 months ago

2.11.0

10 months ago

2.12.0

9 months ago

2.10.0

11 months ago

2.13.0-rc.3-dev.1

9 months ago

2.13.0-rc.3-dev.2

9 months ago

2.13.0-rc.4

9 months ago

2.10.0-rc.5

11 months ago

2.10.0-rc.6

11 months ago

2.13.0-rc.2

9 months ago

2.14.0-rc.1

9 months ago

2.13.0-rc.3

9 months ago

2.13.0-rc.1

10 months ago

2.12.0-rc.1

10 months ago

2.11.0-rc.1

11 months ago

2.12.0-rc.2

10 months ago

2.12.0-rc.3

10 months ago

2.11.0-rc.3

11 months ago

2.12.0-rc.4

10 months ago

2.11.0-rc.2

11 months ago

2.10.0-rc.4

12 months ago

2.11.0-rc.4

11 months ago

2.9.0-rc.6

1 year ago

2.9.0-rc.9

1 year ago

2.9.0-rc.7

1 year ago

2.9.0-rc.8

1 year ago

2.9.0

12 months ago

2.10.0-rc.3

12 months ago

2.10.0-rc.1

1 year ago

2.10.0-rc.2

12 months ago

2.9.0-rc.1

1 year ago

2.9.0-rc.2

1 year ago

2.9.0-rc.5

1 year ago

2.9.0-rc.3

1 year ago

2.9.0-rc.4

1 year ago

2.7.0-rc.9

1 year ago

2.8.0-rc.2-dev

1 year ago

2.8.0

1 year ago

2.7.0-rc.10

1 year ago

2.8.0-rc.1

1 year ago

2.8.0-rc.5

1 year ago

2.8.0-rc.4

1 year ago

2.8.0-rc.3

1 year ago

2.8.0-rc.2

1 year ago

2.8.0-rc.6

1 year ago

2.7.0

1 year ago

2.7.2

1 year ago

2.7.1

1 year ago

2.6.0-rc.1

2 years ago

2.7.0-rc.2

1 year ago

2.7.0-rc.3

1 year ago

2.6.0-rc.3

2 years ago

2.7.0-rc.4

1 year ago

2.6.0-rc.2

2 years ago

2.7.0-rc.5

1 year ago

2.7.0-rc.6

1 year ago

2.7.0-rc.7

1 year ago

2.7.0-rc.8

1 year ago

2.6.1

1 year ago

2.6.0

1 year ago

2.6.3

1 year ago

2.6.2

1 year ago

2.7.0-rc.7-dev1

1 year ago

2.6.4

1 year ago

2.7.0-rc1

1 year ago

2.5.2

2 years ago

2.5.0

2 years ago

2.5.1

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.4.2

2 years ago

2.3.3

2 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.1.0-beta.1

3 years ago

2.1.0-beta

3 years ago