Note This repository is automatically generated from the main parser monorepo. Please submit any issues or pull requests there.
cslToFront(data: Data): void;
Name | Type |
---|---|
data |
Data |
void
Defined in: lib/csl-to-jast.ts:27
cslToJats(data: Data | Data[]): void | RefList;
Name | Type |
---|---|
data |
Data |
void
| RefList
Defined in: lib/csl-to-jast.ts:19
cslToRef(data: Data, index: string | number): Ref;
Name | Type |
---|---|
data |
Data |
index |
string |
Ref
Defined in: lib/csl-to-jast.ts:44
cslToRefList(data: Data[] | {
}): RefList;
Name | Type |
---|---|
data |
Data [] |
RefList
Defined in: lib/csl-to-jast.ts:31
This package is ESM only. In Node.js (version 12.20+, 14.14+, 16.0+, 18.0+), install as
pnpm add jast-util-from-csl
# or with yarn
[![npm version](https://badge.fury.io/js/jast-util-from-csl.svg)](https://badge.fury.io/js/jast-util-from-csl) [![npm downloads](https://img.shields.io/npm/dm/jast-util-from-csl.svg)](https://www.npmjs.com/package/jast-util-from-csl)
# yarn add jast-util-from-csl
# or with npm
# npm install jast-util-from-csl
Transform a CSL list or object to a [jast][jast] node.