Skip to content

Latest commit

 

History

History
executable file
·
43 lines (28 loc) · 1.16 KB

README.md

File metadata and controls

executable file
·
43 lines (28 loc) · 1.16 KB

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

API


crossrefToCsl()

Signature

crossrefToCsl(item: CrossrefJSON): CSL;

Parameters

Name Type
item CrossrefJSON

Returns

CSL

Defined in: lib/crossref-to-csl.ts:52

Install

This package is ESM only. In Node.js (version 12.20+, 14.14+, 16.0+, 18.0+), install as

pnpm add crossref-to-csl
# or with yarn
[![npm version](https://badge.fury.io/js/crossref-to-csl.svg)](https://badge.fury.io/js/crossref-to-csl) [![npm downloads](https://img.shields.io/npm/dm/crossref-to-csl.svg)](https://www.npmjs.com/package/crossref-to-csl)
# yarn add crossref-to-csl
# or with npm
# npm install crossref-to-csl

citations-crossref-to-csl

Tiny utitity to convert an Crossref API resonponse JSON item to CSL.