Share your code.
tmb.js
tmb.js
TMB API Javascript library
Dependencies
The ones defined in package.json. Run npm install.
Running examples
Browser
This will fire an http server:
npm startNode
npm run setup # Make sure all requirements are met node examples/node/search.js # Run a node example Loading the library in different environments
Vanilla browser (global var)
Browser with require.js (AMD module)
;Node (CommonJS module)
var api = "<app_id>" "<app_key>";Tests
npm test # Test on node npm run test:browsers # Test on browsers (and keep watching on file changes)