Skip to content

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.

License

Notifications You must be signed in to change notification settings

TrialAndErrorOrg/ooxast-util-citation-plugin

Repository files navigation

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

Related

Contribute

License

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published