Nanoseconds Produce Minutes

    dx-doi-lookup

    1.0.2 • Public • Published

    dx-doi-lookup

    Module that resolves Digital Object Identifiers (DOI) to a URL. Can also fetch date and time published. Written using the doi.org REST API. Asynchronous. Replace 10.1000/1 with your own DOI.

    Usage

    Including the project

    var doi = require('dx-doi-lookup');

    Resolving the URL

    doi.urlLookup ('10.1000/1', function (response) {
        console.log(response)
    })

    Resolving the date published

    doi.dateLookup('10.1000/1', function (response) {
        console.log(response)
    })

    Resolving the time published

    doi.timeLookup('10.1000/1', function (response) {
        console.log(response)
    })

    Install

    npm i dx-doi-lookup

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • rxetxe