@retorquere/bibtex-parser
    Preparing search index...

    Function parse

    • Parses BibTeX or BibLaTeX source into normalized entries and field values. Recoverable problems are reported in Library.errors; set unsupported: 'throw' to throw on unsupported TeX commands or environments.

      Parameters

      • input: string
      • Optionaloptions: Options

      Returns Library

      const { entries, errors } = parse('@article{example, author={Ada Lovelace}, title={A title}}')
      const title = entries[0]?.fields.title