{"_id":"@anubhavsahoo/epub-parser","_rev":"7-959f1884fe74b8565bb332a4458f50d0","name":"@anubhavsahoo/epub-parser","description":"Epub parser to read and modify epub contents","dist-tags":{"latest":"0.3.6"},"versions":{"0.3.0":{"name":"@anubhavsahoo/epub-parser","version":"0.3.0","description":"Epub parser t oread and modify epub contents","keywords":["epub"],"homepage":"https://github.com/anubhavsahoo/epub-parser","bugs":{"email":"anubhav.sahoo@gmail.com"},"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"dependencies":{"node-zip":">=0.0.2","xml2js":">=0.0.1","request":"~2.12.0","eyes":"~0.1.8"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","vows":"0.5.x"},"main":"index.js","directories":{"example":"example"},"scripts":{"test":"babel-node test.js --presets es2015","build":"babel lib/epub-parser.js --presets es2015 --out-file dist/epub-parser.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"license":"BSD","gitHead":"b8b18a0b93879fd892a7b774650af9abd5bbef3b","_id":"@anubhavsahoo/epub-parser@0.3.0","_npmVersion":"5.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"},"dist":{"integrity":"sha512-LIHYTdohkAhidJWL344ZRaFGJ4N8KkmAwYoQ6u4m/oF/nHVBz7vBF1SegaNzwJFIFyt0XvCpGodi7tYjbneoOg==","shasum":"1367f58cd0dab3da7e87b72cb0802685d5c9382d","tarball":"https://registry.npmjs.org/@anubhavsahoo/epub-parser/-/epub-parser-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpVSzfvSlOR807gXtQNIvglE5BlqrtSywRWxTZ6gTCFQIhAMMep6w0a0bv6CPiW3qtBjKBju7pn70gALGBIv6xAETD"}]},"maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epub-parser-0.3.0.tgz_1502969429646_0.7135422453284264"}},"0.3.1":{"name":"@anubhavsahoo/epub-parser","version":"0.3.1","description":"Epub parser t oread and modify epub contents","keywords":["epub"],"homepage":"https://github.com/anubhavsahoo/epub-parser","bugs":{"email":"anubhav.sahoo@gmail.com"},"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"dependencies":{"node-zip":">=0.0.2","xml2js":">=0.0.1","request":"~2.12.0","eyes":"~0.1.8"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","vows":"0.5.x"},"main":"index.js","directories":{"example":"example"},"scripts":{"test":"babel-node test.js --presets es2015","build":"babel lib/epub-parser.js --presets es2015 --out-file dist/epub-parser.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"license":"BSD","gitHead":"14cf0c8288e164e42bf7346016e21881341c657d","_id":"@anubhavsahoo/epub-parser@0.3.1","_npmVersion":"5.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"},"dist":{"integrity":"sha512-Qrr8Bqu3idReYwWkfN11YRFbiymADNrbo0Wgo5jHOdTvnN3uMKYmPSQEEDTx8m7BIqnIknKRkm3Dh3E+UraugA==","shasum":"1779d59abec1175c16f9976f71ef013300308ab4","tarball":"https://registry.npmjs.org/@anubhavsahoo/epub-parser/-/epub-parser-0.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzXKN8rZML9BDR23ktRDFWhoWNiBdcsoLBj+qp12AUyAiEA706SpJ6bpoJWMsXlOqw0/kSlOJWGzNDviakTHv09w8Y="}]},"maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epub-parser-0.3.1.tgz_1502969768936_0.286525318864733"}},"0.3.2":{"name":"@anubhavsahoo/epub-parser","version":"0.3.2","description":"Epub parser t oread and modify epub contents","keywords":["epub"],"homepage":"https://github.com/anubhavsahoo/epub-parser","bugs":{"email":"anubhav.sahoo@gmail.com"},"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"dependencies":{"node-zip":">=0.0.2","xml2js":">=0.0.1","request":"~2.12.0","eyes":"~0.1.8"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","vows":"0.5.x"},"main":"index.js","directories":{"example":"example"},"scripts":{"test":"babel-node test.js --presets es2015","build":"babel lib/epub-parser.js --presets es2015 --out-file dist/epub-parser.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"license":"BSD","gitHead":"45a0a56c3365fde1ed53a5a31f06b6ac91774db5","_id":"@anubhavsahoo/epub-parser@0.3.2","_npmVersion":"5.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"},"dist":{"integrity":"sha512-n5+WpxJf5dNYTb+8OUNPxs25NsTlMDklJkUx4OJJ/8bI1LfZwF8EJzncpFQtPBaqbI5S36gEf8B3q15kOLglrA==","shasum":"1ebc8a57ba3806f7790ac7af0ee56a321aaeefd8","tarball":"https://registry.npmjs.org/@anubhavsahoo/epub-parser/-/epub-parser-0.3.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2RW/hSm6CqmxEKBUDaBMr75dePdMcbJJBjvPPL8dw+AiEAl34FNw0qpbx1EooTLW411hcHWJGdqGdITVmYciiFdCc="}]},"maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epub-parser-0.3.2.tgz_1502970601169_0.3467073191422969"}},"0.3.3":{"name":"@anubhavsahoo/epub-parser","version":"0.3.3","description":"Epub parser to read and modify epub contents","keywords":["epub"],"homepage":"https://github.com/anubhavsahoo/epub-parser","bugs":{"email":"anubhav.sahoo@gmail.com"},"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"dependencies":{"eyes":"~0.1.8","jszip":"^3.1.3","node-zip":">=0.0.2","request":"~2.12.0","xml2js":">=0.0.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","vows":"0.5.x"},"main":"index.js","directories":{"example":"example"},"scripts":{"test":"babel-node test.js --presets es2015","build":"babel lib/epub-parser.js --presets es2015 --out-file dist/epub-parser.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"license":"BSD","gitHead":"e23097b08a038427dfc36970ce2fd8e6ef23f6fa","_id":"@anubhavsahoo/epub-parser@0.3.3","_npmVersion":"5.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"},"dist":{"integrity":"sha512-j5y4reNbv7DugVE2Hmi/6tiUxYPXgwOC4oD1A2NIpKShzsVqR5Cp7rvkI6UTTBX/IWP5825cQ7Ey6tnm7CYOJA==","shasum":"295e17d049946437998915576d5743c908fc7370","tarball":"https://registry.npmjs.org/@anubhavsahoo/epub-parser/-/epub-parser-0.3.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMSTynQhPADyrwBxNvgJK/TlnGKQELf9qZYoMF52A7vwIhALeLY5r3Pz5nx2vTXi083yZVZcx+vW/JlgvnyF2C3uX6"}]},"maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epub-parser-0.3.3.tgz_1503159651018_0.21963575365953147"}},"0.3.4":{"name":"@anubhavsahoo/epub-parser","version":"0.3.4","description":"Epub parser to read and modify epub contents","keywords":["epub"],"homepage":"https://github.com/anubhavsahoo/epub-parser","bugs":{"email":"anubhav.sahoo@gmail.com"},"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"dependencies":{"eyes":"~0.1.8","jszip":"^3.1.3","lodash":"^4.17.4","node-zip":">=0.0.2","request":"~2.12.0","xml2js":">=0.0.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","vows":"0.5.x"},"main":"index.js","directories":{"example":"example"},"scripts":{"test":"babel-node test.js --presets es2015","build":"babel lib/epub-parser.js --presets es2015 --out-file dist/epub-parser.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"license":"BSD","gitHead":"51f8c6b67d4a6c6d9f80ae6b08759ff9b5f94c39","_id":"@anubhavsahoo/epub-parser@0.3.4","_npmVersion":"5.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"},"dist":{"integrity":"sha512-NGsA14fMOoe/m4tLMNHTBHLszV/dRijOcdvofvTsLPr0oe2d4MZ2ncoFdREHEtZWl3kyfbjKKid+l4D+0zYJQQ==","shasum":"43e9078e6a77ad8a55e7d9d588a9636cf43cea07","tarball":"https://registry.npmjs.org/@anubhavsahoo/epub-parser/-/epub-parser-0.3.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiWaH6Z/R1HgTv4dHnYCl4BLi9eRNeSKi1femwVn9IkAIgVm5BaFOzfzG72QJ9HE6zXxKOw/Uzi4gAY9mawnwdIZ4="}]},"maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epub-parser-0.3.4.tgz_1503299870386_0.5337458231952041"}},"0.3.5":{"name":"@anubhavsahoo/epub-parser","version":"0.3.5","description":"Epub parser to read and modify epub contents","keywords":["epub"],"homepage":"https://github.com/anubhavsahoo/epub-parser","bugs":{"email":"anubhav.sahoo@gmail.com"},"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"dependencies":{"eyes":"~0.1.8","jszip":"^3.1.3","lodash":"^4.17.4","node-zip":">=0.0.2","request":"~2.12.0","xml2js":">=0.0.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","vows":"0.5.x"},"main":"index.js","directories":{"example":"example"},"scripts":{"test":"babel-node test.js --presets es2015","build":"babel lib/epub-parser.js --presets es2015 --out-file dist/epub-parser.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"license":"BSD","gitHead":"12acb4cb88906e1ec6a267232d32dd0cc594c7d8","_id":"@anubhavsahoo/epub-parser@0.3.5","_npmVersion":"5.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"},"dist":{"integrity":"sha512-sGl/J0Mk1vf532EFO1VFXylRd/2sH/WRJiq70tPhouPmeCgFOe1kcZRrgu29Q/jfS0Ap43KuV3JfNB+aTefviQ==","shasum":"6f5676fa41a64bd295c71b24f240deeab2d5257c","tarball":"https://registry.npmjs.org/@anubhavsahoo/epub-parser/-/epub-parser-0.3.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSuKSDS3P6CrR5KZG+UseD7p5QPWyZo9BrVLaCmQxKGAIhAN0fRzpaoNidggCUWutIORXO3+WJ12e4kAPGQ8HCda9n"}]},"maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epub-parser-0.3.5.tgz_1503304794568_0.09488848270848393"}},"0.3.6":{"name":"@anubhavsahoo/epub-parser","version":"0.3.6","description":"Epub parser to read and modify epub contents","keywords":["epub"],"homepage":"https://github.com/anubhavsahoo/epub-parser","bugs":{"email":"anubhav.sahoo@gmail.com"},"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"dependencies":{"eyes":"~0.1.8","jszip":"^3.1.3","lodash":"^4.17.4","node-zip":">=0.0.2","request":"~2.12.0","xml2js":">=0.0.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","vows":"0.5.x"},"main":"index.js","directories":{"example":"example"},"scripts":{"test":"babel-node test.js --presets es2015","build":"babel lib/epub-parser.js --presets es2015 --out-file dist/epub-parser.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"license":"BSD","gitHead":"284575c26bfb5f168470f0fa7d810f2429515851","_id":"@anubhavsahoo/epub-parser@0.3.6","_npmVersion":"5.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"},"dist":{"integrity":"sha512-AERhP5Y1VayT6XGwplCQCuSXx7W/Ef1XDEKoMbOInDdXHzQ7X0UqAebmTkhTVrFC3eVPwRnWYfJIQZnBGviKMg==","shasum":"aa132dd873d5d3cc0bbcb216ee3780d883dc104a","tarball":"https://registry.npmjs.org/@anubhavsahoo/epub-parser/-/epub-parser-0.3.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEktZJlB56d9GRWudh5aEFDAfUgNqtkABynCQUgMQHj6AiEAlnIR+G8+gOPKod8j3lVQe0VltV23Rx/S8QaEOdXIJ0c="}]},"maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epub-parser-0.3.6.tgz_1503331279091_0.1880508866161108"}}},"readme":"epub-parser \n===========\n\n# IMPORTANT - Current status - Unstable and Work-In-Progress\n\n# What It Does\n\nEpub-parser is a simple way to make working with epub files more programmer- and web- friendly by converting its data structures to JSON and providing some simplified structures for convenient access to that data.\n\nSpecifically, it:\n\n* takes a lot of essential data from any valid Epub file and makes it available in an \"easy\" JSON namespace\n* converts the rest of an Epub's metadata to JSON structures, and makes that available via a \"raw\" namespace\n* takes care of a lot of dirty work in determining the primary ID of a file, the location of the NCX file, the OPS root, etc\n* builds some boilerplate HTML you can use in your web app to display a user-friendly version of NCX data (note: this functionality is expanded in the epub2html module if you need more like it)\n\n# Requirements\n\nThis depends on the xml2js and node-zip modules.\nEyes is also required but you can use console instead if you want.\n\n# Installing\n\n    npm install epub-parser\n\n# Usage\n\nSee the example directory for a sample of how to use this module. See also the [epub2web](https://github.com/Vaporbook/epub2web), [epub-cache](https://github.com/Vaporbook/epub-cache), and [epub-editor](https://github.com/Vaporbook/epub-editor) for modules that leverage this one, and furtehr examples of how this can be used.\n\nIn a nutshell though, it's as simple as this:\n\n```javascript\n\nimport Epub from ('epub-parser');\n\nconst ep = new Epub('./example/testbook.epub');\nep.open().then((ep)=>{\n  console.log(ep);\n  console.log(ep.getMetadata());\n});\n\n```\n\n# Data structure\n\nUse the example with a valid epub file to see how epub-parser builds its data structure. The eyes module will help you inspect it at all levels in a clean way (it's currently a dependency).\n\nHere's an example of the \"easy\" namespace using a sample file from Jellybooks:\n\n```javascript\n\n{\n    navMapHTML: '<ul><li><a href=\"safe_house_cover.html\">Cover</a></li>\\n<li><a href=\"safe_house_booktitlepage.html\">Title Page</a></li>\\n<li><a href=\"safe_house_dedication.html\">Dedication</a></li>\\n<li><a href=\"safe_house_toc.html\">Table of Contents</a></li>\\n<li><a href=\"safe_house_aboutthisbook.html\">A Note on the Isle of Man</a></li>\\n<li><a href=\"safe_house_chapter_01.html\">I don’t remember much . . .</a></li>\\n<li><a href=\"safe_house_part_01.html\">Part One</a><ul><li><a href=\"safe_house_chapter_02.html\">Chapter One</a></li>\\n<li><a href=\"safe_house_chapter_03.html\">Chapter Two</a></li>\\n<li><a href=\"safe_house_chapter_04.html\">Chapter Three</a></li>\\n<li><a href=\"safe_house_chapter_05.html\">Chapter Four</a></li>\\n<li><a href=\"safe_house_chapter_06.html\">Chapter Five</a></li>\\n</ul>\\n</li>\\n<li><a href=\"jellybooks.html\">Jellybooks sweet page</a></li>\\n</ul>\\n',\n    primaryID: {\n        name: 'BookId',\n        scheme: 'ISBN',\n        value: 'safe_house'\n    }\n}\n\n\n```\n\nHere's another example showing how the NCX data structure is mapped:\n\n\n```javascript\n\n{\n    docTitle: [\n        {\n            text: [ 'Safe House' ]\n        }\n    ],\n    docAuthor: [\n        {\n            text: [ 'Ewan, Chris' ]\n        }\n    ],\n    $: { xmlns: 'http://www.daisy.org/z3986/2005/ncx/', version: '2005-1' },\n    navMap: [\n        {\n            navPoint: [\n                {\n                    content: [\n                        {\n                            $: { src: 'safe_house_cover.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'Cover' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '1',\n                        id: 'navPoint-1'\n                    }\n                },\n                {\n                    content: [\n                        {\n                            $: { src: 'safe_house_booktitlepage.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'Title Page' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '2',\n                        id: 'navPoint-2'\n                    }\n                },\n                {\n                    content: [\n                        {\n                            $: { src: 'safe_house_dedication.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'Dedication' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '3',\n                        id: 'navPoint-3'\n                    }\n                },\n                {\n                    content: [\n                        {\n                            $: { src: 'safe_house_toc.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'Table of Contents' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '4',\n                        id: 'navPoint-4'\n                    }\n                },\n                {\n                    content: [\n                        {\n                            $: { src: 'safe_house_aboutthisbook.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'A Note on the Isle of Man' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '5',\n                        id: 'navPoint-5'\n                    }\n                },\n                {\n                    content: [\n                        {\n                            $: { src: 'safe_house_chapter_01.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'I don’t remember much . . .' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '6',\n                        id: 'navPoint-6'\n                    }\n                },\n                {\n                    content: [\n                        {\n                            $: { src: 'safe_house_part_01.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'Part One' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '7',\n                        id: 'navPoint-7'\n                    },\n                    navPoint: [\n                        {\n                            content: [\n                                {\n                                    $: { src: 'safe_house_chapter_02.html' }\n                                }\n                            ],\n                            navLabel: [\n                                {\n                                    text: [ 'Chapter One' ]\n                                }\n                            ],\n                            $: {\n                                class: 'chapter',\n                                playOrder: '8',\n                                id: 'navPoint-8'\n                            }\n                        },\n                        {\n                            content: [\n                                {\n                                    $: { src: 'safe_house_chapter_03.html' }\n                                }\n                            ],\n                            navLabel: [\n                                {\n                                    text: [ 'Chapter Two' ]\n                                }\n                            ],\n                            $: {\n                                class: 'chapter',\n                                playOrder: '9',\n                                id: 'navPoint-9'\n                            }\n                        },\n                        {\n                            content: [\n                                {\n                                    $: { src: 'safe_house_chapter_04.html' }\n                                }\n                            ],\n                            navLabel: [\n                                {\n                                    text: [ 'Chapter Three' ]\n                                }\n                            ],\n                            $: {\n                                class: 'chapter',\n                                playOrder: '10',\n                                id: 'navPoint-10'\n                            }\n                        },\n                        {\n                            content: [\n                                {\n                                    $: { src: 'safe_house_chapter_05.html' }\n                                }\n                            ],\n                            navLabel: [\n                                {\n                                    text: [ 'Chapter Four' ]\n                                }\n                            ],\n                            $: {\n                                class: 'chapter',\n                                playOrder: '11',\n                                id: 'navPoint-11'\n                            }\n                        },\n                        {\n                            content: [\n                                {\n                                    $: { src: 'safe_house_chapter_06.html' }\n                                }\n                            ],\n                            navLabel: [\n                                {\n                                    text: [ 'Chapter Five' ]\n                                }\n                            ],\n                            $: {\n                                class: 'chapter',\n                                playOrder: '12',\n                                id: 'navPoint-12'\n                            }\n                        }\n                    ]\n                },\n                {\n                    content: [\n                        {\n                            $: { src: 'jellybooks.html' }\n                        }\n                    ],\n                    navLabel: [\n                        {\n                            text: [ 'Jellybooks sweet page' ]\n                        }\n                    ],\n                    $: {\n                        class: 'chapter',\n                        playOrder: '13',\n                        id: 'navPoint-13'\n                    }\n                }\n            ]\n        }\n    ],\n    head: [\n        {\n            meta: [\n                {\n                    $: { name: 'dtb:ISBN', content: 'safe_house' }\n                },\n                {\n                    $: { name: 'dtb:generator', content: 'EPUBLib version 3.0' }\n                },\n                {\n                    $: { name: 'dtb:depth', content: '2' }\n                },\n                {\n                    $: { name: 'dtb:totalPageCount', content: '0' }\n                },\n                {\n                    $: { name: 'dtb:maxPageNumber', content: '0' }\n                }\n            ]\n        }\n    ]\n}\n\n\n```\n\n\n# Troubleshooting\n\nEpub-parser is non-validating. Therefore, it will be fairly tolerant as long as the XML is well-formed and the metadata files can be found where they're expected to be found. However, you should use the IDPF's epubcheck validator to make sure you're only using valid epubs as input.\n\n# Bug reporting\n\nPlease report bugs to vaporbook on github. Your help is appreciated. Also, subscribe to this repo, as it will be used in several projects I'm working on, and I hope to make frequent fixes and updates.\n\n","maintainers":[{"name":"anubhavsahoo","email":"anubhav.sahoo@gmail.com"}],"time":{"modified":"2022-04-04T14:25:42.778Z","created":"2017-08-17T11:30:31.291Z","0.3.0":"2017-08-17T11:30:31.291Z","0.3.1":"2017-08-17T11:36:09.044Z","0.3.2":"2017-08-17T11:50:03.123Z","0.3.3":"2017-08-19T16:20:51.153Z","0.3.4":"2017-08-21T07:17:50.873Z","0.3.5":"2017-08-21T08:39:54.852Z","0.3.6":"2017-08-21T16:01:19.177Z"},"homepage":"https://github.com/anubhavsahoo/epub-parser","keywords":["epub"],"repository":{"type":"git","url":"git://github.com/Vaporbook/epub-parser.git"},"contributors":[{"name":"Anubhav Sahoo","email":"anubhav.sahoo@gmail.com"}],"author":{"name":"Aaron Miller","email":"aaron@readsocialapi.com","url":"http://twitter.com/vaporbook"},"bugs":{"email":"anubhav.sahoo@gmail.com"},"license":"BSD","readmeFilename":"README.md"}