ooxast-util-citation-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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

Name Type
node Node<Data>

Returns

string

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

Syntax tree

Types

Compatibility

Security

Contribute

License

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

Package Sidebar

Install

npm i ooxast-util-citation-plugin

Weekly Downloads

8

Version

0.3.0

License

GPL-3.0-or-later

Unpacked Size

8.38 kB

Total Files

7

Last publish

Collaborators

  • tefkah