2.25.0 • Published 21 days ago

ketcher-react v2.25.0

Weekly downloads
7
License
Apache-2.0
Repository
github
Last release
21 days 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

21 days ago

2.26.0-rc.5

25 days ago

2.26.0-rc.1

1 month ago

2.26.0-rc.4

28 days ago

2.26.0-rc.2

1 month ago

2.26.0-rc.3

1 month ago

2.22.0

2 months ago

2.25.0

1 month ago

2.25.0-rc.1

2 months ago

2.25.0-rc.2

2 months ago

2.25.0-rc.3

2 months ago

2.25.0-rc.4

2 months ago

2.25.0-rc.5

2 months ago

2.24.0

2 months ago

2.23.0

2 months ago

2.23.0-rc.1

5 months ago

2.23.0-rc.2

4 months ago

2.23.0-rc.5

3 months ago

2.22.0-rc.5

5 months ago

2.22.0-rc.4

5 months ago

2.23.0-rc.3

4 months ago

2.22.0-rc.3

5 months ago

2.23.0-rc.4

3 months ago

2.22.0-rc.2

6 months ago

2.22.0-rc.9

4 months ago

2.22.0-rc.8

5 months ago

2.22.0-rc.7

5 months ago

2.22.0-rc.6

5 months ago

2.21.0

5 months ago

2.23.0-rc.1-dev.1

5 months ago

2.24.0-rc.1

3 months ago

2.24.0-rc.3

3 months ago

2.21.0-rc.3

5 months ago

2.24.0-rc.2

3 months ago

2.22.0-rc.1-dev.1

6 months ago

2.21.0-rc.2

6 months ago

2.20.0

7 months ago

2.19.0

7 months ago

2.20.0-rc.3

7 months ago

2.19.0-rc.4

7 months ago

2.20.0-rc.2-hf.1

7 months ago

2.21.0-rc.1

7 months ago

2.20.0-rc.2

8 months ago

2.19.0-rc.3

8 months ago

2.20.0-rc.1

8 months ago

2.19.0-rc.2

8 months ago

2.16.0

9 months ago

2.18.0

9 months ago

2.17.0

9 months ago

2.18.0-rc.9

9 months ago

2.18.0-rc.8

9 months ago

2.19.0-rc.1

9 months ago

2.18.0-rc.7

9 months ago

2.18.0-rc.6

9 months ago

2.18.0-rc.5

9 months ago

2.18.0-rc.4

9 months ago

2.18.0-rc.3

10 months ago

2.18.0-rc.2

10 months ago

2.18.0-rc.1

10 months ago

2.17.0-rc.3

11 months ago

2.17.0-rc.2

11 months ago

2.15.1

11 months ago

2.16.0-rc.4

11 months ago

2.14.1

11 months ago

2.17.0-rc.1

12 months 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

1 year ago

2.13.0-rc.4

1 year ago

2.10.0-rc.5

1 year ago

2.10.0-rc.6

1 year 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

1 year ago

2.12.0-rc.2

1 year ago

2.12.0-rc.3

1 year ago

2.11.0-rc.3

1 year ago

2.12.0-rc.4

1 year ago

2.11.0-rc.2

1 year ago

2.10.0-rc.4

1 year ago

2.11.0-rc.4

1 year 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

2 years ago

2.5.1

2 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