Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RIS demo
node v8.17.0
version:
1.0.0
endpoint
share
tweet
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