{"_id":"documind","_rev":"18-96339f743594f0f45d64d846fa42ac1f","name":"documind","dist-tags":{"latest":"1.1.5"},"versions":{"1.0.0":{"name":"documind","version":"1.0.0","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.0","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"47e3fbbed5f182a9cbc8e2d11592903691dd0be8","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.0.tgz","fileCount":27,"integrity":"sha512-3cWxL25Uy6TaOI2YiKW6l9fiTWWLo+zOfHccMoZ1QHParAUWm2vQISEpSG27yFhVcpM0IffcmhYwMqXMiAbIVA==","signatures":[{"sig":"MEUCIQC1k4sEfny86xfrs5ekPVJKuPHcz82JTLyREnGFIgxtwgIgJiJ0J5LeL8XAEoV0y/OO5wiXcsbvtHbUHfwpdNYceQk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98027},"main":"./extractor/src/index.js","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.0_1731785757233_0.8487897153708994","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"documind","version":"1.0.2","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.2","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"6d0132d5088bba641795eb9658d531fc1ffb6bd4","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.2.tgz","fileCount":27,"integrity":"sha512-5KEXay175wdF5aeFD/pU3PsPmfKfizor6QH8aPePpr9c2RA4rkP/MhWjYMAI5LVBW7gzsZBHmMGt4hxdRHKq0w==","signatures":[{"sig":"MEYCIQDKgMNcCRaYS7/K+NzkFaJPx6pyPw+mJOltBGLXtNdXQgIhAKovCbnodqmFJ5tzT476X27jFZWky9tTkl5Vr6cvJZGu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98033},"main":"./extractor/src/index.js","gitHead":"a9149de7b64ec2390151fc0dca6e8b5919b9b853","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.2_1731790073525_0.681258921286465","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"documind","version":"1.0.3","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.3","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"014fbc1e1d092ec3f8bcec5a581663a0f4124889","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.3.tgz","fileCount":27,"integrity":"sha512-h8LOCRmtRdmfzELQNOFnbAuc59WZxpatUKNPPSble2dJXjNYfCzeW+Nx981Np1Cm9d0gzBliKDMnjTvtpJvDcA==","signatures":[{"sig":"MEQCIHjJcugyze+j86HWZwQiV9v6WEB5dy4+JGEiPIey41OyAiAg0j+SlDfdG9FokfTRepPOCb/j42abr/X15TeR2lqeLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98334},"main":"./extractor/src/index.js","gitHead":"7bcef66e1274f969d1a4ac9fae2a81aa2cec3854","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"zod":"^3.23.8","core":"file:../core","uuid":"^11.0.2","axios":"^1.7.7","dotenv":"^16.4.5","openai":"^4.68.4","pdf-lib":"^1.17.1","supabase":"^1.207.9","@supabase/supabase-js":"^2.45.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.3_1731791281432_0.15474599961039104","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"documind","version":"1.0.4","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.4","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"a83b3585882603aea6ac003205ae1796c25cc859","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.4.tgz","fileCount":27,"integrity":"sha512-ldRYcBaOXS2J/sPN7TTFweQl3nAHKP+iBaqJRRsruiwBF42RUi7HsTLNWcFt2/Mr0KMgoEJz5SiKC1x0JPJbLA==","signatures":[{"sig":"MEUCIGKA47gw1Z8WENxVfE2dbRhALjj9dIAAVJVoaaySfodRAiEAvPQ6FN6/N9vULZeQtUzz9uw4m+LTzkj71+i0sIcGIm0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98294},"main":"./extractor/src/index.js","gitHead":"8e04e7e1f8ef2d3bea44d9cb7a91776bbb6fa9bf","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"zod":"^3.23.8","uuid":"^11.0.2","axios":"^1.7.7","dotenv":"^16.4.5","openai":"^4.68.4","pdf-lib":"^1.17.1","supabase":"^1.207.9","@supabase/supabase-js":"^2.45.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.4_1731791913329_0.4013624423901634","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"documind","version":"1.0.5","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.5","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"9a3f4b29e5ee30ea18d8877b4e0863d5d43052f5","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.5.tgz","fileCount":27,"integrity":"sha512-bVZql72lYgpJp6XFzY5d+rWUmIyCXqzqmciHOl30AB+3FiA4H3COEw+6OfrC31jbmb1DrKG57SyLhNEIziPE3g==","signatures":[{"sig":"MEQCIFt3DIr5P3G69b3v/IpVMTf+qi2LU9fDKtBSsYR6sfNFAiBCjru4r+ioUeoib5sy7LNR0HyhnOHmHfPPkpeLVuoU1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98322},"main":"./extractor/src/index.js","gitHead":"6112e55b9ce0a1b3370df22a7811b4d58c12951e","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"zod":"^3.23.8","core":"file:./core","uuid":"^11.0.2","axios":"^1.7.7","dotenv":"^16.4.5","openai":"^4.68.4","pdf-lib":"^1.17.1","supabase":"^1.207.9","@supabase/supabase-js":"^2.45.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.5_1731792244427_0.9479771778100063","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"documind","version":"1.0.6","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.6","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"f39c02dadc53cce758f5225141c60644334b5e65","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.6.tgz","fileCount":27,"integrity":"sha512-2eWiuBpCvriZOE/SsZyxtiFf0M/qJLGyc3eIvJmXNFenDGFZ/XJ2dPCIahvUINGh0m/K4gLq/u8FTHVNjjTQNg==","signatures":[{"sig":"MEQCIH5r0NP1FzsudjeEDXbqHHT7BpwpLWdeyLgPzeJah6PsAiASmKlWxoldqsiicGoQcppVs9RYY+y4LiHvBl6yvutbHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98627},"main":"./extractor/src/index.js","gitHead":"b2356d4cb7f74dd5f254c48883ff4ffe37d54fe9","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","supabase":"^1.207.9","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0","@supabase/supabase-js":"^2.45.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.6_1731800425867_0.4903939726864184","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"documind","version":"1.0.7","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.7","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"510a00517d804c814ca66bce030ad9cf30b2ceb0","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.7.tgz","fileCount":27,"integrity":"sha512-GvoW3hzKtjuo35jR7v7mKEiVZ7W7susBBxeaKF/75M36jjNyWWKNgows4+bdIY/2KGxZB6xwPw/8muAJvTDqTA==","signatures":[{"sig":"MEUCIQDXr7a2H8YJmIK7324aQoDac/FnG6YumKgQVdxmJSKnqQIgb+KFKm8RKMlJ0I9+3GaFWX52jIBmngw5eZUXDEw2fkU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98627},"main":"./extractor/src/index.js","gitHead":"596017d9578d7fdf2e8b8c28748f37373739f603","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","supabase":"^1.207.9","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0","@supabase/supabase-js":"^2.45.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.7_1731801324453_0.21310820591869328","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"documind","version":"1.0.8","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.8","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"4730ee61faf0a7ab4ac5255b0bf7f8aa218efb55","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.8.tgz","fileCount":27,"integrity":"sha512-obfHHh65ZF2qoynNFj6IIi/DR1hnrMb7TO+R0B2HipKnryenwh6DyON3z5O0PBXrppsUPuHtOROeTY/RPExqCQ==","signatures":[{"sig":"MEUCIDMJii1KrbUDjzU2E2GJ8ONLJDYhPXIvNsq5CVRRd2C2AiEA3NLD7mxwMPrMoUmWCRIDldl8SDLiDcWI/s56Kzscvmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97428},"main":"./extractor/src/index.js","gitHead":"d2d2eeb2d8558a1536d1a22eeae29fe03d2ee391","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.8_1732033548241_0.22917133306032","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"documind","version":"1.0.9","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.9","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"9492186dc760e5d9f5c73f834c3797626ab2e313","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.9.tgz","fileCount":35,"integrity":"sha512-uUAuMfNn8W1a3fNu/S4iOkKfB7Cq5peu2d26XF29ax3PChmfcRy5f8Uiqn06PZhf40zmeVuq3/mpnLqZTsL/8A==","signatures":[{"sig":"MEYCIQCMKd2e3rWBdi/8XRluECu3YRY6IrGQffZ0fi64ly3RXgIhAJSl70Gh65KPcoX5/5FYYcc7Loqmvpok7E2urkNJbKpQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1025215},"main":"./extractor/src/index.js","gitHead":"325ee6d9e0fd3067e00fc5955395e0179f826811","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.9_1732532923498_0.4119248793823125","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"documind","version":"1.0.10","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.10","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"5a10ebd5ed1d340bc60fcea9fdbb646eb5f6fe9a","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.10.tgz","fileCount":35,"integrity":"sha512-s1wg9LEJE33ntJBxux4yaw2nhth8XXtETi765j/066Vj4A9o54n1rmplIDm8Q5ZVPjwH9sAp8BUFJZtve2hlpQ==","signatures":[{"sig":"MEQCIB+qCdq2Bp0iH6Pfte2Zb7yfsX+w78lOLBnKiFH+zYKEAiAqtzQx/aUgGWv+3QhpqtoXws3xMw3iasc5Vm5sxzWT1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1027585},"main":"./extractor/src/index.js","gitHead":"386e4508639155b119ad9eff0eac12df134ba39b","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.10_1733328163389_0.4031705415830922","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"documind","version":"1.0.11","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.11","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"f41d96a0ac7b385fedd9742230b8b22af2bfb7b0","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.11.tgz","fileCount":38,"integrity":"sha512-XQL3qT+9VrmJQI7aSnY85/3gWQBy/rCRwdlfcZ34W3ih6tG7kyfJWRWJ7kjD35SP/A3iuDjvAvYZwUc+/7V7fA==","signatures":[{"sig":"MEYCIQDo+WnbUzzlYUOaOE6vIQukv7caMU536PdWUQ5STYD05gIhAPsimcAXZVFCzHqoAOxM8Z3XzQW5++jw8WPjvZd05VV6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1033591},"main":"./extractor/src/index.js","gitHead":"308add920e06ff3a95b1d5ee8c070940bd235c56","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.11_1734201665791_0.4344807626906406","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"documind","version":"1.0.12","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.0.12","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://github.com/DocumindHQ/documind#readme","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"56d85355691be55a4a51b825bc9b7def8fe3b919","tarball":"https://registry.npmjs.org/documind/-/documind-1.0.12.tgz","fileCount":39,"integrity":"sha512-eUnmNz6HyZ0Ufb/GgEUwqEX+OWkJoVnxyd+QX30wfriOj7UQqKXvioNrjsKxNrVIsbi4Xs3768BznDNu4LbAxg==","signatures":[{"sig":"MEUCIQCb7wBaXhSsCF6EGvb3XPk+44Z5UXbXTA8FdHhI/L/vcQIgd4QErXI6URzuG0L2j0QVPdldAW0/nkbZTQUbDOR9Lfk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1035337},"main":"./extractor/src/index.js","gitHead":"f3afd671a9f629242da0a35d6f3a49b6758ebe04","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.0","description":"AI-powered document extraction.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.0.12_1736861131713_0.10442131435359503","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"documind","version":"1.1.0","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.1.0","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://documind.xyz","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"edb03fb8fe1a96307cf6aee59d04b83d6166d7b3","tarball":"https://registry.npmjs.org/documind/-/documind-1.1.0.tgz","fileCount":60,"integrity":"sha512-e2IcE4TA32h1/66NSGOt3PEmY5fKoEBdv6r0EWiUouw2hoNe/43Uibh2rh1zajfdsdReQHQljDwaS+1kqW8P3g==","signatures":[{"sig":"MEUCIAMc9SToumDHxJL4e3O/EQozx1CWbUQpluoU2opIfFnjAiEAgPK4vWXZzIViIge7GpEbWjNzl0GLHETFNp0arcR6PqU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1053596},"main":"./extractor/src/index.js","gitHead":"c82690a5f6a02672353d3f78e2dd138c22788782","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.2","description":"Intelligent document processing and extraction.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.1.0_1739890576742_0.8290716353030767","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"documind","version":"1.1.1","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.1.1","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://documind.xyz","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"cac9546f2b96f3b74dbe90219c6fd5380cd378c7","tarball":"https://registry.npmjs.org/documind/-/documind-1.1.1.tgz","fileCount":60,"integrity":"sha512-R61rWBjsM+SDzwDCrRJiZY2E3qGGfc0Xae3KqUzSOOXutphKhWHva14we/WEXdPXeen/ZeIc7Ji42IavUolZnQ==","signatures":[{"sig":"MEUCICoh7cNuV8ufhAMFVKXV7+hUroRLluG6OccN1OtCf4GCAiEAyuGkEubhkSoyp/G9B/2d33S2pGuo5YwWWexnfMrwvBs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1053596},"main":"./extractor/src/index.js","gitHead":"dc0fb72824ed7ebf796f30816396a67518f6057b","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.2","description":"Intelligent document processing and extraction.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.1.1_1740086058275_0.30546171454848703","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"documind","version":"1.1.2","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.1.2","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://documind.xyz","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"b02e83459250637565c31ce5f9eb37778a81cd77","tarball":"https://registry.npmjs.org/documind/-/documind-1.1.2.tgz","fileCount":60,"integrity":"sha512-Nz/09A9TMOWqvo+BdmmwtxoHaL3ifB+mqq12Ivzn9U9lJQsTCFF6FBBf+tREZE5mWKk9p9m4XM2KtR0BtscBcQ==","signatures":[{"sig":"MEYCIQCzWks0vC22T3t+n7tiQA8LNW6540GxCBnWjmJDJ72P0wIhAJwurulaMdRmntPAX7wTwozM+mkhtUa2Wq6tGS7Y3Y4Q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1055289},"main":"./extractor/src/index.js","gitHead":"422e150096d9c0b5fb6b26d95b024422c7851d0e","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.2","description":"Intelligent document processing and extraction.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.1.2_1740141947017_0.3892787210928501","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"documind","version":"1.1.3","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.1.3","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://documind.xyz","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"478f707173b409fa53d9199f477e2487f0ca838c","tarball":"https://registry.npmjs.org/documind/-/documind-1.1.3.tgz","fileCount":60,"integrity":"sha512-gg+CfpVHcv9kzYiFcnHZNC6Csj3NXeiFep2Kqb9zCjYRPs3XGnEO9cDmt/96y0J2cetSlJozLgtQvCDB5+dhYw==","signatures":[{"sig":"MEYCIQCy2/xiRVnPhA77/H4EveRfLdjbtuduJhhsCV9+bDJ8nQIhAPhEvYuAF4x2QbA15s167S/BLvSaRa6mBN998yH/TTJ5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1055300},"main":"./extractor/src/index.js","gitHead":"25962694102c87efefe4ad503bbcfdd4956fdd3e","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.2","description":"Intelligent document processing and extraction.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.1.3_1740144146218_0.8391249047372054","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"documind","version":"1.1.4","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","_id":"documind@1.1.4","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"homepage":"https://documind.xyz","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"dist":{"shasum":"029a75b47fcf80e087d976ddeb777d5dc1d6d71f","tarball":"https://registry.npmjs.org/documind/-/documind-1.1.4.tgz","fileCount":60,"integrity":"sha512-jCNkskQMayPIx5yNoe5PIjHwCaIIenhdVmdvDIlyxVcQUc1/PRFr520bZXZpViVC81/bwUdsAg+rLPwQ7ZcSIg==","signatures":[{"sig":"MEUCIQCprZK/Py8f4WZjSwb3yrp0UsjvSd/Q5/LS81Gf8Qpf4AIgVqlaoHUKZGhrPt1et6heURXJTyQ5g99wKS/IJtiGyZM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1055663},"main":"./extractor/src/index.js","gitHead":"494a077899a72f2017d8b9d1cff1bef045f65076","scripts":{"dev":"npm run dev --workspace=extractor","start":"npm run start --workspace=extractor"},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"repository":{"url":"git+https://github.com/DocumindHQ/documind.git","type":"git"},"workspaces":["core","extractor"],"_npmVersion":"10.9.2","description":"Intelligent document processing and extraction.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"os":"^0.1.2","zod":"^3.23.8","core":"file:./core","path":"^0.12.7","util":"^0.12.5","uuid":"^11.0.2","axios":"^1.7.7","sharp":"^0.33.5","dotenv":"^16.4.5","openai":"^4.68.4","p-limit":"^3.1.0","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","fs-extra":"^11.2.0","mime-types":"^2.1.35","tesseract.js":"^5.1.1","child_process":"^1.0.2","libreoffice-convert":"^1.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/documind_1.1.4_1745697834315_0.8416839468472692","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"documind","version":"1.1.5","description":"Intelligent document processing and extraction.","scripts":{"start":"npm run start --workspace=extractor","dev":"npm run dev --workspace=extractor"},"workspaces":["core","extractor"],"main":"./extractor/src/index.js","keywords":["document","extraction","llm","ai"],"author":{"name":"Tami"},"license":"AGPL-3.0","repository":{"type":"git","url":"git+https://github.com/DocumindHQ/documind.git"},"homepage":"https://documind.xyz","dependencies":{"axios":"^1.7.7","child_process":"^1.0.2","core":"file:./core","dotenv":"^16.4.5","fs-extra":"^11.2.0","libreoffice-convert":"^1.6.0","mime-types":"^2.1.35","openai":"^4.68.4","os":"^0.1.2","p-limit":"^3.1.0","path":"^0.12.7","pdf-lib":"^1.17.1","pdf2pic":"^3.1.1","sharp":"^0.33.5","tesseract.js":"^5.1.1","util":"^0.12.5","uuid":"^11.0.2","zod":"^3.23.8"},"_id":"documind@1.1.5","gitHead":"f10fcd5d53de25544e5d0b305536fbe765635e8f","bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-e68c5peuECZp94G5nRj8lEj64vPCXhiEHeALLKVIsZga1MOA8jtyoiNJtspCNpRPK4Uyr4GwKhAsH5CfwKsLwQ==","shasum":"015affe94b031badd0bf81778078b6f7adf71750","tarball":"https://registry.npmjs.org/documind/-/documind-1.1.5.tgz","fileCount":60,"unpackedSize":1055663,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDZOf8VtAXo5+U4f7Zi16MEqgEGKIR6U1n0idXmXr/B0wIgAbD70jhvQziVPftj6KtcW1izlTOAdhPQxY6vx+HmbLw="}]},"_npmUser":{"name":"tammilore","email":"Tammilore@gmail.com"},"directories":{},"maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/documind_1.1.5_1745698529951_0.27832973512215076"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-16T19:35:57.233Z","modified":"2025-04-26T20:15:30.408Z","1.0.0":"2024-11-16T19:35:57.481Z","1.0.2":"2024-11-16T20:47:53.704Z","1.0.3":"2024-11-16T21:08:01.623Z","1.0.4":"2024-11-16T21:18:33.526Z","1.0.5":"2024-11-16T21:24:04.607Z","1.0.6":"2024-11-16T23:40:26.083Z","1.0.7":"2024-11-16T23:55:24.633Z","1.0.8":"2024-11-19T16:25:48.386Z","1.0.9":"2024-11-25T11:08:43.712Z","1.0.10":"2024-12-04T16:02:43.665Z","1.0.11":"2024-12-14T18:41:06.047Z","1.0.12":"2025-01-14T13:25:31.969Z","1.1.0":"2025-02-18T14:56:16.954Z","1.1.1":"2025-02-20T21:14:18.532Z","1.1.2":"2025-02-21T12:45:47.261Z","1.1.3":"2025-02-21T13:22:26.482Z","1.1.4":"2025-04-26T20:03:54.569Z","1.1.5":"2025-04-26T20:15:30.245Z"},"bugs":{"url":"https://github.com/DocumindHQ/documind/issues"},"author":{"name":"Tami"},"license":"AGPL-3.0","homepage":"https://documind.xyz","keywords":["document","extraction","llm","ai"],"repository":{"type":"git","url":"git+https://github.com/DocumindHQ/documind.git"},"description":"Intelligent document processing and extraction.","maintainers":[{"name":"tammilore","email":"Tammilore@gmail.com"}],"readme":"\n<a href=\"https://discord.gg/w2Ejj36hRU\">\n  <img src=\"https://user-images.githubusercontent.com/31022056/158916278-4504b838-7ecb-4ab9-a900-7dc002aade78.png\" alt=\"Join us on Discord\" width=\"200px\">\n</a>\n\n# Documind\n\n**`Documind`** is an advanced document processing tool that leverages AI to extract structured data from PDFs. It is built to handle PDF conversions, extract relevant information, and format results as specified by customizable schemas.\n\n## **Features**\n\n- Extracts structured JSON output from unstructured documents.\n- Converts documents into Markdown format.\n- Supports custom schemas for data extraction.\n- Includes pre-defined templates for common schemas.\n- Works with OpenAI and custom LLM setups (Llava and Llama3.2-vision).\n- Auto-generates schemas based on document content.\n\n### Try the Hosted Version 🚀\n\nThe hosted version provides a seamless experience with fully managed APIs, so you can skip the setup and start extracting data right away. [Join the beta](https://documind.xyz/signup) to get access to the hosted service. \n\nIn the meantime, you can explore the playground [here](https://www.documind.xyz/playground). Upload your documents and extract structured data with your own custom schema, or use one of the sample documents and template schemas.\n\n## Roadmap\n\n### ✅ Released Features  \n- [x] PDF Extraction  \n- [x] Basic Schema Definition  \n- [x] Structured JSON Output  \n- [x] Template Schemas  \n- [x] Local LLM Integration (Llama3.2)  \n- [x] Auto-generated Schemas  \n- [x] Document Formatters (Text and Markdown)  \n- [x] Multi-file Support (DOCX, PNG, JPG, TXT, HTML)  \n- [x] Additional Schema Field Types (Boolean and Enum)\n\n### 🚧 Upcoming Features  \n- [ ] Additional Models (Local and cloud)  \n- [ ] Image Extraction  \n- [ ] Advanced Document Formatters  \n- [ ] Data Classification\n- [ ] Use Your Fine-tuned Models\n\n## **Requirements**\n\nBefore using **`documind`**, ensure the following software dependencies are installed:\n\n### **System Dependencies**\n\n- **Ghostscript**: **`documind`** relies on Ghostscript for handling certain PDF operations.\n- **GraphicsMagick**: Required for image processing within document conversions.\n\nInstall both on your system before proceeding:\n\n```bash\n# On macOS\nbrew install ghostscript graphicsmagick\n\n# On Debian/Ubuntu\nsudo apt-get update\nsudo apt-get install -y ghostscript graphicsmagick\n\n```\n\n### **Node.js & NPM**\n\nEnsure Node.js (v18+) and NPM are installed on your system.\n\n## **Installation**\n\nYou can install **`documind`** via npm:\n\n```bash\nnpm install documind\n\n```\n\n### **Environment Setup**\n\n**`documind`** requires an **`.env`** file to store sensitive information like your OpenAI API key.\n\nCreate an **`.env`** file in your project directory and add the following:\n\n```bash\nOPENAI_API_KEY=your_openai_api_key\n```\n\n## **Usage**\n\n### **Basic Example**\n\nFirst, import **`documind`** and define your schema. The schema outline what information **`documind`** should look for in each document. Here’s a quick setup to get started.\n\n### **1. Define a Schema**\n\nThe schema is an array of objects where each object defines:\n\n- **name**: Field name to extract.\n- **type**: Data type (e.g., **`\"string\"`**, **`\"number\"`**, **`\"array\"`**, **`\"object\"`**).\n- **description**: Description of the field.\n- **children** (optional): For arrays and objects, define nested fields.\n\nExample schema for a bank statement:\n\n```jsx\nconst schema = [\n  {\n    name: \"accountNumber\",\n    type: \"string\",\n    description: \"The account number of the bank statement.\"\n  },\n  {\n    name: \"openingBalance\",\n    type: \"number\",\n    description: \"The opening balance of the account.\"\n  },\n  {\n    name: \"transactions\",\n    type: \"array\",\n    description: \"List of transactions in the account.\",\n    children: [\n      {\n        name: \"date\",\n        type: \"string\",\n        description: \"Transaction date.\"\n      },\n      {\n        name: \"creditAmount\",\n        type: \"number\",\n        description: \"Credit Amount of the transaction.\"\n      },\n      {\n        name: \"debitAmount\",\n        type: \"number\",\n        description: \"Debit Amount of the transaction.\"\n      },\n      {\n        name: \"description\",\n        type: \"string\",\n        description: \"Transaction description.\"\n      }\n    ]\n  },\n  {\n    name: \"closingBalance\",\n    type: \"number\",\n    description: \"The closing balance of the account.\"\n  }\n];\n\n```\n\n### **2. Run `documind`**\n\nUse **`documind`** to process a PDF by passing the file URL and the schema.\n\n```jsx\nimport { extract } from 'documind';\n\nconst runExtraction = async () => {\n  const result = await extract({\n    file: 'https://bank_statement.pdf',\n    schema\n  });\n\n  console.log(\"Extracted Data:\", result);\n};\n\nrunExtraction();\n\n```\n\n### **Example Output**\n\nHere’s an example of what the extracted result might look like:\n\n```json\n {\n  \"success\": true,\n  \"pages\": 1,\n  \"data\": {\n    \"accountNumber\": \"100002345\",\n    \"openingBalance\": 3200,\n    \"transactions\": [\n        {\n        \"date\": \"2021-05-12\",\n        \"creditAmount\": null,\n        \"debitAmount\": 100,\n        \"description\": \"transfer to Tom\" \n      },\n      {\n        \"date\": \"2021-05-12\",\n        \"creditAmount\": 50,\n        \"debitAmount\": null,\n        \"description\": \"For lunch the other day\"\n      },\n      {\n        \"date\": \"2021-05-13\",\n        \"creditAmount\": 20,\n        \"debitAmount\": null,\n        \"description\": \"Refund for voucher\"\n      },\n      {\n        \"date\": \"2021-05-13\",\n        \"creditAmount\": null,\n        \"debitAmount\": 750,\n        \"description\": \"May's rent\"\n      }\n    ],\n    \"closingBalance\": 2420\n  },\n  \"fileName\": \"bank_statement.pdf\"\n}\n\n```\n\nRead the [documentation](https://docs.documind.xyz/guides/schema-definition) for more on how to define schemas and and enable auto-generation.\n\n### **Templates**\n\nDocumind comes with built-in templates for extracting data from popular document types like invoices, bank statements, and more. These templates make it easier to get started without defining your own schema.\n\n**List available templates**\n\nYou can list all available templates using the `templates.list` function.\n\n```javascript\nimport { templates } from 'documind';\n\nconst templates = templates.list();\nconsole.log(templates); // Logs all available template names\n```\n**Use a template**\n\nTo use a template, simply pass its name to the `extract` function along with the file you want to extract data from. Here's an example:\n\n```javascript\nimport { extract } from 'documind';\n\nconst runExtraction = async () => {\n  const result = await extract({\n    file: 'https://bank_statement.pdf',\n    template: 'bank_statement'\n  });\n\n  console.log(\"Extracted Data:\", result);\n};\n\nrunExtraction();\n```\nRead the [templates documentation](https://docs.documind.xyz/templates/overview) for more details on templates and how to contribute yours.\n\n## **Using Local LLM Models**\n\nRead more on how to use local models [here](https://docs.documind.xyz/guides/local-models).\n\n## **Contributing**\n\nContributions are welcome! Please submit a pull request with any improvements or features.\n\n## **License**\n\nThis project is licensed under the AGPL v3.0 License.\n\n## **Credit**\n\nThis repo was built on top of [Zerox](https://github.com/getomni-ai/zerox). The MIT license from Zerox is included in the core folder and is also mentioned in the root license file.\n\n---\n","readmeFilename":"README.md"}