There is a newer version of the record available.

Published September 2, 2017 | Version v0.3.1
Software Open

larsgw/citation.js v0.3.1

  • 1. @BiGCAT-UM

Description

Added

  • Options parameter in parseInput and parseInputAsync
  • Option for max parsing chain length
  • Option to generate parsing chain data in _graph property
  • Option to force type when parsing

Changed

  • Options API in Cite and Cite.async

Cite(data, outputOptions) // BECOMES Cite(data, { ...parsingOptions, output: outputOptions })

  • Author ordinal in Wikidata props is now a property _ordinal instead of an array element
  • Parsing invalid dates now returns input as literal date instead of an empty date-parts

Refactored

  • Simplify code to normalise CSL-JSON
  • Mock APIs for async tests

Fixed

  • Parsing names with lowercase particles now doesn't omit family names
  • Better error messaging when API/file requests fails

Files

larsgw/citation.js-v0.3.1.zip

Files (277.4 kB)

Name Size Download all
md5:43ff7baeb7288c212841a9d606e8f943
277.4 kB Preview Download

Additional details

Related works