selfies-js 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +1 -1
- package/src/index.js +1 -0
package/README.md
CHANGED
|
@@ -58,6 +58,18 @@ const svg = await renderSelfies('[C][C][O]', {
|
|
|
58
58
|
})
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
+
## Interactive Playground
|
|
62
|
+
|
|
63
|
+
Try SELFIES-JS live in your browser:
|
|
64
|
+
|
|
65
|
+
**[https://ghost---shadow.github.io/selfies-js/](https://ghost---shadow.github.io/selfies-js/)**
|
|
66
|
+
|
|
67
|
+
Features:
|
|
68
|
+
- Live SELFIES ↔ SMILES conversion
|
|
69
|
+
- Real-time molecular properties
|
|
70
|
+
- Built-in test suite
|
|
71
|
+
- Syntax highlighting
|
|
72
|
+
|
|
61
73
|
## Installation
|
|
62
74
|
|
|
63
75
|
```bash
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -32,6 +32,7 @@ export {
|
|
|
32
32
|
export { parse } from './dsl/parser.js'
|
|
33
33
|
export { resolve, resolveAll } from './dsl/resolver.js'
|
|
34
34
|
export { getDependencies, getDependents } from './dsl/analyzer.js'
|
|
35
|
+
export { loadWithImports, loadFile, parseImports } from './dsl/importer.js'
|
|
35
36
|
|
|
36
37
|
// Errors
|
|
37
38
|
export {
|