pubchem-access
JavaScript wrapper for PubChem API
About
Pubchem-access is a light-weight module enabling communication with PubChem database in JavaScript. In the browser, it is designed to work with an AMD module loader, e.g. require.js and has Ajax API SuperAgent as its sole dependency.
Getting started
In node:
npm install pubchem-access
In browser, just use pubchem-acces.js (works best with AMD module loader, tested with require.js).
Quick example in Node
var pubchem = ; pubchem ;
Quick example for browsers
/* * First, configure require.js. * jQuery is NOT a dependency in pubchem-acccess, * just a utility for the sake of this example. */;
Detailed Tutorial
Check out the project page.