Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csl-consolidate

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csl-consolidate

Try to resolve a list of CSL data with crossref metadata

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

Note This repository is automatically generated from the main parser monorepo. Please submit any issues or pull requests there.

API


consolidate()

Try to resolve a list of CSL data with crossref metadata

Signature
consolidate(data: Data[], options: object): Promise<undefined | Data[]>;
Parameters
NameType
dataData[]
optionsobject
options.mailtostring
Returns

Promise<undefined | Data[]>

Defined in: lib/csl-consolidate.ts:12


dateSim()

Signature
dateSim(ref: Data, csl: Data): number;
Parameters
NameType
refData
cslData
Returns

number

Defined in: lib/csl-consolidate.ts:144

Install

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
[![npm version](https://badge.fury.io/js/csl-consolidate.svg)](https://badge.fury.io/js/csl-consolidate) [![npm downloads](https://img.shields.io/npm/dm/csl-consolidate.svg)](https://www.npmjs.com/package/csl-consolidate)
# yarn add csl-consolidate
# or with npm
# npm install csl-consolidate

citations-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.

Keywords

FAQs

Package last updated on 14 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc