2.25.0 • Published 2 months ago

ketcher-react v2.25.0

Weekly downloads
7
License
Apache-2.0
Repository
github
Last release
2 months 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.26.0-rc.6

2 months ago

2.26.0-rc.5

2 months ago

2.26.0-rc.1

3 months ago

2.26.0-rc.4

2 months ago

2.26.0-rc.2

2 months ago

2.26.0-rc.3

2 months ago

2.22.0

4 months ago

2.25.0

2 months ago

2.25.0-rc.1

4 months ago

2.25.0-rc.2

3 months ago

2.25.0-rc.3

3 months ago

2.25.0-rc.4

3 months ago

2.25.0-rc.5

3 months ago

2.24.0

3 months ago

2.23.0

3 months ago

2.23.0-rc.1

6 months ago

2.23.0-rc.2

5 months ago

2.23.0-rc.5

4 months ago

2.22.0-rc.5

6 months ago

2.22.0-rc.4

6 months ago

2.23.0-rc.3

5 months ago

2.22.0-rc.3

6 months ago

2.23.0-rc.4

4 months ago

2.22.0-rc.2

7 months ago

2.22.0-rc.9

6 months ago

2.22.0-rc.8

6 months ago

2.22.0-rc.7

6 months ago

2.22.0-rc.6

6 months ago

2.21.0

6 months ago

2.23.0-rc.1-dev.1

6 months ago

2.24.0-rc.1

5 months ago

2.24.0-rc.3

4 months ago

2.21.0-rc.3

7 months ago

2.24.0-rc.2

4 months ago

2.22.0-rc.1-dev.1

8 months ago

2.21.0-rc.2

8 months ago

2.20.0

8 months ago

2.19.0

8 months ago

2.20.0-rc.3

8 months ago

2.19.0-rc.4

8 months ago

2.20.0-rc.2-hf.1

8 months ago

2.21.0-rc.1

8 months ago

2.20.0-rc.2

9 months ago

2.19.0-rc.3

9 months ago

2.20.0-rc.1

9 months ago

2.19.0-rc.2

10 months ago

2.16.0

10 months ago

2.18.0

10 months ago

2.17.0

10 months ago

2.18.0-rc.9

10 months ago

2.18.0-rc.8

10 months ago

2.19.0-rc.1

10 months ago

2.18.0-rc.7

10 months ago

2.18.0-rc.6

10 months ago

2.18.0-rc.5

11 months ago

2.18.0-rc.4

11 months ago

2.18.0-rc.3

11 months ago

2.18.0-rc.2

11 months ago

2.18.0-rc.1

11 months ago

2.17.0-rc.3

12 months ago

2.17.0-rc.2

1 year ago

2.15.1

1 year ago

2.16.0-rc.4

1 year ago

2.14.1

1 year ago

2.17.0-rc.1

1 year ago

2.15.0

1 year ago

2.14.0

1 year ago

2.13.0

1 year ago

2.16.0-rc.2

1 year ago

2.15.0-rc.6

1 year ago

2.14.0-rc.5

1 year ago

2.16.0-rc.3

1 year ago

2.15.0-rc.2

1 year ago

2.15.0-rc.3

1 year ago

2.15.0-rc.4

1 year ago

2.15.0-rc.5

1 year ago

2.15.0-rc.1

1 year ago

2.13.0-rc.5

1 year ago

2.14.0-rc.2

1 year ago

2.14.0-rc.4

1 year ago

2.14.0-rc.3

1 year ago

2.11.0

1 year ago

2.12.0

1 year ago

2.10.0

2 years ago

2.13.0-rc.4

1 year ago

2.10.0-rc.5

2 years ago

2.10.0-rc.6

2 years ago

2.13.0-rc.2

1 year ago

2.14.0-rc.1

1 year ago

2.13.0-rc.3

1 year ago

2.13.0-rc.1

1 year ago

2.12.0-rc.1

1 year ago

2.11.0-rc.1

2 years ago

2.12.0-rc.2

1 year ago

2.12.0-rc.3

1 year ago

2.11.0-rc.3

2 years ago

2.12.0-rc.4

1 year ago

2.11.0-rc.2

2 years ago

2.10.0-rc.4

2 years ago

2.11.0-rc.4

2 years ago

2.9.0-rc.6

2 years ago

2.9.0-rc.9

2 years ago

2.9.0-rc.7

2 years ago

2.9.0-rc.8

2 years ago

2.9.0

2 years ago

2.10.0-rc.3

2 years ago

2.10.0-rc.1

2 years ago

2.10.0-rc.2

2 years ago

2.9.0-rc.1

2 years ago

2.9.0-rc.2

2 years ago

2.9.0-rc.5

2 years ago

2.9.0-rc.3

2 years ago

2.9.0-rc.4

2 years ago

2.7.0-rc.9

2 years ago

2.9.0-rc.5-dev.1

2 years ago

2.8.0-rc.2-dev

2 years ago

2.8.0

2 years ago

2.7.0-rc.10

2 years ago

2.8.0-rc.3-dev.2

2 years ago

2.8.0-rc.3-dev.1

2 years ago

2.8.0-rc.3-dev.3

2 years ago

2.8.0-rc.1

2 years ago

2.8.0-rc.5

2 years ago

2.8.0-rc.4

2 years ago

2.8.0-rc.3

2 years ago

2.8.0-rc.2

2 years ago

2.8.0-rc.6

2 years ago

2.7.0

2 years ago

2.7.2

2 years ago

2.7.1

2 years ago

2.6.0-rc.1

2 years ago

2.7.0-rc.2

2 years ago

2.7.0-rc.3

2 years ago

2.6.0-rc.3

2 years ago

2.7.0-rc.4

2 years ago

2.6.0-rc.2

2 years ago

2.7.0-rc.5

2 years ago

2.7.0-rc.6

2 years ago

2.7.0-rc.7

2 years ago

2.7.0-rc.8

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago

2.6.3

2 years ago

2.6.2

2 years ago

2.7.0-rc.7-dev1

2 years ago

2.6.4

2 years ago

2.7.0-rc1

2 years ago

2.5.2

2 years ago

2.5.0

3 years ago

2.5.1

3 years ago

2.4.1

3 years ago

2.4.0

3 years ago

2.4.2

3 years ago

2.3.3

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.1.0-beta.1

4 years ago

2.1.0-beta

4 years ago