0.3.0 • Published 7 months ago

ooxast-util-citation-plugin v0.3.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
7 months ago

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

ooxast-util-citation-plugin

npm version npm downloads

Small ooxast utility which scans the text to identify the citation plugin used, either Mendely, Zotero, EndNote, Citavi, native word citations or none at all. It is used to feed into other things.

Not completely accurate, as it just identifies the first citation plugin it finds, but it's good enough for our purposes.

Contents

What is this?

When should I use this?

Install

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

pnpm add ooxast-util-citation-plugin
# or with yarn
# yarn add ooxast-util-citation-plugin
# or with npm
# npm install ooxast-util-citation-plugin

Use

API


detectCitePlugin()

Signature

detectCitePlugin(node: Node<Data>): string;

Parameters

NameType
nodeNode<Data>

Returns

string

Defined in: lib/ooxast-util-citation-plugin.ts:8

Syntax tree

Types

Compatibility

Security

Related

Contribute

License

GPL-3.0-or-later © Thomas F. K. Jorna