{"id":19501137,"url":"https://github.com/gitbookio/node-opds","last_synced_at":"2025-04-25T23:30:55.563Z","repository":{"id":24491593,"uuid":"27896361","full_name":"GitbookIO/node-opds","owner":"GitbookIO","description":"Node.js library to parse/generate OPDS feed","archived":false,"fork":false,"pushed_at":"2015-07-26T05:43:05.000Z","size":186,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-21T08:10:16.685Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitbookIO.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}},"created_at":"2014-12-11T23:10:47.000Z","updated_at":"2024-01-13T16:23:38.000Z","dependencies_parsed_at":"2022-09-18T20:50:54.542Z","dependency_job_id":null,"html_url":"https://github.com/GitbookIO/node-opds","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fnode-opds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fnode-opds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fnode-opds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fnode-opds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitbookIO","download_url":"https://codeload.github.com/GitbookIO/node-opds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250912660,"owners_count":21506865,"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":"2024-11-10T22:11:37.699Z","updated_at":"2025-04-25T23:30:55.327Z","avatar_url":"https://github.com/GitbookIO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-opds\n\nThis is a library to parse or generate OPDS feed. It makes it easy to generate a feed from a list of book., it also handles correctly BISAC subjects.\n\n## How to install it?\n\n```\n$ npm install opds\n```\n\n## How to use it?\n\n:warning: This example is incomplete to pass OPDS Validation (http://opds-validator.appspot.com).\n\n```js\nvar opds = require(\"opds\");\n\nvar xml = opds.create({\n    title: \"My Catalog\",\n    author: {\n        name: \"Samy Pesse\",\n        uri: \"https://www.gitbook.com\"\n    },\n    books: [\n        {\n            title: \"A book\",\n            summary: \"This is a test book\",\n            updated: new Date(),\n            author: {\n                name: \"Aaron O'Mullan\",\n                uri: \"https://www.gitbook.com/@aaron\"\n            },\n            links: [\n                {\n                    rel: \"image\",\n                    href: \"/book/test.jpg\",\n                    type: \"image/jpeg\"\n                },\n                {\n                    rel: \"acquisition/buy\",\n                    href: \"/book/test.epub\",\n                    type: \"application/epub+zip\"\n                }\n            ],\n            categories: [\n                \"FIC020000\"\n            ]\n        }\n    ]\n});\n```\n\n\nYou can also parse an OPDS feed:\n\n```js\n\nvar feed = opds.parse('...');\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fnode-opds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitbookio%2Fnode-opds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fnode-opds/lists"}