Skip to content

bergos/smiles

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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)

About

OpenSMILES compatible parser and serializer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published