{"_id":"@effortlessmotion/pdf-to-md","_rev":"10-e0537ff093930de786e8cd6f49c7b8ba","name":"@effortlessmotion/pdf-to-md","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.0","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.0","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"2853f18e8f33c51586634683db0f644651d6b607","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.0.tgz","fileCount":189,"integrity":"sha512-Xq/IYklzKHniMQqMlllasxsUTAA+xExqp5429AofCeoN+NTh4mI4GlE8h1/1On7qNsng1ZmvQAffKM5V9OYqQg==","signatures":[{"sig":"MEUCICAYTi82KzXbL89wD9oHQexGAfv7sI86XJMGUMJkFaHbAiEAhSnIuDI9PDVYpWn6EZ7gPvHeWNGZwHbNHbIbDBXDl+4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":970348},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"12fa4e9934935c41d359246a9bde0b6b88111cff","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.0_1787531264601_0.3426647592225385","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.1","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.1","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"f23928f153718f6220a18c97217495f1fc6763ff","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.1.tgz","fileCount":189,"integrity":"sha512-YUZhc3bGNTfYyEEdvghkfsOYIM7h/ssOsafJm60g6ql/SQv0UqSvtsh8YBiliw4N9fcX+4/4DVgBLMvO/GFMpw==","signatures":[{"sig":"MEUCIQD/sBkS1DdIhg0Ff7UnHmHYA/f00pJEXJ4J4Q+DfZUDQwIgKB4qoDdMaSvDd32g7KN2Db87czqewu2OG+nHKJAMMMA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":970348},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"12fa4e9934935c41d359246a9bde0b6b88111cff","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.1_1787531436090_0.019769476144153142","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.2","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.2","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"66a0edf75cc4af63a9c45a294e75e825638db212","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.2.tgz","fileCount":189,"integrity":"sha512-imv/CR/fZ4+BNHwGM3GYmHR41b9AmxD3RFqJ9DCI5dYbnut6mu789d0K5dEOkbctFDd4k7Gnc7wO8sPvko1HVQ==","signatures":[{"sig":"MEQCIBdPTsbwGgM69tLBxuz94XkF6Onbcy7vlhSlWi93vUuNAiADZN8Gks4QDt+n2ZLb+E3wD0lMF+hLSM4ccM7xy8xP8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":971305},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"96ccfc7775252682434466c2ea080d1c36614ede","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","allowScripts":{"@swc/core":true,"core-js-pure":true,"node-semvers":true,"tesseract.js":true,"node-version-use":true,"thread-sleep-compat":true,"node-filename-to-dist-paths":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.2_1787532667534_0.22391821893190844","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.3","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.3","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"12585d8d3c41131059b3b1d1b2d0559b1fa9ce1d","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.3.tgz","fileCount":189,"integrity":"sha512-ZmV2iyuCx1dMZpzl4qk0NKeSbA66AwYZVOO+B31IaxlwKxpgsAmSPJ6R4LpJqBvGvcGns33IlLbSTatIyGmhXw==","signatures":[{"sig":"MEYCIQDHt33hFD89If3iYO3XWsMv3Q7IEQgzwQ2nHgj5ZiavoQIhAISQuJZoRSbq67x5At99fHyWJo8mIx9Zc+SbSVfJ2l4u","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":975394},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"285cde32c545aece61e6988ca52c5b0555ada237","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","allowScripts":{"@swc/core":true,"core-js-pure":true,"node-semvers":true,"tesseract.js":true,"node-version-use":true,"thread-sleep-compat":true,"node-filename-to-dist-paths":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.3_1787548949308_0.8170060109318782","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.4","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.4","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"2fc45b14d45a04a4e8b929e18e4320b94f07f557","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.4.tgz","fileCount":189,"integrity":"sha512-tDPeiChJ6YlxbcCe2SYyZaPPm4diNKkWlKlivy1nDRWpKvAFz+fABQHNRIGMjrAXYDI7au8nX9ev3P/PZF8xpQ==","signatures":[{"sig":"MEUCIQCPH50COIjXumiEeLR1wvRmPQwOwcqjSspp/RR4cXFeCwIgeDtpkcfZaRsdVSRT40yBPnXXmCf8sgytjrH+7EmnGvw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":975819},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"83cd494b8cb3d689b603a120e9340047863d89cf","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","allowScripts":{"@swc/core":true,"core-js-pure":true,"node-semvers":true,"tesseract.js":true,"node-version-use":true,"thread-sleep-compat":true,"node-filename-to-dist-paths":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cr":"^0.1.0","pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.4_1787576687981_0.7560698549366651","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.5","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.5","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"136542c29c7a4fcfc5266139527a00655c553bcb","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.5.tgz","fileCount":189,"integrity":"sha512-sRkiB0L7DMcrrRQWwqFtGBZRgjv8/jUAz/XJhJFTC1wePmRLiLa0J7M/3phbs64/LkkaImbCTGgkhnWUuNKQng==","signatures":[{"sig":"MEUCICYMNzvD5Mqu9dpv3BWFJSpeDjFxGa9Zo3ROm9TzEYtQAiEAgBoRM4xbXxZMKkRshS0PwJkKjZGuo6SLMeQ4LTOi3Sw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":965545},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"d08ecbb82e069b93521cb58f4c1ee136e4feec47","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","allowScripts":{"@swc/core":true,"core-js-pure":true,"node-semvers":true,"tesseract.js":true,"node-version-use":true,"thread-sleep-compat":true,"node-filename-to-dist-paths":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cr":"^0.1.0","pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.5_1788014573038_0.7304327131767594","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.6","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.6","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"91a291f667f67f8b51e7b6dae0248d52742ab035","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.6.tgz","fileCount":189,"integrity":"sha512-hxBym7+rYiCX/tzKkCOF84ZjBpaCEkzTauKPfe9StRypfKc0i5IfI19VCIhklZmxE9BY41gQrda3OL7sLej/yg==","signatures":[{"sig":"MEQCIDw9tBiH4kd0fXipuJOUTt7C1kW6PEjkkZOMQOukuPlYAiAvSyq4a8yM9xNyYbci59iC9L4UyDw60nIbzCwtU3cXyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":954907},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"e9a95b40b350f03f88159a27c26c8f5e7ad678d6","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","allowScripts":{"@swc/core":true,"core-js-pure":true,"node-semvers":true,"tesseract.js":true,"node-version-use":true,"thread-sleep-compat":true,"node-filename-to-dist-paths":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cr":"^0.1.0","pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.6_1788029750628_0.6140185718555051","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.7","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.7","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"80bfccf92575ea27c3f0919c6eb19df0dc69e806","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.7.tgz","fileCount":189,"integrity":"sha512-92/8RiMq0vmTdk06CHFKbet1y5mEQVP6DZa1W68CMD1UsKLDcEo7HRWcEBEVoo4C3IJJmrXgC+4DQ4hbVh11DQ==","signatures":[{"sig":"MEQCID0JrgC35DRQf8Dvui8GqZO4qP7+ORRQd7RJ/NaALlHKAiB6FVCwfB9JNpvDWjqiLkqZocZTIrim77ChjZGZIKQGig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":956442},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"e452d13c50a60a181af21572d63d82f27182b8b2","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.0","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","allowScripts":{"@swc/core":true,"core-js-pure":true,"node-semvers":true,"tesseract.js":true,"node-version-use":true,"thread-sleep-compat":true,"node-filename-to-dist-paths":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cr":"^0.1.0","pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","fs-remove-compat":"^1.0.4","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.7_1788162649800_0.7611350474057839","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@effortlessmotion/pdf-to-md","version":"0.1.8","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"@effortlessmotion/pdf-to-md@0.1.8","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/pdf-to-md","bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"bin":{"pdf-to-md":"bin/cli.js"},"dist":{"shasum":"c6533b81cd2c755ef1e0afb5c6f551bcbba7e2da","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.1.8.tgz","fileCount":189,"integrity":"sha512-WjLK774X2I+Omh8/f0Ve0OT29DsQY9ibqWlvOhtEKKM2DpJxrqUmGz/mslcDOhr37BKmJKmpXDAmBMf2W43+6Q==","signatures":[{"sig":"MEYCIQDSzUqnVWbtm/MccczDqD4t7+quOdPBQ/flupEuNp6KlAIhAK3dB9wed099o2aIHwa71KBO/mjywQbFmRU+nW7VpvuD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":950834},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"c388b32028181ad5b08169d8f01cf5a34b653068","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"12.0.2","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"_nodeVersion":"26.7.0","allowScripts":{"tesseract.js":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cr":"^0.1.0","pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","fs-remove-compat":"^1.0.4","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-to-md_0.1.8_1789248188411_0.8016849154723007","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"_id":"@effortlessmotion/pdf-to-md@0.2.0","bin":{"pdf-to-md":"bin/cli.js"},"bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"dist":{"shasum":"f8eae2f7c96e595efa2861f4d91c8ca8e000ccfe","tarball":"https://registry.npmjs.org/@effortlessmotion/pdf-to-md/-/pdf-to-md-0.2.0.tgz","fileCount":196,"integrity":"sha512-1jr4XmNVhhK2aTwnnoAe1Lgf8Et69Nt8XSSBz7UysBThwLYWML0mPxpJlSN9t5yxOqWz5+deSRQiHywoF69oHw==","signatures":[{"sig":"MEUCIQD6CxglqY5CEGkUXcmru2M9q6ftUd1geHQJ8MpZ/WDIiAIgT4DJJlgJ2lPlxCEa/aiM+Jae7J9mgRskA+noMlNSV94=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHSYQ/Mcf8mhCkkPPzWXAgfuUrwO6miKdi7SlL/ywwZ+AiEA1Yd9+SQNmrVJA1dgHc/3nbTVhc/pzSH3MMx0EtosOr8="}],"unpackedSize":1117212},"main":"dist/cjs/index.js","name":"@effortlessmotion/pdf-to-md","type":"module","types":"dist/cjs/index.d.ts","author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"source":"src/index.ts","engines":{"node":">=22.13.0"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"38e1d7dc5fee518e145171417a2eaf2cfa2dfa92","license":"MIT","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines tsds test:node --no-timeouts","prepublishOnly":"tsds validate"},"version":"0.2.0","_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"homepage":"https://github.com/kmalakoff/pdf-to-md","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"_npmVersion":"11.19.1","description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","directories":{},"maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"_nodeVersion":"26.8.2","allowScripts":{"tesseract.js":true},"dependencies":{"word-list":"^4.1.0","pdfjs-dist":"^6.2.108","tesseract.js":"^7.0.0","@napi-rs/canvas":"^1.0.6","@tesseract.js-data/eng":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cr":"^0.1.0","pdf-lib":"^1.17.1","@types/node":"^26.2.0","tsds-config":"^1.0.5","@types/mocha":"^10.0.10","ts-dev-stack":"^1.22.3","fs-remove-compat":"^1.0.4","node-version-use":"^2.5.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pdf-to-md_0.2.0_1789883210310_0.9783395316125698"}}},"time":{"created":"2026-08-24T00:27:44.464Z","modified":"2026-09-20T05:46:50.585Z","0.1.0":"2026-08-24T00:27:44.758Z","0.1.1":"2026-08-24T00:30:36.325Z","0.1.2":"2026-08-24T00:51:07.688Z","0.1.3":"2026-08-24T05:22:29.453Z","0.1.4":"2026-08-24T13:04:48.103Z","0.1.5":"2026-08-29T14:42:53.184Z","0.1.6":"2026-08-29T18:55:50.774Z","0.1.7":"2026-08-31T07:50:49.962Z","0.1.8":"2026-09-12T21:23:08.551Z","0.2.0":"2026-09-20T05:46:50.431Z"},"bugs":{"url":"https://github.com/kmalakoff/pdf-to-md/issues"},"author":{"url":"https://github.com/kmalakoff","name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","homepage":"https://github.com/kmalakoff/pdf-to-md","keywords":["pdf","markdown","ocr","tesseract","extract","convert"],"repository":{"url":"git+ssh://git@github.com/kmalakoff/pdf-to-md.git","type":"git"},"description":"Extract PDFs to structured markdown: text layer via pdf.js, OCR fallback for image-only pages, pure npm and cross-platform","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"readme":"# @effortlessmotion/pdf-to-md\n\nConvert born-digital and scanned PDFs to Markdown. `pdf-to-md` reads each page's text layer and uses local OCR where needed. It returns a QA report; the OCR path marks text it cannot place reliably for review.\n\nUse it when you need editable Markdown plus evidence about conversion quality. OCR runs locally and makes no cloud calls.\n\n## Requirements\n\n- Node.js 22.13 or newer\n- English text for the bundled OCR model. Text-layer extraction can preserve other languages.\n\n## Install\n\n```bash\nnpm install @effortlessmotion/pdf-to-md\n```\n\n## Convert a PDF\n\nThe package installs the `pdf-to-md` executable:\n\n```bash\nnpx pdf-to-md book.pdf\n```\n\nThis writes `book.md`. Pages with too little embedded text are assessed individually for OCR, so one document can use both extraction paths. The command reports those choices on stderr.\n\nSpecify an output path or force OCR when needed:\n\n```bash\nnpx pdf-to-md scan.pdf notes.md --ocr\n```\n\nA conversion can produce ordinary Markdown plus visible review markers:\n\n```text\n## DAILY TALLIES\n\nEvery skiff was counted at the north pier.\n\n> [review: unstructured labels] 12 47 380 5 91\n```\n\nThe excerpt is illustrative. Review markers preserve text whose structure could not be recovered reliably.\n\n## Library use\n\n```js\nimport { pdfToMarkdown } from '@effortlessmotion/pdf-to-md';\n\nconst { markdown, report, warnings } = await pdfToMarkdown('book.pdf');\n\nconsole.log(markdown);\nconsole.log(report.path); // \"text\", \"ocr\", or \"mixed\"\nconsole.warn(warnings);\n```\n\n`pdfToMarkdown()` uses the same text-first, automatic-OCR behavior as the CLI. It returns data and does not write files or exit the process. Conversion failures use `PdfToMdError` where the library assigns a package error code; native filesystem errors can also surface when inputs cannot be read.\n\nUse `extractText()` or `extractOcr()` when you need to choose the path yourself. The [API documentation](https://kmalakoff.github.io/pdf-to-md/) lists the public functions, options and return types.\n\n## Know which path ran\n\nThe QA report identifies the extraction path and highlights output that deserves review. Important cases:\n\n- The bundled OCR model recognizes English. Use text-layer extraction for PDFs whose embedded text is in another language.\n- A page can contain both embedded text and a large image with additional text. The text path warns about these hybrid pages so you can compare a targeted OCR pass.\n- `> [floats]` and `> [review: ...]` blocks contain recognized text that the converter could not place confidently. They are intentionally visible.\n- OCR quality depends on the scan. Check low-confidence words and rendered pages before relying on the result.\n\nUse `--json` to print the report:\n\n```bash\nnpx pdf-to-md book.pdf --json\n```\n\nSee [quality checks and tuning](https://github.com/kmalakoff/pdf-to-md/blob/master/QUALITY.md) for the audit workflow, report fields and OCR controls.\n\n## Common CLI options\n\n```text\npdf-to-md <file.pdf> [out.md] [flags]\npdf-to-md render <file.pdf> <page>[-<page>]\npdf-to-md audit <words.jsonl> <file.md>\n```\n\nCommon flags:\n\n- `--ocr` forces OCR; `--no-ocr` disables automatic OCR fallback.\n- `--pages N[-M]` converts a page range.\n- `--stdout` writes the converted content to stdout.\n- `--json` prints the QA report.\n- `--format md|txt|raw` selects Markdown, plain text or analysis JSON.\n- `--debug-words=FILE` writes source text items or recognized OCR words for `pdf-to-md audit`. Use `--page-markers` when producing Markdown for a page-by-page audit.\n- `--dpi=N` changes OCR render resolution. The default is 288; higher values are not always more accurate.\n\nRun `npx pdf-to-md --help` for the complete option list.\n\n## Agent skill\n\nAn optional skill teaches compatible coding agents how to inspect the report, render suspect pages and run targeted conversions:\n\n```bash\nnpx skills add kmalakoff/pdf-to-md\n```\n\n## Support and license\n\nReport problems through the [GitHub issue tracker](https://github.com/kmalakoff/pdf-to-md/issues). See [CONTRIBUTING.md](https://github.com/kmalakoff/pdf-to-md/blob/master/CONTRIBUTING.md) to work on the package. The package is licensed under the [MIT License](https://github.com/kmalakoff/pdf-to-md/blob/master/LICENSE).\n","readmeFilename":"README.md"}