{"id":18961622,"url":"https://github.com/trialanderrororg/reoff-cite","last_synced_at":"2026-04-01T15:30:18.422Z","repository":{"id":130692359,"uuid":"607887703","full_name":"TrialAndErrorOrg/reoff-cite","owner":"TrialAndErrorOrg","description":"default(options: Options = ...): Function;","archived":false,"fork":false,"pushed_at":"2024-06-29T17:39:59.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T04:52:43.409Z","etag":null,"topics":["bibliography","citation","docx","ooxast","plugin","reoff","unified"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrialAndErrorOrg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/funding.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tefkah"}},"created_at":"2023-02-28T21:57:21.000Z","updated_at":"2024-02-26T01:31:37.000Z","dependencies_parsed_at":"2025-01-01T04:51:25.316Z","dependency_job_id":"66122dfb-41d8-45aa-af18-8b293bca4382","html_url":"https://github.com/TrialAndErrorOrg/reoff-cite","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrialAndErrorOrg%2Freoff-cite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrialAndErrorOrg%2Freoff-cite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrialAndErrorOrg%2Freoff-cite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrialAndErrorOrg%2Freoff-cite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrialAndErrorOrg","download_url":"https://codeload.github.com/TrialAndErrorOrg/reoff-cite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239958283,"owners_count":19724925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bibliography","citation","docx","ooxast","plugin","reoff","unified"],"created_at":"2024-11-08T14:13:46.820Z","updated_at":"2026-04-01T15:30:18.331Z","avatar_url":"https://github.com/TrialAndErrorOrg.png","language":"TypeScript","funding_links":["https://github.com/sponsors/tefkah"],"categories":[],"sub_categories":[],"readme":"\u003e **Note**\n\u003e This repository is automatically generated from the [main parser monorepo](https://github.com/TrialAndErrorOrg/parsers). Please submit any issues or pull requests there.\n\n## API\n\n***\n\n### `default()`\n\n#### Signature\n\n```ts\ndefault(options: Options = ...): Function;\n```\n\n#### Parameters\n\n| Name | Type |\n| :------ | :------ |\n| `options` | `Options` |\n\n#### Returns\n\n`Function`\n\n##### `Signature`\n\n```ts\n(tree: Root, vfile: VFile): Root;\n```\n\n##### `Parameters`\n\n| Name | Type |\n| :------ | :------ |\n| `tree` | `Root` |\n| `vfile` | `VFile` |\n\n##### `Returns`\n\n`Root`\n\nDefined in:  [lib/reoff-cite.ts:12](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/reoff/reoff-cite/src/lib/reoff-cite.ts#L12)\n\n## Install\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). In Node.js (version 12.20+, 14.14+, 16.0+, 18.0+), install as\n\n```bash\npnpm add reoff-cite\n# or with yarn\n[![npm version](https://badge.fury.io/js/reoff-cite.svg)](https://badge.fury.io/js/reoff-cite) [![npm downloads](https://img.shields.io/npm/dm/reoff-cite.svg)](https://www.npmjs.com/package/reoff-cite)\n# yarn add reoff-cite\n# or with npm\n# npm install reoff-cite\n```\n\n# reoff-cite\n\nPlugin for `reoff` that parses citations in the form of `@cite{key}` and `@cite[page]{key}` using `ooxast-util-parse-bib` and `ooxast-util-parse-text-cite`.\n\n## Running unit tests\n\nRun `nx test reoff-reoff-cite` to execute the unit tests via [Jest](https://jestjs.io).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrialanderrororg%2Freoff-cite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrialanderrororg%2Freoff-cite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrialanderrororg%2Freoff-cite/lists"}