RIS demo

node v8.17.0
version: 1.0.0
endpointsharetweet
const Cite = require('citation-js@0.4.0-3') const data = Cite('Q30000000')
You can get RIS output the old way, with the Cite#get() method.
data.get({ format: 'string', type: 'string', style: 'ris' })
However, the Cite#format() API introduced in v0.4.0-1 is also available.
data.format('ris')
Getting the RIS data in a not-so-serialised format is possible too.
data.format('ris', {type: 'object'})
Loading…

no comments

    sign in to comment