Skip to content
OpenSMILES compatible parser and serializer
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
README.md
index.js
package.json

README.md

smiles

OpenSMILES compatible parser and serializer

Usage

// load module
var smiles = require('smiles')

// parse a SMILES string, returns an array of SMILES tokens [{type: '...', value: '...'}, ...]
var tokens = smiles.parse('IC(C=C1OC)=C(OC)C=C1CC(C)N')

// serializes an array of SMILES tokens into a SMILES string
var smilesString = smiles.serialize(tokens)
You can’t perform that action at this time.