npm install doi-to-publisher
doi-to-publisher
exposes a single function that returns the publisher information for any CrossRef DOI prefix.
The returned object gives both the publisher and the officially registered DOI prefix owner. Often a single publisher will be responsible for many DOI prefixes, with each prefix belonging to a separate sub-organisation.
var doi2pub = require('doi-to-publisher')
doi2pub('10.2488')
// returns:
// {
// publisher: 'Japan Wood Society',
// owner: 'The Japan Wood Research Society'
// }
To the extent possible by law, we transfer any rights we have in this code to the public domain. Specifically, we do so using the CC0 1.0 Universal Public Domain Dedication.
You can do whatever you want with this code. No need to credit us, link to us, include any license, or anything else. But if you want to do those things, you're free to do that too.