Javascript library that creates links from work identifiers.
npm install work-id-link-jsworkIdLink.js
============================
Javascript library that creates links from work identifiers.
* getLink(id, type) - takes an id and an abbreviated type and if the type and id can
be matched returns a http url, otherwise returns a null.
* getTypes() - returns a space delimited list of abbreviated types.
workIdLinkJs.getLink('10.1038/news070508-7', 'doi').
Using in Node.js
Install `npm install work-id-link-js`, require the module
var workIdLink = require('work-id-link-js'); and call
workIdLink.getLink('10.1038/news070508-7', 'doi')`.