{"_id":"pdf-lib","_rev":"87-3f474cf884f2f9ff46012bc584f0f52c","name":"pdf-lib","description":"Create and modify PDF files with JavaScript","dist-tags":{"latest":"1.17.1","beta":"1.0.0-beta.3","next":"1.11.2-rc1"},"versions":{"0.0.0":{"name":"pdf-lib","version":"0.0.0","description":"Library for creating and editing PDF files in JavaScript","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"author":{"name":"Andrew Dillon"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","_id":"pdf-lib@0.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-Mc+LvrCSb36vpWBOjOhEo993MSVjdEX/JzsrdFZesKrJbgs+w/tGHf0mcP5wDBJPOR03cng4qFq6MZQfS6EBUA==","shasum":"605c028b04a7828d0983cdf915d04e168f6ace23","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFf0ZcUKsVP25pbNat2CBzZ9UBV1h7JZR0rwwVf/KKSSAiABQsAQg08UdXcuONwHPQryxO5Wb2uUpQ/Xxd3AxcJW7w=="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib-0.0.0.tgz_1504535007462_0.928974527399987"},"directories":{}},"0.0.1-rc":{"name":"pdf-lib","version":"0.0.1-rc","description":"Library for creating and modifying PDF files in JavaScript","main":"dist/index.js","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","build":"gulp build","docs":"gulp docs","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/lodash":"^4.14.106","@types/node":"^9.6.0","@types/pako":"^1.0.0","babel-plugin-module-resolver":"^3.1.1","babel-preset-env":"^1.6.1","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-filter":"^5.1.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"gitHead":"87dbb5f2cb9eeea29f6cacda81152eb082e9d839","_id":"pdf-lib@0.0.1-rc","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-sgkNiVP0Uj12biMmCqPX0o6MOVv4dRBZ2CUWT0zmKFuzq1+WTPbU7qfTbqaR4+zMR8QmKck6r4un9c8Rdl0gKA==","shasum":"013c92406945d981a1fa7520fbf96aef5a8d291a","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.0.1-rc.tgz","fileCount":134,"unpackedSize":2338797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJbIhCRA9TVsSAnZWagAAK5AQAI3jbwLjHRX9ViwKM8DM\n9M7xuHLUtmnfL7NzORLCQqjiDUGXBGON6xivXpPSQ8CskTPFwap3NMBPw2Cd\nrTygd+L3o8gxQH/fK5hz+hVGmRwgKHCRSjVKb7e0hySf5jZcgTwOTHCMYyhK\nv25jyfPiE5sT3Q/7oboy01jkVv8I4yZWzIBXiDcAb9oVqvINVZtQpRS+jZwY\nrE4yGKqwx8XBiRvXT8IgHziKQr6BQo/0BfkPaBpIQPhHxaum/8VAPQPuD1/1\nZ4cItY5M2tfezIclOXULDpOCGDXtnwGV0sFWXsHCNdv8Qkz2USVL7x1RLjZf\nOh6FGM2s5ACO6zcy5ACoHyfqyCF3Yrby2AOpQN/JqmIp/6cNu3iOQk29uuua\n8VVrOQewZFlQh14R9yX/DR4O464uPWbA8LoFNKTLoj0JvTMGpIvktZ306JEb\ndG1aHSQoNXqzOm3cEj8iJ0F530wJQXW9M5aWjeWdL99npsaDVoFTfLiuXDkb\nj0mPtq9M6GYcCofGNFeU3vSMPdHzyIovKJdlpY73eW6rAd0UckxiOWVTiLC2\n2RpqQA21lgz1Jciptgqhni2vWHsCPXxvwPiLFTB7VsoIuBEBT6VkNcdaXHmb\n7bx028oetyVNTHX0G88aUbKrgdOFowhXYcWh6X6wb6ZjoO0Jgm9VfCjMFjwK\nYItN\r\n=Link\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEShyfkIRPwrmf12Yx5//EW5wrhAl9DE2NJroKATIqDxAiB0KcwBpJKNTyrjhHIKg83sa9lu9/68xIl+XZh0yvQwbA=="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.0.1-rc_1529197088339_0.8374557029041512"},"_hasShrinkwrap":false},"0.0.1-rc2":{"name":"pdf-lib","version":"0.0.1-rc2","description":"Library for creating and modifying PDF files in JavaScript","main":"dist/index.js","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","build":"gulp build","docs":"gulp docs","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/lodash":"^4.14.106","@types/node":"^9.6.0","@types/pako":"^1.0.0","babel-plugin-module-resolver":"^3.1.1","babel-preset-env":"^1.6.1","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-filter":"^5.1.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"_id":"pdf-lib@0.0.1-rc2","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-lvUdyj4Bvk4ytBfaACz3k3adbmooaWf9VSZC0fiS+aIY2RfBC8yOlR6n3rV3T+CEOjrlPsevj6wAlghQu4TV4A==","shasum":"f784583a8104dd4bcfce6f6bf0f3d5b51f4d45eb","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.0.1-rc2.tgz","fileCount":209,"unpackedSize":437018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJbRLCRA9TVsSAnZWagAA5vkQAIHW8u50PkErVgXwvHnF\nFQ90bQLLYGaW+72QJg5DLxFxZEmHqS4kHy3jRK3wNd/7Fyu9gGM2aAQfiJUD\nIhHBPQ/G1Xn/QguF5sLjeTyXKcbSkfwFNfvSGh1LbA4BVGa0UqtU59DnPawz\nZl2xVwHQ2wy0PW3Bb5wsDhC+Q0uI6cUf9LwS5mMKuWukeyuQtkjiBcUw8YYX\ngEOi4Br1zY9HWzW3OUFULBnU+6wZarjzJ5ndPWnSINRKkvbAhl+7Lkg09z+u\nym4pRGMPy7LVmwr3gap6S+rebMPQt8lnpY/kr+0X8ocs1mbhVOTKtNRAmqxv\nN5svlapah8SGLRoCJ2WGJgdYLzPu4UN2SAkRDY2k+dgJ8Q3UGgAbzefwW8Zm\n6QIjWbgW5rhnZAtl/dDWzMtYccjdx/m9yf1TCiwzr8jlyCmUt+/hO6U7jZt8\nJmag6P6XmfaGGBQjt9c0Pu3PEXbH0l07fjiW/dZ1TWP0Gr8qIm/icCeIe4KX\nzNmOWNJxAWR68p81FkapXvrkwaRIDDjbEE7In30ia0PEO6U3sabUlUBMkE/4\n9uVUBFXKjQWJIZ5Ihldj8MykGRsFKbGaeOmTNH+XcOPRQjiYjzbhNRLl4QrC\nCca0vhsYLTg8/i1s94R2zufd0D5m5LAbwkL9FmUBrpTBvgyMhnXGKrFIFWd1\n9M38\r\n=OlYB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgv5coMeEyuucQ3vKt124mJ6PSHDAxa0sgVwKePMk+vAiBScqXkb9qT9tzquHHTi8jsc7gia/a5yriRFXsa/9JpNw=="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.0.1-rc2_1529197642922_0.8078322043656125"},"_hasShrinkwrap":false},"0.0.1-rc3":{"name":"pdf-lib","version":"0.0.1-rc3","description":"Library for creating and modifying PDF files in JavaScript","main":"dist/index.js","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","build":"gulp build","docs":"gulp docs","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/lodash":"^4.14.106","@types/node":"^9.6.0","@types/pako":"^1.0.0","babel-plugin-module-resolver":"^3.1.1","babel-preset-env":"^1.6.1","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-filter":"^5.1.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"_id":"pdf-lib@0.0.1-rc3","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-ePE9KWwV7qsir9g3VSb6sBrbngKi/HzNFrCJwTVav292JXN68B2gCrR4pjQN5CZd6Hv7xMbp76mvEHqrawSFSQ==","shasum":"3cafab8345a4bda33356dc80181ed0a76e3ab70a","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.0.1-rc3.tgz","fileCount":209,"unpackedSize":436942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJbXgCRA9TVsSAnZWagAAdZgP/RcDbvyFZUvjSallim9x\nDfWgxyMIRG8AoXNI7KZdQfXJNjmMTFT3ZkJYPq8T/qOfv1HIP5N1MeNqfEl+\nbeGqQTKad8txolKyIMEvKS7CWNEHCv0dRGVBTzYbuHHeLyfcfPi2WUmKQmpL\ncLIq1obb98hGQyHpvCDO1/rhLS+yYnWAVvQ6giBIWA1c+h/2BOzzvOGrBRxQ\nUX24FCsOqHGUy2ODZdP8WZsHL7jYMr3vP5raUAU0vDWw1NBgOnI11V555t7E\n+GDQ2EUOadzkZ7SJbrMqSulOrIhjwFr7RFg+cl/ltYdO/LbIP5hYg8HjPiMc\nINF9dh2qhldKyEdrXxdvUXfnlYgNmyG/XEAHd3l3rHw6rJorO4Tk6NWNUuFH\nUwYtI7SVaqgVfXIEoyIAfUimBjPMLNcuSIbjy1DTdeiPSleWDwfSn1I2iTIJ\nHcMAHfXy5a1cc+2ThQmLcrCuwI3tJv4+T+KJ3Rxg7mFi310Z8AmC/xu8sEbR\nYZ+ifv2BnpBYLxHe8Tapv4wSciRoxLtrbvlEIkjHXkiS0DWXMRnHEvXiRZYs\nG/4OQ8fZ9sdFlIfEVhyHh2PZo9gx49lkxt4lV6t3FilIYSt37wf6KQA34CHe\nUnlGzA8TQaS30OxpDvAH8KfvkmWNGZC/RxBDG4tbyjZF/oJAzz6E0J7DPYr+\n3iOU\r\n=YFXk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdpeLrmEdYBv2yhvPVaWG939cdt4xnWWIwiwJaxdcq6wIgdDGpYYREqrmpn4wTWomEk/b1i3rNpRkjlGDj49OF7kI="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.0.1-rc3_1529198048564_0.6948573623992083"},"_hasShrinkwrap":false},"0.0.1-rc5":{"name":"pdf-lib","version":"0.0.1-rc5","description":"Library for creating and modifying PDF files in JavaScript","main":"dist/index.js","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","build":"gulp build","docs":"gulp docs","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/lodash":"^4.14.106","@types/node":"^9.6.0","@types/pako":"^1.0.0","babel-plugin-module-resolver":"^3.1.1","babel-preset-env":"^1.6.1","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-filter":"^5.1.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"_id":"pdf-lib@0.0.1-rc5","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-cNQWlaTtJbv0p3NC0YIUwsj/a2/4Q2IurMSGOoIuhWccuTiY1E4Ue86oDfsBgCLVUdupIatDMWOBoOAYhzIW3A==","shasum":"ab62a414fead3c239d3a11161d1c612b36a7029f","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.0.1-rc5.tgz","fileCount":212,"unpackedSize":649569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJbmGCRA9TVsSAnZWagAAUawQAKT6iR7aJENlexASuqDG\nwXCny607VBryfXvaQPVOkJeJJr/vObzdmEsaE4JOCJJKpB5h/xRveJ3veH/g\nvVLiYgau+vxEeqvnq55nrgTaWWlUo+6IO+XhUDuq92pdileh2CkfWmXRcuoo\nLlUGRB1u6xw9ltojXlK08jy7s82i501CAOy4fKRpY0buuJUcu16gcmI40+kX\nTkVrAn5qgrMXa6hqHyhHszqgsf36I6kqmAQ9ST5lufYOCHzifgrvXHEdOyi9\nYGDdwbglnjc1fHehdQgLX/haIL5vUTTtNH2mLf2yNkqD4G6JixCEvmm6RPAF\ng4e2teA2t3jZ3CxjmzI6puy4aLW9S4wA2O+L6/2vAgPfj1S/LFyu2oPFPDAy\ni1gBeyAACfmo6C0KsPM4vC9GvU0t0c8H0Q032XegadufYY9ZeZ1eoJRVz5IN\ngpnkMmsdCmx3cdiWHi2dVZZ3wjxTC4dwWcilp/8gAbpbOVH9z280cWvylHoU\nX4EyV1NuuXOMs6uvibsdIYyqfrqGdhhJJ38pT0OFzLWs0LaN0hM+WLEXe+Ng\ndOnHB6C7557ES4BHjqgw5nvAGA0RYFiXN/5DFQLMDi+JRcZa4Ni5MLMWN/0s\ntWuTwnXBM0/vAJYtJHkEpmrT7CanYR9Xm+I2lLyy8ygeh1DgK19msml9gch+\nPvyi\r\n=YvwX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy9qSuyZVTzVt9LmykgxydJWgQDsT7B5EZNNoK8hE2XwIgO661tUf6boN28M6P59IRcwR3/Tnj1egVdlI5Tx7s5VI="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.0.1-rc5_1529198981750_0.20758395385115236"},"_hasShrinkwrap":false},"0.1.0":{"name":"pdf-lib","version":"0.1.0","description":"Library for creating and modifying PDF files in JavaScript","main":"index.js","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","build":"gulp build","docs":"gulp docs","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/lodash":"^4.14.106","@types/node":"^9.6.0","@types/pako":"^1.0.0","babel-plugin-module-resolver":"^3.1.1","babel-preset-env":"^1.6.1","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-filter":"^5.1.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"_id":"pdf-lib@0.1.0","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-kJtGlL0oQ3BASr7S/yd26chwBhUXDg+G5a3AEWD77H4LSaroqOZ+qckmpew4RGNgIbH3lOxG9IstC7izfqH5dQ==","shasum":"234ec283c3f67853c5669f24ec018ec56a1dc5e8","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.1.0.tgz","fileCount":212,"unpackedSize":649560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJbwxCRA9TVsSAnZWagAADz0P/Rv+/A+iGN3bxzKVe1fP\n6XAwrH8hTs9sM9Fr7yN5Tl8adX8RX6Y0lgJVjNmG1CnHjVmQauptJQVZbMu5\nGN9yJY35XQVD331WH/T7qiqpFspSOPnYhZAjdE3YQRg4cftXBrl5S58afcuV\nj91pzlZ+YUB3zq/xnWC0vQwjpq4HihCxF0F/o1PvMGyKFo0/m8yldzEQLdXt\n7/KKAaifsJpbDjZiRHDsfgFfuJYRicZ6jakg5058K4rp2RtPUSmsz8SrTEF8\nhwE6zH9ulVkCjjvsrLijNPbyJOR5L070VN0j4+MSTPllpmuOGRJW1gclMWS6\nJ38ePzLNDkWtjBbIYmY01hqaEDnuopNbGbzZq5CCutocyPxB/O1g9Xht367N\nt2T5XPffN+3e6Ek1huENo7+79v4ST/vm+Xu23J4b6MY5L/6mNTFOXUfWfHnp\nekciSfk/OZiUtmLoGGB3H2+0FGQkz84D5ChLi9YxZxoSJK1tWMTdg2DJop13\nj3Min5Ge4LvoG4EkYunxk7bgt0iu9dceaVTPtZIOdNRki+bEpWcHzhv8xqIl\n4BprI6yFYS5xStxe8K03HoNbmtDcC+zO9+BZW7Da7r8ta1TPPaw4MtDFnvp5\ncPGOhtbMeK+JTMRPE6LJ7MWimpAmNmO/1bll1JErw0vl555eEqgNJzOj31I4\n/45n\r\n=FnEd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL0AP6jahmeeUJ4es6zFV6YQMNca6nYJxm3EaeFg978AIgBE7UqZL/No5b/rtIzRVNSwoty1CbpqWNrLkng+wlJvU="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.1.0_1529199665114_0.38306627422627226"},"_hasShrinkwrap":false},"0.1.1-rc":{"name":"pdf-lib","version":"0.1.1-rc","description":"Library for creating and modifying PDF files in JavaScript","main":"lib/index.js","unpkg":"dist/pdf-lib.js","module":"es/index.js","types":"lib/index.d.ts","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","docs":"rm -rf docs && yarn typedoc --options typedoc.js src/","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node --module commonjs -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"@types/lodash":"^4.14.110","buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/node":"^9.6.0","@types/pako":"^1.0.0","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-replace":"^1.0.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","relative":"^3.0.2","rollup":"^0.60.7","rollup-plugin-analyzer":"^2.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-uglify":"^4.0.0","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"_id":"pdf-lib@0.1.1-rc","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-8Ghu0J7Lu9Zh3AXeTDWLlF6HhAzyMloh4iJQ0wFelFJUdOV3Y5o+qaT/lcUyjHACP9OGy4CTtBG8ogYjkWwLfg==","shasum":"55c9e3caa0754c7c95498b6566a8154d34168cb6","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.1.1-rc.tgz","fileCount":437,"unpackedSize":4024066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLsb2CRA9TVsSAnZWagAAmhcQAJe355OOxDu3tU+uQprf\nfKXfmoOQ7/DvnKzpOLv40bRWHm9eH7B6tYvxmC7/vd13SCbf3l5b2Dz5AU9F\nJ5qxzpwKSwZqTBr5JpByxrnA3wg6JdUzpgEIBTq0E8SEBIX2gTe2cjcBCiTo\nwZlMFc82iAkKoCBrS6i5nWOvXxogjkmcx06VUQcVuTXaXXCmOHA+kFnQ931z\nLt/jqLhfMsKfFEg4MfwzrJAprhk9ED61ctdCCzudDQVXCO06wQTD9EVvvQ93\nIg+jqDx9cJt8Jo0/R7oQOnw8/K7Kp3WIwKZGdNhaugMhu5mQDal3VHcVmfnw\nrONuPcu+CQGbOgAOMdYKYlmFl/mHfJ/1QZSxcZ9udt8J7xCL/4Y0Au9v6qve\nrrfIfdjoGLG23UUmCvfhzQn2tZGA7L7PPa0ligXWgrIaLlq5aZK2bVTWHL52\n7zeYSwlv9Q9SOx1/wEn4L/r9yoPimN77CSQuehdEF2lkwACDX4hjfIAFFEKX\nHQsbJYHr3MGLvM7cCUDSVPwagpmEptY7r6A1hNpdzUl/smFyKrCM2c9rg43z\ngwqetj0T6QgIC8/nFvvE1FjKgmFyCPMgwps11+qLng2GccgzrganIHUgTybx\n0h8tlHlJ7OLhdelhyUY0XOa5U1j9McQq3ZqqO/xQds2y6m6Ls8uSn5/byFD4\nJ5xX\r\n=+6WJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGYelA/xv12kTWWh/CprDmiwQ4WQ/oqP1FH9GYNkWlHAiBH09mMsUktbzqzdXSm7sMi64fPPdEkDpJnzhQB+ozs1g=="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.1.1-rc_1529792246535_0.20840316151180915"},"_hasShrinkwrap":false},"0.1.1-rc2":{"name":"pdf-lib","version":"0.1.1-rc2","description":"Library for creating and modifying PDF files in JavaScript","main":"lib/index.js","unpkg":"dist/pdf-lib.js","module":"es/index.js","types":"lib/index.d.ts","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","docs":"rm -rf docs && yarn typedoc --options typedoc.js src/","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node --module commonjs -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"@types/lodash":"^4.14.110","buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/node":"^9.6.0","@types/pako":"^1.0.0","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-replace":"^1.0.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","relative":"^3.0.2","rollup":"^0.60.7","rollup-plugin-analyzer":"^2.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-uglify":"^4.0.0","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"_id":"pdf-lib@0.1.1-rc2","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-2gvUtr+3nvGjR1dsxxBffNVmsu5f6g30ZeLHqBrR70/s0y2+HMBpGSqzBJt0/UyjVQ+BLGP0KZDOe0eBIgGzJA==","shasum":"36a3e05dcc1ed16988e35f43645b668cee8adc8e","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.1.1-rc2.tgz","fileCount":437,"unpackedSize":4023965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLuwjCRA9TVsSAnZWagAAt00P/jBNPQ04ZgXuI+R4QwUW\nPRqVszuEhZXDQNd3kKW+rQj1UggOy2oQKXpD98u3kYsBm1JKK1rPNSb1lxxr\nkFhhI4qqT4ieg56kk+3lhc5EYdA5p0A9vMrFsxtzhXBmHAcrW9Dd0yqRssS6\nF8ozR3fmzal6K647ePfOl/ZcX3kgXrJlpvmu3Z9ulM8SFbLMwjmLryqgAZqp\nwG8AolfK6578sikWkrCM1E5Y6zZAq458wMP/SNlrIH6xrugNBxfecr1l+J+2\nsbUMYJ38TApGcz9vizEG1LglcJ7NnhGckkkWuwi+E2Fc0cgEy5ELkOVWAS1P\nm1+T1tFzS6athkZq55RhvF6BWL6GoPFyEIrys7yW3Mpj42j6Cq32ILXxx8P0\npWyj44jIkz9ZnlbnYxIlyYZxA22Hr3OnGMhO+2Cb9TSCjQl5fq+hjZpaxRu+\n7rkB2dcKGOlfp6vE3JBx89uvdKqJDqifIoptI6agB3EyQjHFU/Pqr3qTU2/6\n4oP3yoJKOM5qBc7AdcPy4CEovJvQwCaWSU67n9rccn4LWT8fmxMhYJ57MqIr\n2sxeIVUsBzmLacfVWP3JPWB5I/kSkVu+V7FQL5PQIT4uPAP3AAna6OPWgwhD\n31u64FeU3NGNJXoxEzGTesVIHzrrZgwOF44l2QqpDcfJyDdcarOtiXS3H1Cd\n6dg0\r\n=htjD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFihKcmkoviCVyaRT6sQU1d+W+n/yIiQ4YGmdSH/6uoAiEA9g3DITpZxbj7v7kLtOijciwMjodVT9z7LLS57fw5G0Q="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.1.1-rc2_1529801763018_0.903155436360153"},"_hasShrinkwrap":false},"0.2.0":{"name":"pdf-lib","version":"0.2.0","description":"Library for creating and modifying PDF files in JavaScript","main":"lib/index.js","unpkg":"dist/pdf-lib.js","module":"es/index.js","types":"lib/index.d.ts","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","docs":"rm -rf docs && yarn typedoc --options typedoc.js src/","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node --module commonjs -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"@types/lodash":"^4.14.110","buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/node":"^9.6.0","@types/pako":"^1.0.0","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-replace":"^1.0.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","relative":"^3.0.2","rollup":"^0.60.7","rollup-plugin-analyzer":"^2.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-uglify":"^4.0.0","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"_id":"pdf-lib@0.2.0","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"hopding","email":"andrew.dillon.j@gmail.com"},"dist":{"integrity":"sha512-mHw/Dp7JsHMp9+bmhjolmgotiYUMyyVIOVbwa1oDDh/iafJ6m4cRtT6ZMDtgaVNb2OlTnbjPnVzpR5jMSZKRRQ==","shasum":"ffd4f246633d6a53c5204167bae7657d4c53884e","tarball":"https://registry.npmjs.org/pdf-lib/-/pdf-lib-0.2.0.tgz","fileCount":437,"unpackedSize":4024869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMBzPCRA9TVsSAnZWagAAf/QP/095GT2l5c8wFj30+Xok\nwV9a3hpb2cpghtOiLpQ0GqsDHV0h/XFaYGDVh0qzjzdxgFQ5NEZx7Z2RXJ8w\n7wBIKfCDon/lpiqP72Q0fE57ZA6UZ/I0qxQWnaPKEH7QmRorQkhYqVk3MzXQ\nwrMTNKPFpg67GkEsykbXOXuTRCdfk2a2/Z5saCCfD3VFATOPhFbBUUqxllG4\noIQCSWBD7utiQWmAx2vS0kKcjqBVPUWacPRB6izvHJfMYxOvW3LacqAGGIka\noe4gV7mQ2q0HKm4SiXi0yR+hMZ2inmANErPQ994mJ62RSSJoUd4pZ4cV/cpu\nSRHZdt8pJzJcmEhqBoM5oXHcjTqh22r2IafH4R2Z9hycfjKJQpAqaOFuI5ix\nsGhsVToCwoflGt3Ovwb6pTE5Nbk+2ceb+gA3XLHfWKhfBfsXtE4vip3DgKiE\n3SDGLXmLoqhhc1qFNsAYiirnc/aYFX+iFsYdXMwdaGn84PUW1O37QIncx4zN\no0rxXW2vKj55M3IRklj0BwYIZ+1RU0V6o7VFPFbYj5ETetaqbdT21hD8t5BK\nvHfpaJOY8+dDXG7E2CaRcqhwBkiy0kGR2OFUl0hHv0df6CE3pXJSs1sJCcFz\ntNVoBw7iktKQp3sYaaqfdJrA8hreBmKiZUFmw7ArFJgiB/Z2pYcqnrDG5RPD\nVR59\r\n=qWU4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHiD8ylT6evWtAmh0/x9nZtbL1rUA+MOYdm0OYW5RIDKAiEA54lqBKnNpIVeiokXzrUKWa0282XSi+ICrtmscNDG8ms="}]},"maintainers":[{"name":"hopding","email":"andrew.dillon.j@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdf-lib_0.2.0_1529879759669_0.9546403468203546"},"_hasShrinkwrap":false},"0.2.1-rc1":{"name":"pdf-lib","version":"0.2.1-rc1","description":"Library for creating and modifying PDF files in JavaScript","main":"lib/index.js","unpkg":"dist/pdf-lib.js","module":"es/index.js","types":"lib/index.d.ts","scripts":{"test":"jest --no-coverage --watch","test:ci":"jest --runInBand --no-coverage","test:coverage":"jest","jest:clear-cache":"rm -rf $TMPDIR/jest*","coverage-report":"open coverage/lcov-report/index.html","docs":"rm -rf docs && yarn typedoc --options typedoc.js src/","lint":"yarn prettier --config ./.prettierrc.json --loglevel error --write \"{src,integration-tests,__tests__}/**/*.ts\" && tslint --project ./tsconfig.json --fix","it:node":"ts-node --module commonjs -r tsconfig-paths/register __integration_tests__/runners/node/index.ts"},"repository":{"type":"git","url":"git+https://github.com/Hopding/pdf-lib.git"},"keywords":["pdf-lib","pdf","document","create","modify","creation","modification","edit","editing","typescript","javascript","library"],"author":{"name":"Andrew Dillon","email":"andrew.dillon.j@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Hopding/pdf-lib/issues"},"homepage":"https://github.com/Hopding/pdf-lib#readme","dependencies":{"@types/lodash":"^4.14.110","buffer":"^5.0.8","fontkit":"git+https://github.com/Hopding/fontkit.git#97eb4f461e849956a595b3e6c8366cd715f71c38","lodash":"^4.17.4","pako":"^1.0.6","png-js":"git+https://github.com/Hopding/png.js.git#9170c1451881487a625fff1cca6de4fd9949cd51","proxy-polyfill":"^0.3.0"},"devDependencies":{"@types/faker":"^4.1.2","@types/inquirer":"^0.0.41","@types/jest":"^22.2.2","@types/node":"^9.6.0","@types/pako":"^1.0.0","chalk":"^2.4.1","del":"^3.0.0","faker":"^4.1.0","gulp":"^3.9.1","gulp-replace":"^1.0.0","gulp-typescript":"^4.0.1","inquirer":"^6.0.0","jest":"^22.4.3","jest-junit":"^3.6.0","prettier":"^1.11.1","relative":"^3.0.2","rollup":"^0.60.7","rollup-plugin-analyzer":"^2.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-uglify":"^4.0.0","ts-jest":"^22.4.2","ts-node":"^6.0.5","tsconfig-paths":"^3.3.2","tslint":"^5.9.1","typedoc":"^0.11.1","typedoc-plugin-markdown":"^1.1.13","typescript":"^2.7.2"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"collectCoverage":true,"collectCoverageFrom":["/src/**/*.ts"],"coveragePathIgnorePatterns":["/node_modules/","/src/types/"],"moduleNameMapper":{"^core/(.*)":"/src/core/$1","^utils/(.*)":"/src/utils/$1","^utils":"/src/utils/index.ts"},"testResultsProcessor":"./node_modules/jest-junit","transform":{"^.+$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))$","testPathIgnorePatterns":["/integration-tests/","/node_modules/","/__tests__/tsconfig.json","(.*).spec.ts.snap","PDFOperatorSingletonTest.ts"],"moduleFileExtensions":["ts","js","json","node"]},"jest-junit":{"output":"./coverage/junit.xml"},"readme":"

pdf-lib

\n\n
\n Create and modify PDF documents in any JavaScript environment.\n
\n
\n Designed to work in any modern JavaScript runtime. Tested in Node, Browser, and React Native environments.\n
\n\n
\n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n\n\n## Table of Contents\n* [Motivation](#motivation)\n* [Features](#features)\n* [Usage Examples](#usage-examples)\n * [Document Creation](#document-creation)\n * [Document Modification](#document-modification)\n* [Installation](#installation)\n* [API Documentation](#api-documentation)\n* [Prior Art](#prior-art)\n* [License](#license)\n\n## Motivation\n`pdf-lib` was created to address the JavaScript ecosystem's lack of robust support for PDF manipulation (especially for PDF _modification_).\n\nTwo of `pdf-lib`'s design requirements since its inception are to:\n1. Support modification (editing) of existing documents.\n2. Work in all JavaScript environments - not just in Node or the browser.\n\nThere are other good open source JavaScript PDF libraries available. However, most of them can only _create_ documents, they cannot _modify_ existing ones (e.g. [`pdfkit`](https://github.com/devongovett/pdfkit), [`jspdf`](https://github.com/MrRio/jsPDF), [`pdfmake`](https://github.com/bpampuch/pdfmake)). [`hummus`](https://github.com/galkahana/HummusJS) is a NodeJS library capable of both creating and modifying PDF documents. However, `hummus` is a Node wrapper around a [C++ library](https://github.com/galkahana/PDF-Writer). This means that it cannot run in _all_ JavaScript environments. For example, you cannot use `hummus` in the Browser or in React Native.\n\n## Features\n* Create new PDFs\n* Modify existing PDFs\n* Add Pages\n* Insert Pages\n* Remove Pages\n* Draw Text\n* Draw Images\n* Draw Vector Graphics\n* Embed Fonts\n* Embed Images\n\n## Usage Examples\nMore detailed examples are available [here](https://github.com/Hopding/pdf-lib/tree/master/examples).\n\n### Document Creation\n```javascript\nimport { PDFDocumentFactory, PDFDocumentWriter, drawText } from 'pdf-lib';\n\nconst pdfDoc = PDFDocumentFactory.create();\nconst [timesRomanFont] = pdfDoc.embedStandardFont('Times-Roman');\n\nconst page = pdfDoc\n .createPage([350, 500])\n .addFontDictionary('Times-Roman', timesRomanFont);\n\nconst contentStream = pdfDoc.createContentStream(\n drawText('Creating PDFs in JavaScript is awesome!', {\n x: 50,\n y: 450,\n size: 15,\n font: 'Times-Roman',\n colorRgb: [0, 0.53, 0.71],\n }),\n);\n\npage.addContentStreams(pdfDoc.register(contentStream));\n\npdfDoc.addPage(page);\n\nconst pdfBytes = PDFDocumentWriter.saveToBytes(pdfDoc);\n```\n\n### Document Modification\n```javascript\nimport { PDFDocumentFactory, PDFDocumentWriter, drawText } from 'pdf-lib';\n\n// This should be a Uint8Array.\n// This data can be obtained in a number of different ways.\n// If your running in a Node environment, you could use fs.readFile().\n// In the browser, you could make a fetch() call and use res.arrayBuffer().\nconst existingPdfDocBytes = ...\n\nconst pdfDoc = PDFDocumentFactory.load(existingPdfDocBytes);\nconst [helveticaFont] = pdfDoc.embedStandardFont('Helvetica');\n\nconst pages = pdfDoc.getPages();\nconst page = pages[0];\n\npage.addFontDictionary('Helvetica', helveticaFont);\n\nconst contentStream = pdfDoc.createContentStream(\n drawText('This text was added to the PDF with JavaScript!', {\n x: 25,\n y: 25,\n size: 24,\n font: 'Helvetica',\n colorRgb: [0.95, 0.26, 0.21],\n }),\n);\n\npage.addContentStreams(pdfDoc.register(contentStream));\n\nconst pdfBytes = PDFDocumentWriter.saveToBytes(pdfDoc);\n```\n\n## Installation\n### NPM Module\nTo install the latest stable version:\n```bash\n# With npm\nnpm install --save pdf-lib\n\n# With yarn\nyarn add pdf-lib\n```\nThis assumes you're using [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/lang/en/) as your package manager.\n\n### UMD Module\nYou can also download `pdf-lib` as a UMD module from [unpkg](https://unpkg.com/#/). The UMD builds have been compiled to ES5, so they should work [in any modern browser](https://caniuse.com/#feat=es5). UMD builds are useful if you aren't using a package manager or module bundler. For example, you can use them directly in the `