Note This repository is automatically generated from the main parser monorepo. Please submit any issues or pull requests there.
Try to resolve a list of CSL data with crossref metadata
consolidate(data: Data[], options: object): Promise<undefined | Data[]>;
Name | Type |
---|---|
data |
Data [] |
options |
object |
options.mailto |
string |
Promise
<undefined
| Data
[]>
Defined in: lib/csl-consolidate.ts:12
dateSim(ref: Data, csl: Data): number;
Name | Type |
---|---|
ref |
Data |
csl |
Data |
number
Defined in: lib/csl-consolidate.ts:144
This package is ESM only. In Node.js (version 12.20+, 14.14+, 16.0+, 18.0+), install as
pnpm add csl-consolidate
# or with yarn
[](https://badge.fury.io/js/csl-consolidate) [](https://www.npmjs.com/package/csl-consolidate)
# yarn add csl-consolidate
# or with npm
# npm install csl-consolidate
Small utility script which checks a list of CSL references against the Crossref doi. If possible it adds the missing DOIs and extra metadata provided by Crossref or the doi provider.