0.0.8 • Published 10 years ago

work-id-link-js v0.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

workIdLink.js

Javascript library that creates links from work identifiers.

Functions

  • 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.

Supported types

arxiv asin bibcode doi isbn jfm jstor lccn mr oclc ol osti pmc pmid rfc ssrn zbl

Using in a browser

Include workIdLink.js and call 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').

Contributing

Contributions are welcome. Please make sure the unit test(runTest.js) reflects the changes and completes successfully.

0.0.8

10 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago

0.0.0

12 years ago