{"id":27275167,"url":"https://github.com/continuous-foundation/jats","last_synced_at":"2025-04-11T15:32:37.626Z","repository":{"id":65484912,"uuid":"585688400","full_name":"continuous-foundation/jats","owner":"continuous-foundation","description":"Types and utilities for working with JATS XML documents in Node and Typescript.","archived":false,"fork":false,"pushed_at":"2024-11-29T22:57:48.000Z","size":1331,"stargazers_count":5,"open_issues_count":12,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-29T23:28:20.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/continuous-foundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-01-05T20:17:07.000Z","updated_at":"2024-11-29T22:58:11.000Z","dependencies_parsed_at":"2023-09-24T05:11:24.413Z","dependency_job_id":"5f9609b4-18d2-479c-849b-598064f418c9","html_url":"https://github.com/continuous-foundation/jats","commit_stats":{"total_commits":68,"total_committers":4,"mean_commits":17.0,"dds":"0.16176470588235292","last_synced_commit":"55c48173960b0e51ac880ce25ab384e436b85f26"},"previous_names":["curvenote/jats-xml","continuous-foundation/jats"],"tags_count":71,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fjats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fjats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fjats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fjats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/continuous-foundation","download_url":"https://codeload.github.com/continuous-foundation/jats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248431349,"owners_count":21102187,"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":[],"created_at":"2025-04-11T15:31:01.290Z","updated_at":"2025-04-11T15:32:37.615Z","avatar_url":"https://github.com/continuous-foundation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jats-xml\n\n[![jats-xml on npm](https://img.shields.io/npm/v/jats-xml.svg)](https://www.npmjs.com/package/jats-xml)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/continuous-foundation/jats/blob/main/LICENSE)\n[![CI](https://github.com/continuous-foundation/jats/workflows/CI/badge.svg)](https://github.com/continuous-foundation/jats/actions)\n\nTypes and utilities for working with JATS XML documents in Node and Typescript.\n\nRead and write JATS XML from node or see summaries from the command line.\n\nTo use from the command line, use the `-g` to create a global install, which will provide a `jats` CLI:\n\n```\nnpm install -g jats-cli\njats -v\n```\n\n## What is JATS?\n\nJATS 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`.\n\nThe standard documents are hosted by the NIH \u003chttps://jats.nlm.nih.gov/\u003e. There are three flavours, this library currently uses in most cases the most prescriptive tag set (for article authoring). Another helpful resource is \u003chttps://jats4r.org/\u003e, which provides other examples and recommendations for JATS.\n\nNote 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/) 😉.\n\n## What is MECA?\n\nManuscript 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.\n\n## Packages\n\nSee packages folder:\n\n- [jats-xml](./packages/jats-xml)\n- [jats-tags](./packages/jats-tags)\n- [jats-fetch](./packages/jats-fetch)\n- [meca](./packages/meca)\n\n---\n\nAs of v1.0.0 this package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).\n\n---\n\n\u003cp style=\"text-align: center; color: #aaa; padding-top: 50px\"\u003e\n  Made with love by\n  \u003ca href=\"https://continuous.foundation\" target=\"_blank\" style=\"color: #aaa\"\u003e\n    Continuous Science Foundation \u003cimg src=\"https://continuous.foundation/images/logo-small.svg\" style=\"height: 1em\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuous-foundation%2Fjats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontinuous-foundation%2Fjats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuous-foundation%2Fjats/lists"}