https://github.com/continuous-foundation/jats
Types and utilities for working with JATS XML documents in Node and Typescript.
https://github.com/continuous-foundation/jats
Last synced: about 1 year ago
JSON representation
Types and utilities for working with JATS XML documents in Node and Typescript.
- Host: GitHub
- URL: https://github.com/continuous-foundation/jats
- Owner: continuous-foundation
- License: mit
- Created: 2023-01-05T20:17:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T22:57:48.000Z (over 1 year ago)
- Last Synced: 2024-11-29T23:28:20.211Z (over 1 year ago)
- Language: TypeScript
- Size: 1.27 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jats-xml
[](https://www.npmjs.com/package/jats-xml)
[](https://github.com/continuous-foundation/jats/blob/main/LICENSE)
[](https://github.com/continuous-foundation/jats/actions)
Types and utilities for working with JATS XML documents in Node and Typescript.
Read and write JATS XML from node or see summaries from the command line.
To use from the command line, use the `-g` to create a global install, which will provide a `jats` CLI:
```
npm install -g jats-cli
jats -v
```
## What is JATS?
JATS is a NISO standard for Journal Article Tags Schema, which is a way to define the XML structure of a scientific article semantically. This includes the `front`-matter (authors, funding, title, abstract, etc.), the `body` of the article (sections, figures, equations, tables, etc.), and `back`-matter (references, footnotes, etc.). The JATS can also contain `sub-articles`.
The standard documents are hosted by the NIH . There are three flavours, this library currently uses in most cases the most prescriptive tag set (for article authoring). Another helpful resource is , which provides other examples and recommendations for JATS.
Note that most publishers do **not** provide the XML as a first class output - they should, it is an important part of open-science to have the content programmatically accessible and interoperable. It is only [FAIR](https://www.go-fair.org/fair-principles/) 😉.
## What is MECA?
Manuscript Exchange Common Approach (MECA) is a [NISO standard](https://www.niso.org/standards-committees/meca) for transferring scientific manuscripts between vendors. It is a ZIP file with a `manifest.xml`, which contains a JATS file as the `article-metadata` and other source materials.
## Packages
See packages folder:
- [jats-xml](./packages/jats-xml)
- [jats-tags](./packages/jats-tags)
- [jats-fetch](./packages/jats-fetch)
- [meca](./packages/meca)
---
As of v1.0.0 this package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
---
Made with love by
Continuous Science Foundation