{"_id":"@matrixai/typescript-demo-lib","_rev":"31-9426dc96d56c495d41fe9e2584465cf5","name":"@matrixai/typescript-demo-lib","dist-tags":{"prerelease":"2.0.0-alpha.0","latest":"2.1.0"},"versions":{"0.0.1":{"name":"@matrixai/typescript-demo-lib","version":"0.0.1","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@0.0.1","maintainers":[{"name":"robert.cronin","email":"robert.cronin@matrix.ai"},{"name":"aashwin","email":"aashwin.varshney@gmail.com"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"dist":{"shasum":"8fac1441df32a0b195969d2326895fad34242838","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-0.0.1.tgz","fileCount":13,"integrity":"sha512-bcpDWLnfqsEv527/YwQakn/DSggCXY3JAh+OiZhW9ZChqN+xSUocFJoLgtyDYL0OQqyT/DKQg04zJoLA+hh/jw==","signatures":[{"sig":"MEUCIQCrbi+hhCgivwJoSties4Y+DOwb1iSyZap0y3tbGtZhzQIgCTGVY3wd7L0WDQpE73V18kMjZ4Bt3prAtW7DPFqMII4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWgkQCRA9TVsSAnZWagAAa3cP/jugEuRbTnD8P1SaHUTc\ngPSkyZ94RM0PfmUSMobIfLOauYfxoW2yC6YiF0auT+TsEFgYIKDVINNOQSNy\nfvg0O6Yu7sR8bBNaEwLa7fItxPArxMX0qW4SXcww1dzOXfGgs2oh1jEFA4SV\nEOuOKkFQmRVkZsqCX3EuibLF7tODp4wCwdgCCIoLAZRI/QE7Epn6p96w36mw\nr2mJbaJvTiv3kygLtQ2Tejqt5+hbzojjg0NDOidzHGxsDi8TQ+8xUIonhIur\nNGKeeWqyzPQlnbupKPOcG+ImAxIdF+g9mPEMZGmrnwUk3ASnmjLXNq0CtW1C\nNbNKYJIu/VYVn60HOaur4CDEFRCiiDPepmdgmGNwC8bJDGAInk+n23CPUwyb\nAkttBNSsp9dAr8UVQSJoA205+YccJLPTIkGTpGIaF76hyr1AcW21O3Gjiw+3\nUYI7ND8c+yTI/cQ/CytaWOpXiulW2E4iBJYKNgr2oOfsC4UHlmdvJ+rZ7g3I\n1/TIvJb8242Yv2uvd/Ey19mVMporPpdaynWkVdkT0SGDJKMyR1OQ+Z9bahlv\nszuNmozPzimQci9uqhvz0Qp03VorI7OVlU82LEUwRN7/a2zxLjMDSUqv21jU\nr14kfpJ8dXQla5eQ842AKDIHDnxVmpgb2locV+wSIwOL3jBp70R+s0bx+wSS\nvAaM\r\n=TcPX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"282a86805ce586bb5e0d796b30a775b284c91e79","scripts":{"lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"tsc","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"6.13.4","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"12.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.0.0","eslint":"^7.0.0","ts-jest":"^25.0.0","ts-node":"^8.8.2","typedoc":"^0.17.8","prettier":"^2.0.5","typescript":"^3.8.3","@types/jest":"^25.0.0","@types/node":"^13.13.1","tsconfig-paths":"^3.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","@typescript-eslint/parser":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_0.0.1_1599736079919_0.44739616542871286","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@matrixai/typescript-demo-lib","version":"0.0.2","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@0.0.2","maintainers":[{"name":"robert.cronin","email":"robert.cronin@matrix.ai"},{"name":"aashwin","email":"aashwin.varshney@gmail.com"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"dist":{"shasum":"2ecc08559b299ca8ef606fe3efd198b8484cd17c","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-0.0.2.tgz","fileCount":13,"integrity":"sha512-K2VNvR9wa+AsFdzdj24gyo9EGRLBlD7kEISMTQH2mjtpg0zNVYmveUNXgURJUaJ71PqikZxPqgJq+9dckKss6g==","signatures":[{"sig":"MEUCIAe1i4T6WXbGG9nuaaZfrYGxDUBAPT/P+0U/avTNqZ9RAiEA31vSEKCbOtDM2HFbXvH1LOFurUBqzLTSPWWg8jfxNcU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWgsPCRA9TVsSAnZWagAA6KoQAJEQ6/w9OXElqsZJA2hM\nmcyVnv+h9wKMvEtMHzPmgLYOkjFMxGEmwn08q11mJv1RfGPQlcIXPyx1D2qP\nqQZcsWOdi49P1txN7cIteuX/j6Lgp4FiK852jrpxVZp3MeFOgu+3Kq2neCbz\nhG8dkoLCzFAOqf1OqL2pNgdTNErh7v7KbZnXfRR71ALBNNUw7ppn98eJfaTQ\nPS3fA6/OGN0c6qk6S9NhugPTH8os3g5JCFQmtYt6BoUGmTXs2QBytNeAuTQ7\nbA9KKKxPYHzK1v66uw0n+vd5auozzgIYhYjNA/REk0Y2EcS47+gbFvhsDB29\n/fCPrAN7rT+lWfwDAaGeYShjJfv2qKQxgJbTzF9RKBTqGyHxpBk1/7+EVB4f\n2NGVagah4BK/EYGyo0sT4ltGbFojVjMWR0OplZTRr6+i96oNJX4GTCOe1fw8\n+mVY4XMV5oPQslPfwLB3i41inLajRwjj50iul8G9PWvyj8OwB80cZBvPWfae\nwCVnX+udizdFH+l7BgZaauEYGotkanjnoNxyQLs1roi2cvzMYaZMFonRwN9J\nxtH1AxoDzziE2FeEAqSeu6aIjqYbJeA5HMWvQzJM2LGSFBIZT08GprJy+/IE\n/uNIrhYLbWw0lH5wDYHfEu0wNR1Q88zCcF/S8AXyQZx3cdx9JdK7pnJOP8g3\nHtBZ\r\n=q+EM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4ce17961e5b4e64c37bd236f9cc3fd05fb43c224","scripts":{"lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"tsc","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"6.13.4","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"12.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.0.0","eslint":"^7.0.0","ts-jest":"^25.0.0","ts-node":"^8.8.2","typedoc":"^0.17.8","prettier":"^2.0.5","typescript":"^3.8.3","@types/jest":"^25.0.0","@types/node":"^13.13.1","tsconfig-paths":"^3.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","@typescript-eslint/parser":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_0.0.2_1599736591006_0.5914475254621709","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@matrixai/typescript-demo-lib","version":"1.0.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.0.0","maintainers":[{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},{"name":"aashwin","email":"aashwin.varshney@gmail.com"},{"name":"robert.cronin","email":"robert.cronin@matrix.ai"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"dist":{"shasum":"06be56b6c555f6f6c5b581642183f57ebd80fefb","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.0.0.tgz","fileCount":13,"integrity":"sha512-gLFodfXuXEZEkhVCaO9GlYxCPDzXBr/bfApDoJtqYiMZf5X12HyZl7ojUJ3uP8sj03qm4DWZ84XRKMXk3W3IkQ==","signatures":[{"sig":"MEUCIEvMlbvLNxYnpLfM1+rR5dtBI1ilGgs/0ClD02/VWHrVAiEAlGAhsz163GhCsIdB5ccAgkViImCK47udHKf7VtYQOw4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCSX1CRA9TVsSAnZWagAA1iwQAKLvI25ms1+oMlXBP9Cn\n06Iw1JzIRmXyEOn+WYA8ECvSp1Yt4B6dS9bdNDeTdbfZMvfUm9mewlE1b45Z\n+fJJKqu6FuXR7w2MoWQs7AUfey7Gx6DDy2Ca2pJy/D3CNUDPpr0ypJ4bOQmh\ncdD8V7XG4PcnLjrPSNk51SThOMpz/M5+zyE2ZdtEdlSXE7EZ96Xfj9N0JFY9\nIbmQrtjIUu9Z/ENkfSzdVA2xofpRTv1b2Sf2mzBT0CKZccguorihwKBQI8Va\nONZX1+Dl0LIEfuZwZ8f4Ef0qqbKynJQQkLP2QZPfIATICpBnrITMkOSwVCMU\nreMCYB1f+PbEhqpFcQcHLkLpCBQ0thxqPE/i74Fj3jXJFS3SwD+t4hcBdaC9\n93jPD3UuOiTuzoLTSyTgEXRE6VR5sd/UAb8sHrr1rFexhiPX2lIS+cHTWYzS\nk1RGOegT/2eaObk8N+kepKBsbDnVCDxh2qir7+8OqyMe0wEjb7OkDiHR6R2b\n1njPVYm6VCHoKHa7HFXzvr4s+zLF//rfrHlE+UHEHBegoVLVlPcbgSgKys0D\nXZuYXWyD5PdUdd5VT6Upm6sEcMtJzbRK/iYs2Ucl7RoianKkMGAnMd8uzsQw\n15UpHrawEpPxDurfnnUTaFFdenNMJo72n5mEajt5jK620lD++Yk3XJlssT7r\nd5LS\r\n=DuFV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c58837eadf15a41a656b9bfb552d42d03ecad0ea","scripts":{"lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"tsc","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"6.14.6","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"12.18.4","dependencies":{"uuid":"^8.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.17.0","ts-jest":"^26.4.4","ts-node":"^9.1.1","typedoc":"^0.20.16","prettier":"^2.2.1","typescript":"^4.1.3","@types/jest":"^26.0.20","@types/node":"^13.13.1","tsconfig-paths":"^3.9.0","eslint-config-prettier":"^7.1.0","eslint-plugin-prettier":"^3.3.1","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.0.0_1611212277491_0.634817218547524","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@matrixai/typescript-demo-lib","version":"1.1.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.1.0","maintainers":[{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},{"name":"scottmmorris","email":"scott.morris@matrix.ai"},{"name":"gideonrosalesmatrixai","email":"gideon.rosales@matrix.ai"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["node_modules/leveldown/**/*","node_modules/utp-native/**/*","dist/lib/workers/worker.js"]},"dist":{"shasum":"65bc0a29b1f6385cacb394a600f43ae98318cc18","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.1.0.tgz","fileCount":46,"integrity":"sha512-rlCf03JtZnAu7aZFexrw4vDgou9iimMBdBUOV3GVnNNwaF8kt8TQIWP3fdRkl6pUp7igUZ3/sYUanX2nwPtlng==","signatures":[{"sig":"MEQCIHwLVrE9+2Pb5qKdc0gt6XIpcbt6HdNNgPq//hmeZstRAiAe0X29t24zbxqRxyyPOnr+9RvxNLmbxmh+CngWmQ3MaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":343193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC7r/CRA9TVsSAnZWagAADWQP/A2Rzv4+O2R1j1M2aXSo\nRhPVaWPMiqUkF1QMYkPhX24qB+Th+0hNRZRfaP/k5U0kaClOY7tCtSZwx6dT\nxWDacR8ECeb3Kmg2WhMHfSgUkdTBtWQX6LIAnyUk7cqPJ4+U7SoC8oRhIGGr\nAj6DUQE2AiRTkbR9HMwpotN0Mz9bSxfvB7aMVuWwVAmzbT6HCmPULflKUiia\nqfRRrqUAxJGbj8h4Ug3YhrxpZhVTDsnxI94wQ6G+SgnvIzzMNXU/8GLxNGJG\nm5GvO95vZqlXGbnsQIWF4yQhKJQw4LMvbZZVwnK1i4DKkIPash2CUCR8Vzll\nGFuDlQnLpvwhaUbsGMg39wJdso+0JR0wJB5Vi9hb0Jl44UHlvTuDUUOwkJYH\n+DThIpOtxYZTMX+i5R5dsEwHfL8XBQ8EaPoXYJ5rqcEEEm7hzFwwbv9bg31A\nAR50LE2lT5oXTZzrQzJTQnHfPjKi7S0A7VOxE89F3taGDO1cFFSUbn1p8ggX\nRur1e3LpMPzfyrVsoAtP93XbyZ5WDkWyo2UGrJYW+flX53P9l3//iBwmP3gw\nbd4T5YhAhkp+F/Kd3knJrr5h+w4zw6L4VpGiLdeFNuo4CbaKk/F+TLqFw3sm\nc4GGWs1RcVpsU5Wdt2kPpL008ODc4CYaGXThu9OsZbfW8Vuq8IoB76Dj6Z+K\nRH3E\r\n=uhPx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d3a5cc201710ee9a714200380571ae50fa4c4d35","scripts":{"docs":"typedoc --out ./docs src && touch ./docs/.nojekyll","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"6.14.13","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"14.17.3","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.3.0","jest":"^26.6.3","eslint":"^7.17.0","ts-jest":"^26.4.4","ts-node":"^9.1.1","typedoc":"^0.20.16","prettier":"^2.2.1","typescript":"^4.1.3","@types/jest":"^26.0.20","@types/node":"^13.13.1","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-config-prettier":"^7.1.0","eslint-plugin-prettier":"^3.3.1","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.1.0_1628158719271_0.5869618332263877","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@matrixai/typescript-demo-lib","version":"1.1.1","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.1.1","maintainers":[{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},{"name":"scottmmorris","email":"scott.morris@matrix.ai"},{"name":"gideonrosalesmatrixai","email":"gideon.rosales@matrix.ai"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["node_modules/leveldown/**/*","node_modules/utp-native/**/*","dist/lib/workers/worker.js"]},"dist":{"shasum":"58df237b5901f0d7e5f354b2acea117a1b51cf38","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.1.1.tgz","fileCount":52,"integrity":"sha512-FoZfRLWRyAb7BDgkEi2h9a3wkYni1/Hey/OkU5QETi1IRSlWPgTJIaEuv6hpxJb6pZKvG6IcJwsrEDyl77GhLw==","signatures":[{"sig":"MEYCIQC8AxbnN3dvWXnYLBN7If3IFdAcfx8RS/MlxIG8sATN9QIhAOFHl8FAcaH+sWDC2n1R6nCWvJonCNMG2yaGFKOgc0dW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":397724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGjiKCRA9TVsSAnZWagAA5UkP/1w2W63K8K3xNZHzosmN\nQS5i4jM1rCOEz8XuOLcM+UXkYBc3tNVgJHMK5TgiANW7r8ObEt6ON9XkATIx\nlTosi4VB3vSaXNwK4KNyMbR8SyP6OggICxHVOprGfKeTkYAUd7S2YAmmF2b5\nUeDn9nXN6NdI8D/98QL8Fb54VwXPTBh3xhF7K847sw9qaDo5tNcCaRslclIk\nDqOIojh9hSrk00TR+o0U3/Kp+QQKkap4hjsAEqDTsOamXixed3TBGZFmcjz9\nMjYZQDO/r48wMrF0fERcMuzd/90+dWVaFMdmrFW13bXeA3iuKk863d2mN4Eb\nPMQew70rUEH/k3f7XxN9QYWDQqGJ84QgitlSpHJIs2iJz7+XVRzsmRsHfjdW\n+RqClfPKVhYiMmEiXN1wuC676kVCrpISlU52CkVjuHihhDEoOxaDfluv9LXP\nRCuqWxM52hDfS6fpR9a2hX12CGC0F0+BgOwJo5FnbViszkyXKNywrD+ti/Kf\nuK2k7N1X/dEWmILscBL6CiwSR+WwrY2/gOXpR8l7LAXASC1a55GKj7gAHU/I\nZ9uV/1hpmSZDb2LSaINfPoiZ1TMIG9uo6yALyKx0OYmRXHZecRf8qhNCG31J\nMYPFe88QIFjgqehK6I7Ydmsb9468bYSXl1cbxoODYxVEGpM/72Fcg4m2/cz3\n7i1i\r\n=oSYl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"844e083087d7b20cb61464754476285c79eeac3b","scripts":{"docs":"typedoc --out ./docs src && touch ./docs/.nojekyll","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"6.14.13","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"14.17.3","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.3.0","jest":"^26.6.3","eslint":"^7.17.0","ts-jest":"^26.4.4","ts-node":"^9.1.1","typedoc":"^0.21.5","prettier":"^2.2.1","typescript":"^4.1.3","@types/jest":"^26.0.20","@types/node":"^13.13.1","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-config-prettier":"^7.1.0","eslint-plugin-prettier":"^3.3.1","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.1.1_1629108362560_0.42190815245398294","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@matrixai/typescript-demo-lib","version":"1.1.2","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.1.2","maintainers":[{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},{"name":"scottmmorris","email":"scott.morris@matrix.ai"},{"name":"gideonrosalesmatrixai","email":"gideon.rosales@matrix.ai"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["node_modules/leveldown/**/*","node_modules/utp-native/**/*","dist/lib/workers/worker.js"]},"dist":{"shasum":"da3fcb71e4d55737bbd30088d1372f7430fcd02a","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.1.2.tgz","fileCount":52,"integrity":"sha512-HcSyBWwiY/vZ+kUjVJzL+YnGBZ8nrZeYc6nzcd4WX0wcorXk6RKbuNvQxP72BrBjaiw3ycgtVgJwPpQMGO91jw==","signatures":[{"sig":"MEYCIQCQfqwnR7cdOTmKH97CJg6CtKmY5sQVOO6wA1z+EZJEqQIhAO/Le4gX81BGWvSdjF0M+2PDurLAue13XcH2LKna18yZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":397893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGji2CRA9TVsSAnZWagAAF98P/0q3Zhm07ChAF+Iyj+C4\nYjpu4/Ex9iHE1gjyIqepWwaSp34PLtSPyb05acPNAHBCO0VCei2363i1205s\nUo+YGLyhZ00hG/dA7uJqwg6pGkPnvaZ+wxFHeO4ucYi+yiCadl9NpDIF4wce\nRKM0/O6EEXadcmCQogqzHAYimZYH6ySgkZToXmiLlmaDJAmMulb40CEVXyvC\nztGRDM3J//omiueA3IGGHrhdVsqrDz+bNrCQXaBRGOZA3e1BKjGTB6ERxlv5\nVEHYBMt5a5DcvI8COFI+kS3nLzVoNQ0CChGzEVEiv59yFovoLep1f3mqs4gw\n2+jaXflxL9sR5n3FdA70sXh0QenydlHjwgMUahZvUrVXIm0w80ltBdZl4+Aa\nPPczUPocFresBTtfXGfN4Kig7xxjRTKoYX/eiK2hlcz39aEgaMF+fnuvt21D\neAwJBG//CzRogDUC9CPT5Yyl71OODMnI+mVuqjks5pjJ0vt1WutO8N0X+Gin\nwl6f+AswyumwSvIdPdzeh8Q+diWQQ0RNE0R4n8W9mwxZqpG4TvKhSAVbDzz8\nUi5iniM6IN06SQSayGdpBDyL9B4/fCm3h7dD7nBsY6dXAkSfslllraoICHQv\nqTHJSyL/9jfHmpKugeOjFYM4ebMM00ZnYOgOIjyRBdNmgqzIBaREZrXtWOto\n2ldK\r\n=6WkM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49edb802eafef488e4d7fe2997b3067526a10d11","scripts":{"docs":"typedoc --out ./docs src && touch ./docs/.nojekyll","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"6.14.13","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"14.17.3","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.3.0","jest":"^26.6.3","eslint":"^7.17.0","ts-jest":"^26.4.4","ts-node":"^9.1.1","typedoc":"^0.21.5","prettier":"^2.2.1","typescript":"^4.1.3","@types/jest":"^26.0.20","@types/node":"^13.13.1","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-config-prettier":"^7.1.0","eslint-plugin-prettier":"^3.3.1","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.1.2_1629108406291_0.362246884541336","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@matrixai/typescript-demo-lib","version":"1.2.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.2.0","maintainers":[{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},{"name":"scottmmorris","email":"scott.morris@matrix.ai"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["node_modules/leveldown/**/*","node_modules/utp-native/**/*","node_modules/fd-lock/**/*"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"e64d6f54d5599e741f588e24eceeb192d4d1d5c8","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.2.0.tgz","fileCount":35,"integrity":"sha512-AJvbPg/y0E0bj74BuVqci7WqBZHf2XMaG3zyeuqbEI+d07mN2piRkG8XETljGmi9xEaxAmryfAoJvtqgc+3Pdg==","signatures":[{"sig":"MEYCIQDRXehVWU4pkHTQwBLknfISIdygWX5ks6CdeuvF1XJNYAIhAOWG3zg+3Uxfk3OiVQvsN399T3g6Hbu2aa1bKFKH+Tpv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmfgxCRA9TVsSAnZWagAAnEUP+wR6YYAbsoEzvefhk+QC\n5QcnSNK0+kwObc97oKE1LexeljtbIYdWJ9F1uWFbdgwoT/MJIrq+KCLvlmJq\nR2PaCPFTBqgBfvE9s9lX/XrF1NtjO3mRVpRK530iiKMx422sZzmPGVKj00Ox\nz2WLoG6X0ZyvxwbJ1JrsCiFJR56vcXN6TtBuO7V2dE5wuEp+ebEMLsRLQoEd\n1CJtrWHqVma2tOV+8fxRBqYZ4eZUta6Tj4g4zHnJhL1pVYT7Df1oIEZ9oJnP\nwOKHD4xch6WhaCZbwjsou5sSve4FctRPoFqkmsn5uiEanizsZiuXBfDvG936\n+heqxZ93egC8YJK+04lHVY7KhkfMxYZZwltogV+VEsTR25VmFi5QgN1XnCOH\ncYqMEg9FfBsuzuPqUKtz+HWAMkq8vwceGnp0aHcfPRmt5op+/2lE9sOHqxHe\nBNqaHTTYdD9h7u/wVttQqb1XeytnMZyUUL7E4OlN8HqlivkCNh5jfLhKnTfl\nz+8iSBOSwGUed9moD+kKqqPw++Ss17/bQrhJaro5sSYej/90gygDNFIse9FQ\nM4buuDHuCkjUHmRQUhJyNqIZeJhCoAsqyCNVBNSShBJKf715p9I2uhRJ/ueL\n9EG6SpjhLtVBbxGKutU1otsm0+U2Y3xC5skFl3tqv6gEksGeG/jdc6GkyEC0\nf3Cl\r\n=WL3K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3f80ef3060cb23634ab5eedce824993beeccfd0c","scripts":{"docs":"rm -r ./docs || true; typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src && touch ./docs/.nojekyll","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rm -r ./dist || true; tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"6.14.13","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"14.17.3","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.3.0","jest":"^27.2.5","eslint":"^7.17.0","ts-jest":"^27.0.5","ts-node":"^9.1.1","typedoc":"^0.21.5","prettier":"^2.2.1","typescript":"^4.1.3","@types/jest":"^27.0.2","@types/node":"^14.14.35","node-gyp-build":"4.2.3","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.25.2","eslint-config-prettier":"^7.1.0","eslint-plugin-prettier":"^3.3.1","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.2.0_1637480497292_0.8475738749573976","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@matrixai/typescript-demo-lib","version":"1.3.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.3.0","maintainers":[{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"joshuakarp","email":"joshua.karp@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["node_modules/leveldown/**/*","node_modules/utp-native/**/*","node_modules/fd-lock/**/*","dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"7ea21db33526f86b619bbf7aa990f67cb8858087","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.3.0.tgz","fileCount":35,"integrity":"sha512-qHji27fcqjHAuM2wmfbpb470CHgZoJwIeg8z7uc7oHYAprIgbUZcybmlFPfjt4y3JwvoqS+0PPxHTvVJtdLefw==","signatures":[{"sig":"MEUCIA9kegKNsW7bpTl3WrOEYxAHm+fkBZsaZ2p/WW9Okhi0AiEAoALf15IZPa62O7XBQRyTRSKJEVBgKlVEacVYQC0Z0uk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZt50ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/OQ/+IEJPMWHm+tDKDC1rS5Sw7oVGttJ1nz25hXtx/klkYzCVQEFZ\r\nhE8QZk13nVml91YtpaFwOQz1BCE9MNwKeaTlkQlkSfWaNpl+JyJW/YL9OT2z\r\ncLO/4hyja4ZxuQIJPJewQr3pgEalpVRVc9CPW2XKlPy9fHeoYFixn8mp48aa\r\npz6zhsfP828zYmQRRn6JdgfxjakGQDWSB/aifig5I+79lG5n7pTfAzm2lUvU\r\nrmVk5kgY3Uvuru0fujdxlYA/aEcEOM1lJqihj3GB782oyOfAfouZrhvs6tsS\r\nV3V5AA9xdL1kV45IKGgDELAsiubHhwZplWmuGprXHdJfuo8jsjlzqrwpdMce\r\n2fvCCY+6hBT5he9yosAnphRVa5jfEOa48lOMGIcRJJoB10YJ7CCEqufKvur9\r\nJ/FC96+4QdJcAnqzmXGvs79D19oqGtXpuSTekV4GEMFlUGucGcxN3wYdUij8\r\nA15ful73oKXriVMVOfixp8F3CzLOyMFS7Q2PyLU7eXi/ygT1VisLj2XsWibp\r\nwZk5s6zggiualls/AinQbg9AbUEzMZLZX3BTxwsjDsOYwmPRX3j7yso/qPhD\r\nbRvmbtKSIDhgCWWRY96SEDsd01iz13JlPVHBa1OBhzIia1+kxGukQ5vE2yi6\r\nyQPQE6x9KM4q2usT9RYnpbfU53hSlrmeJ0I=\r\n=v0s1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"5929bbde369830f1ebb83017bc79fcfe277bff6c","scripts":{"docs":"rm -r ./docs || true; typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rm -r ./dist || true; tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^7.17.0","ts-jest":"^27.0.5","ts-node":"^9.1.1","typedoc":"^0.22.15","prettier":"^2.2.1","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","node-gyp-build":"4.4.0","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.25.2","eslint-config-prettier":"^7.1.0","eslint-plugin-prettier":"^3.3.1","@typescript-eslint/parser":"^5.0.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.3.0_1650908788312_0.23436756747862653","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@matrixai/typescript-demo-lib","version":"1.3.1","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.3.1","maintainers":[{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"joshuakarp","email":"joshua.karp@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["node_modules/leveldown/**/*","node_modules/utp-native/**/*","node_modules/fd-lock/**/*","dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"942356729d20e4a52a4d1a0c2085a3c74f17e4b2","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.3.1.tgz","fileCount":35,"integrity":"sha512-/Q0HCHCqSf3hGTMg+VhBXVAJr2xX2sLAmYQXrIB6jnhGDYQwVE0WkRN/lifCHeAUyyukwwgAsh64wUs4+qMa6w==","signatures":[{"sig":"MEYCIQCLKN5HCPjb+TDhUvXTLvEfnKtTEjSImrvFCMVXfkjoowIhAMQvU/b6yD9L15Q7Redezlx2F+rW3s2onEJfDCfjmYOB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiahYeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXTw/7BUZ9rVLm4kKjXANzsWyBb0CCZ3bO5DM2xiu8G/DzAI0DXYLS\r\nmQEi506vSXk2oSiX+3UgJNgHp0YfYkbdgvdaPpU+s1m6IKlquA5pKtQmQyKX\r\nD4JMrBqq+culpSwCjCk5+nMalm6b0zGWIDIJWoPQAx881mHj46XqJOGrLP1g\r\n2Nem1reji7MFsbzJkp5AsDnDadvyCnTDMOC5Mf8fQa0851xfaVD6NnstXXEP\r\nwpWET+/87dAu3u+HgubdS/6G3/OuPnzph5JgVKp750dUjkGg4YPqFppHO9A/\r\nr7Ltk/gc7JzTUTJRunv9bRqZE6CKl0N3F2LKxrXkqFuMwRUPFyP5Pg1KO0Yb\r\n/T5/h10Cm4Cjt+uBDNa6iv27NP1jpT5cVaPymdQrQKtSxOI/4Y8JZlDn3PFK\r\n2SzJxz74LGIgEtQZPsxVjsxD3m5/3WwcUptdzB4OZKqDqncx9oVnqfcyrJpO\r\nTFrIzp7PIT9p8WB5DEW6GiohrerUgK/OABwiu7Pi5Q+A1esMWtBq238i0JTj\r\nDcjB6XZYxdRWvFUg0im+/QgaopfGCZRI+qX5fCDK3A36hBRm27IUw0PGeMuV\r\nUjzD9oir3JGaKrFmJLCLVDUqWpjQsgNnOHuchK70q3OofPEfU3qOplxvopOp\r\nLFa+u5uRpivXUlWqlTHKEPTXild0oQFDPio=\r\n=D5bM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8f2b7af57c13c14574d1a997065e86e444aaf31f","scripts":{"docs":"rm -r ./docs || true; typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rm -r ./dist || true; tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^7.17.0","ts-jest":"^27.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","prettier":"^2.2.1","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","node-gyp-build":"4.4.0","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.25.3","eslint-config-prettier":"^7.1.0","eslint-plugin-prettier":"^3.3.1","@typescript-eslint/parser":"^5.4.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.3.1_1651119646184_0.6680298282294035","host":"s3://npm-registry-packages"}},"1.3.2-alpha.0":{"name":"@matrixai/typescript-demo-lib","version":"1.3.2-alpha.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.3.2-alpha.0","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"4e6d59e2ead8ff0dcfdf049dac411cb71bfc34ee","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.3.2-alpha.0.tgz","fileCount":41,"integrity":"sha512-57YUTCD49vPD6LurWEy/uHSfn60FN4Io2ehg5oEjvw6cxrOYK+fuBDPFS+MafBdgOM1SOQCTH9bj9vjS7lkUSw==","signatures":[{"sig":"MEQCICnokAliXfqxHLLrNbJHuoVSibCnR7BrnqfaL1HCPwp2AiB7bjIcPtYW/O1ejWz7jDM7sUaEoWHR/qFBGJ2i1sKNEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":293179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiba6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3Hw//ZshJD19jwktNQoxDpUEkBrE7yfapLSiG+HTlTcJr4tKdPuus\r\nZTMbe3Iyr+iE+M5wIojJrzoazMpZBNqxSsAnveLX0iI4PsDjuBjLzrw0Nqlh\r\nTuxF4PP3w6N+cxwvvN8VGnM8V3oRQB2crpQOkDu1q3tUUcx47cf+lxzgd/MR\r\n/kwWao3F3UI0HOcE82K+4d41zQiu+PmEPDxYFYG2HWud+7UQjDhAw/1LIHN+\r\n4UD+orHHtBSJ7klKWzhui9BE/Bai75FKWRThKtLa1nOFQeatmt0Qu5ZinYAr\r\nV4DPjQEqu1LWgl1VVb+EMbcVHblIIP03CN4uEa5LKiWScE9z17qesKYCimbh\r\n5qVuiswM5088MTrJjdW1LkZoRrYPHQmZY+ayuEaD4GSfbc1/tK2y7ubniSHx\r\nfAD4k9uYWUkqkiwueu+bv4kTJeOmbXALTnqp2JEzCNZL51jakxGe/8BQ6qGR\r\nniukMEy5q3gbIp3ChEob2wHyCIErkwNTkQ/STUFQfVWwgIWwIhJpbLWMoBL/\r\nGXY2mQDbqFpTu+A1lurMQ8uL72aF2q3sMX1zpcuW/8a5p2mxT9lH7ZC6cwHp\r\n2gSm8mSz1dKMtkT+biORBYK2RexPLaFFfEKLNPbfUp0/xkfTwzKPTdOoLkzw\r\nxeqJf7aeasPy0SUmSVSNgmgcfrfcnt99kgc=\r\n=1TU/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# TypeScript-Demo-Lib\n\n[![pipeline status](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/commits/master)\n\n## Installation\n\nNote that JavaScript libraries are not packaged in Nix. Only JavaScript applications are.\n\nBuilding the package:\n\n```sh\nnix-build -E '(import ./pkgs.nix {}).callPackage ./default.nix {}'\n```\n\nBuilding the releases:\n\n```sh\nnix-build ./release.nix --attr application\nnix-build ./release.nix --attr docker\n```\n\nInstall into Nix user profile:\n\n```sh\nnix-env -f ./release.nix --install --attr application\n```\n\nInstall into Docker:\n\n```sh\nloaded=\"$(docker load --input \"$(nix-build ./release.nix --attr docker)\")\"\nimage=\"$(cut -d' ' -f3 <<< \"$loaded\")\"\ndocker run -it \"$image\"\n```\n\n## Development\n\nRun `nix-shell`, and once you're inside, you can use:\n\n```sh\n# install (or reinstall packages from package.json)\nnpm install\n# build the dist\nnpm run build\n# run the repl (this allows you to import from ./src)\nnpm run ts-node\n# run the tests\nnpm run test\n# lint the source code\nnpm run lint\n# automatically fix the source\nnpm run lintfix\n```\n\n### Calling Executables\n\nWhen calling executables in development, use this style:\n\n```\nnpm run typescript-demo-lib -- p1 p2 p3\n```\n\nThe `--` is necessary to make `npm` understand that the parameters are for your own executable, and not parameters to `npm`.\n\n### Using the REPL\n\n```\n$ npm run ts-node\n> import fs from 'fs';\n> fs\n> import { Library } from '@';\n> Library\n> import Library as Library2 from './src/lib/Library';\n```\n\nYou can also create test files in `./src`, and run them with `npm run ts-node ./src/test.ts`.\n\nThis allows you to test individual pieces of typescript code, and it makes it easier when doing large scale architecting of TypeScript code.\n\n### Path Aliases\n\nDue to https://github.com/microsoft/TypeScript/issues/10866, you cannot use path aliases without a bundler like Webpack to further transform the generated JavaScript code in order to resolve the path aliases. Because this is a simple library demonstration, there's no need to use a bundler. In fact, for such libraries, it is far more efficient to not bundle the code.\n\nHowever, we have left the path alias configuration in `tsconfig.json`, `jest.config.js` and in the tests we are making use of the `@` alias.\n\n### Local Package Linking\n\nWhen developing on multiple NPM packages, it can be easier to use `npm link` so that changes are immediately reflected rather than repeatedly publishing packages. To do this, you need to use `npm link`. After linking a local directory, you need to provide `tsconfig.json` paths so TypeScript compiler can find the right files.\n\nFor example when linking `@matrixai/db` located in `../js-db`:\n\n```sh\nnpm link ../js-db\n```\n\nYou would need to add these paths to `tsconfig.json`:\n\n```\n  \"paths\": {\n    \"@\": [\"index\"],\n    \"@/*\": [\"*\"],\n    \"@matrixai/db\": [\"../node_modules/@matrixai/db/src\"],\n    \"@matrixai/db/*\": [\"../node_modules/@matrixai/db/src/*\"]\n  },\n```\n\n### Native Module Toolchain\n\nThere are some nuances when packaging with native modules.\nIncluded native modules are level witch include leveldown and utp-native.\n\nIf a module is not set to public then pkg defaults to including it as bytecode.\nTo avoid this breaking with the `--no-bytecode` flag we need to add `--public-packages \"*\"`\n\n#### leveldown\n\nTo get leveldown to work with pkg we need to include the prebuilds with the executable.\nafter building with pkg you need to copy from `node_modules/leveldown/prebuilds` -> `path_to_executable/prebuilds`\nYou only need to include the prebuilds for the arch you are targeting. e.g. for linux-x64 you need `prebuild/linux-x64`.\n\nThe folder structure for the executable should look like this.\n- linux_executable_elf\n- prebuilds\n  - linux-x64\n    - (node files)\n\n#### utp-native\n\nIncluding utp-native is simpler, you just need to add it as an asset for pkg.\nAdd the following lines to the package.json.\n```json\n\"pkg\": {\n    \"assets\": \"node_modules/utp-native/**/*\"\n  }\n```\n\n#### threads.js\n\nTo make sure that the worker threads work properly you need to include the compiled worker scripts as an asset.\nThis can be fixed by adding the following to `package.json`\n\n```json\n\"pkg\": {\n    \"assets\": \"dist/bin/worker.js\"\n  }\n```\n\nIf you need to include multiple assets then add them as an array.\n\n```json\n\"pkg\": {\n    \"assets\": [\n      \"node_modules/utp-native/**/*\",\n      \"dist/bin/worker.js\"\n    ]\n  }\n```\n\n#### Integration into Nix\n\nNix build uses node2nix to create the dependencies of the node modules. this does a fairly good job of detecting dependencies but with native modules it may fail to detect CLI tools like `node-gyp-build`.\n\nTo ensure the proper dependencies exist while building we need to bring in these utilities during the build:\n\n```\nbuildInputs = attrs.buildInputs ++ [ nodePackages.node-gyp-build ];\n```\n\nThis has to be done to both `node2nixProd` and `node2nixDev`.\n\n### Docs Generation\n\n```sh\nnpm run docs\n```\n\nSee the docs at: https://matrixai.github.io/TypeScript-Demo-Lib/\n\n### Publishing\n\n```sh\n# npm login\nnpm version patch # major/minor/patch\nnpm run build\nnpm publish --access public\ngit push\ngit push --tags\n```\n","gitHead":"545bac8be213c8db290605e837265058832d8285","gypfile":true,"scripts":{"pkg":"./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","install":"node-gyp-build","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","prebuild":"prebuildify --napi --strip --target=16.14.2","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3","node-gyp-build":"4.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^27.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","node-gyp":"9.0.0","prettier":"^2.6.2","jest-junit":"^13.2.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","napi-macros":"^2.0.0","prebuildify":"^5.0.0","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.3.2-alpha.0_1653192378252_0.031215768148680656","host":"s3://npm-registry-packages"}},"1.3.2-beta.0":{"name":"@matrixai/typescript-demo-lib","version":"1.3.2-beta.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@1.3.2-beta.0","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"f429686538d1e83f5a169dad7867aecc28cdf661","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-1.3.2-beta.0.tgz","fileCount":41,"integrity":"sha512-uvH3wWNKoZHXpd1Dbwku8ThoDBpGdt96aW6ZmkzkKsBPOXhrFqtnh2ul9ljytlvvlTiR3x/XCAabvrni0SlFRw==","signatures":[{"sig":"MEUCICvVTwMajM9uOxmN8gDGEfyq/MIc992FpCEyeVhEHZzUAiEA1/o2KZ1x+F3Q//hTZekl2VMUAmFx5Y7TeZvdFogKupY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":293178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiboNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquGg/7BlU0WiV44ZJ/6OxN7C8XUNQEml0eZ4+a8ngRWJrvPrTfKah+\r\ncE/CfWHQt/C9r6+nCDKWrTG0+tYqUEhOayS+yZ2HwkhbJSBCYzXB8AAl3ez8\r\nJ/LTCVWdDptBh7XQMg4rvb7JwdXbaUfNMx4luFadcGB1U4avwhh3a6L5aInE\r\nQMpzGTRVfEyq08dGTru0iXwGrN0mgEFU0ZddOa+HXeupld6ix2QuwiOYO3Kv\r\nGUINNUWg63sKgxk1YnqyFRRaoafk3JE3PTDq1/tURVGMpMVoxEwF1wE95gs0\r\nuVXGPCGMMCYoP60tB7nYPWG2o3v53LqimJ4IyO32Rj0CZKZ0W1NxlD4UZYON\r\ncwgURlBLSrAq6cjNLZ1Mn05/7siA46Gjh21tdEKA1pwfgJnRItNcKsnr2SrH\r\nzyGD/GG3Q2uGb1BplE2Ceuqi5xhBmmSLd6knsl3kX+OJSnwCBaqDViTNPvPB\r\nKA2J5RVGwPCeemzPzfPWd3lhd3v3yJriMj+aunItnzKKnIBlnOn45aF+gQpG\r\nKcTDpqZCNJ+oFhPrS3fHOTHKFlz31M4T9DVygIAU7dfAHRMkiLyP5PcdCP9z\r\nOBwYFDIt46jGe+1/tK97JjEwaa4ZKpdhhw8BLveSqdhS7tjz3xRw0vMK8Rix\r\nxZsBHdRCSHyMoc/wXQaGpSbBcpKq75XkJQM=\r\n=ydjY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# TypeScript-Demo-Lib\n\n[![pipeline status](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/commits/master)\n\n## Installation\n\nNote that JavaScript libraries are not packaged in Nix. Only JavaScript applications are.\n\nBuilding the package:\n\n```sh\nnix-build -E '(import ./pkgs.nix {}).callPackage ./default.nix {}'\n```\n\nBuilding the releases:\n\n```sh\nnix-build ./release.nix --attr application\nnix-build ./release.nix --attr docker\n```\n\nInstall into Nix user profile:\n\n```sh\nnix-env -f ./release.nix --install --attr application\n```\n\nInstall into Docker:\n\n```sh\nloaded=\"$(docker load --input \"$(nix-build ./release.nix --attr docker)\")\"\nimage=\"$(cut -d' ' -f3 <<< \"$loaded\")\"\ndocker run -it \"$image\"\n```\n\n## Development\n\nRun `nix-shell`, and once you're inside, you can use:\n\n```sh\n# install (or reinstall packages from package.json)\nnpm install\n# build the dist\nnpm run build\n# run the repl (this allows you to import from ./src)\nnpm run ts-node\n# run the tests\nnpm run test\n# lint the source code\nnpm run lint\n# automatically fix the source\nnpm run lintfix\n```\n\n### Calling Executables\n\nWhen calling executables in development, use this style:\n\n```\nnpm run typescript-demo-lib -- p1 p2 p3\n```\n\nThe `--` is necessary to make `npm` understand that the parameters are for your own executable, and not parameters to `npm`.\n\n### Using the REPL\n\n```\n$ npm run ts-node\n> import fs from 'fs';\n> fs\n> import { Library } from '@';\n> Library\n> import Library as Library2 from './src/lib/Library';\n```\n\nYou can also create test files in `./src`, and run them with `npm run ts-node ./src/test.ts`.\n\nThis allows you to test individual pieces of typescript code, and it makes it easier when doing large scale architecting of TypeScript code.\n\n### Path Aliases\n\nDue to https://github.com/microsoft/TypeScript/issues/10866, you cannot use path aliases without a bundler like Webpack to further transform the generated JavaScript code in order to resolve the path aliases. Because this is a simple library demonstration, there's no need to use a bundler. In fact, for such libraries, it is far more efficient to not bundle the code.\n\nHowever, we have left the path alias configuration in `tsconfig.json`, `jest.config.js` and in the tests we are making use of the `@` alias.\n\n### Local Package Linking\n\nWhen developing on multiple NPM packages, it can be easier to use `npm link` so that changes are immediately reflected rather than repeatedly publishing packages. To do this, you need to use `npm link`. After linking a local directory, you need to provide `tsconfig.json` paths so TypeScript compiler can find the right files.\n\nFor example when linking `@matrixai/db` located in `../js-db`:\n\n```sh\nnpm link ../js-db\n```\n\nYou would need to add these paths to `tsconfig.json`:\n\n```\n  \"paths\": {\n    \"@\": [\"index\"],\n    \"@/*\": [\"*\"],\n    \"@matrixai/db\": [\"../node_modules/@matrixai/db/src\"],\n    \"@matrixai/db/*\": [\"../node_modules/@matrixai/db/src/*\"]\n  },\n```\n\n### Native Module Toolchain\n\nThere are some nuances when packaging with native modules.\nIncluded native modules are level witch include leveldown and utp-native.\n\nIf a module is not set to public then pkg defaults to including it as bytecode.\nTo avoid this breaking with the `--no-bytecode` flag we need to add `--public-packages \"*\"`\n\n#### leveldown\n\nTo get leveldown to work with pkg we need to include the prebuilds with the executable.\nafter building with pkg you need to copy from `node_modules/leveldown/prebuilds` -> `path_to_executable/prebuilds`\nYou only need to include the prebuilds for the arch you are targeting. e.g. for linux-x64 you need `prebuild/linux-x64`.\n\nThe folder structure for the executable should look like this.\n- linux_executable_elf\n- prebuilds\n  - linux-x64\n    - (node files)\n\n#### utp-native\n\nIncluding utp-native is simpler, you just need to add it as an asset for pkg.\nAdd the following lines to the package.json.\n```json\n\"pkg\": {\n    \"assets\": \"node_modules/utp-native/**/*\"\n  }\n```\n\n#### threads.js\n\nTo make sure that the worker threads work properly you need to include the compiled worker scripts as an asset.\nThis can be fixed by adding the following to `package.json`\n\n```json\n\"pkg\": {\n    \"assets\": \"dist/bin/worker.js\"\n  }\n```\n\nIf you need to include multiple assets then add them as an array.\n\n```json\n\"pkg\": {\n    \"assets\": [\n      \"node_modules/utp-native/**/*\",\n      \"dist/bin/worker.js\"\n    ]\n  }\n```\n\n#### Integration into Nix\n\nNix build uses node2nix to create the dependencies of the node modules. this does a fairly good job of detecting dependencies but with native modules it may fail to detect CLI tools like `node-gyp-build`.\n\nTo ensure the proper dependencies exist while building we need to bring in these utilities during the build:\n\n```\nbuildInputs = attrs.buildInputs ++ [ nodePackages.node-gyp-build ];\n```\n\nThis has to be done to both `node2nixProd` and `node2nixDev`.\n\n### Docs Generation\n\n```sh\nnpm run docs\n```\n\nSee the docs at: https://matrixai.github.io/TypeScript-Demo-Lib/\n\n### Publishing\n\n```sh\n# npm login\nnpm version patch # major/minor/patch\nnpm run build\nnpm publish --access public\ngit push\ngit push --tags\n```\n","gitHead":"71d9b0f15edf2f1ec4d41f4f49f14ef0680a1633","gypfile":true,"scripts":{"pkg":"./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","install":"node-gyp-build","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","prebuild":"prebuildify --napi --strip --target=16.14.2","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3","node-gyp-build":"4.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^27.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","node-gyp":"9.0.0","prettier":"^2.6.2","jest-junit":"^13.2.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","napi-macros":"^2.0.0","prebuildify":"^5.0.0","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_1.3.2-beta.0_1653193229354_0.21648673104981664","host":"s3://npm-registry-packages"}},"2.0.0-alpha.0":{"name":"@matrixai/typescript-demo-lib","version":"2.0.0-alpha.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@2.0.0-alpha.0","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"4e759212c90775f33d7d638b4c8717b453d07b9a","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-2.0.0-alpha.0.tgz","fileCount":34,"integrity":"sha512-h5pvLBnqq1LIkV1MzcFHfz8Ed9DRLVhMjaqANbRYbe5EnVoxZEpFrknRkPo+B6RmSa1Lg+iA81x6wuijVpkSXA==","signatures":[{"sig":"MEUCIQDOX/UlJb6meywVFArnVAD/z3r+IQzWbzC3NqFkELNFHgIgBkyZ2c9aWB0eQQinK+2TM/vsfRLj5SKKAyRiHJeqbSU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijLrGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaEQ//dpt7vpfrQC+eUFRKbJOhHyKkOTSzrjV6o5bcQlR7WaP0OzmG\r\nmQWiNdK42ro+yAHHE2/JX9VKKBmWqAaLsmVpLY4agJqBa0/469nC5DMerWAH\r\nufKRy5FTgL++TB3CuvXuEwnEuQJKVNmA4/HmMAPPmA00018NQv0DUSqTVFVg\r\nm7yyp5M3FOFIpQzG0qTrGnqk9Q/HMyOcML6zHl/1EfLYVUWUCqoDiC5SCN5/\r\n052DsKlSfyBaM5oisKHc6hOTuceGi/BZx5S86Kgl8EFbDExlGol84tW0WpWy\r\nk43pRUwk7BaC9yFLCtmEwm5aARKjVv2zk0jdQakmizD5nfh+gGKGmIkOCmji\r\n1CymBDxAXOcyxIndDntGnx9L8BIwIQUGJHe2+TZJW/yT2HCKk88QoZ9INX3M\r\neZoWDaaYqp/PIrUY8TYb3o7rAydeW45Teaxx+NI48WhwfyFO9HnWNND80B4S\r\n0P6MWMb8npC0HaBLq9GnhKtYG1eD34IZOhzk/OJwTcQ7CF7cvpNIzp/wNaSE\r\nIMTO59LfJHiVKN6L6fWpoPEZM8nopgcdq4ei5qiZimnA6S67KHAIaE5U/+9E\r\ny3FNhWp2PxDOD48h7rjPkM0w5vgfQP9D5FigN7hKUsYIz6kNoePR22OpkzZQ\r\nPmqHpfvhZNSruhfKzRKUWxDLgUa8C8dlEQA=\r\n=Si8D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# TypeScript-Demo-Lib\n\n[![pipeline status](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/commits/master)\n\n## Installation\n\nNote that JavaScript libraries are not packaged in Nix. Only JavaScript applications are.\n\nBuilding the package:\n\n```sh\nnix-build -E '(import ./pkgs.nix {}).callPackage ./default.nix {}'\n```\n\nBuilding the releases:\n\n```sh\nnix-build ./release.nix --attr application\nnix-build ./release.nix --attr docker\n```\n\nInstall into Nix user profile:\n\n```sh\nnix-env -f ./release.nix --install --attr application\n```\n\nInstall into Docker:\n\n```sh\nloaded=\"$(docker load --input \"$(nix-build ./release.nix --attr docker)\")\"\nimage=\"$(cut -d' ' -f3 <<< \"$loaded\")\"\ndocker run -it \"$image\"\n```\n\n## Development\n\nRun `nix-shell`, and once you're inside, you can use:\n\n```sh\n# install (or reinstall packages from package.json)\nnpm install\n# build the dist\nnpm run build\n# run the repl (this allows you to import from ./src)\nnpm run ts-node\n# run the tests\nnpm run test\n# lint the source code\nnpm run lint\n# automatically fix the source\nnpm run lintfix\n```\n\n### Calling Executables\n\nWhen calling executables in development, use this style:\n\n```\nnpm run typescript-demo-lib -- p1 p2 p3\n```\n\nThe `--` is necessary to make `npm` understand that the parameters are for your own executable, and not parameters to `npm`.\n\n### Using the REPL\n\n```\n$ npm run ts-node\n> import fs from 'fs';\n> fs\n> import { Library } from '@';\n> Library\n> import Library as Library2 from './src/lib/Library';\n```\n\nYou can also create test files in `./src`, and run them with `npm run ts-node ./src/test.ts`.\n\nThis allows you to test individual pieces of typescript code, and it makes it easier when doing large scale architecting of TypeScript code.\n\n### Path Aliases\n\nDue to https://github.com/microsoft/TypeScript/issues/10866, you cannot use path aliases without a bundler like Webpack to further transform the generated JavaScript code in order to resolve the path aliases. Because this is a simple library demonstration, there's no need to use a bundler. In fact, for such libraries, it is far more efficient to not bundle the code.\n\nHowever, we have left the path alias configuration in `tsconfig.json`, `jest.config.js` and in the tests we are making use of the `@` alias.\n\n### Local Package Linking\n\nWhen developing on multiple NPM packages, it can be easier to use `npm link` so that changes are immediately reflected rather than repeatedly publishing packages. To do this, you need to use `npm link`. After linking a local directory, you need to provide `tsconfig.json` paths so TypeScript compiler can find the right files.\n\nFor example when linking `@matrixai/db` located in `../js-db`:\n\n```sh\nnpm link ../js-db\n```\n\nYou would need to add these paths to `tsconfig.json`:\n\n```\n  \"paths\": {\n    \"@\": [\"index\"],\n    \"@/*\": [\"*\"],\n    \"@matrixai/db\": [\"../node_modules/@matrixai/db/src\"],\n    \"@matrixai/db/*\": [\"../node_modules/@matrixai/db/src/*\"]\n  },\n```\n\n### Native Module Toolchain\n\nThere are some nuances when packaging with native modules.\nIncluded native modules are level witch include leveldown and utp-native.\n\nIf a module is not set to public then pkg defaults to including it as bytecode.\nTo avoid this breaking with the `--no-bytecode` flag we need to add `--public-packages \"*\"`\n\n#### leveldown\n\nTo get leveldown to work with pkg we need to include the prebuilds with the executable.\nafter building with pkg you need to copy from `node_modules/leveldown/prebuilds` -> `path_to_executable/prebuilds`\nYou only need to include the prebuilds for the arch you are targeting. e.g. for linux-x64 you need `prebuild/linux-x64`.\n\nThe folder structure for the executable should look like this.\n- linux_executable_elf\n- prebuilds\n  - linux-x64\n    - (node files)\n\n#### utp-native\n\nIncluding utp-native is simpler, you just need to add it as an asset for pkg.\nAdd the following lines to the package.json.\n```json\n\"pkg\": {\n    \"assets\": \"node_modules/utp-native/**/*\"\n  }\n```\n\n#### threads.js\n\nTo make sure that the worker threads work properly you need to include the compiled worker scripts as an asset.\nThis can be fixed by adding the following to `package.json`\n\n```json\n\"pkg\": {\n    \"assets\": \"dist/bin/worker.js\"\n  }\n```\n\nIf you need to include multiple assets then add them as an array.\n\n```json\n\"pkg\": {\n    \"assets\": [\n      \"node_modules/utp-native/**/*\",\n      \"dist/bin/worker.js\"\n    ]\n  }\n```\n\n#### Integration into Nix\n\nNix build uses node2nix to create the dependencies of the node modules. this does a fairly good job of detecting dependencies but with native modules it may fail to detect CLI tools like `node-gyp-build`.\n\nTo ensure the proper dependencies exist while building we need to bring in these utilities during the build:\n\n```\nbuildInputs = attrs.buildInputs ++ [ nodePackages.node-gyp-build ];\n```\n\nThis has to be done to both `node2nixProd` and `node2nixDev`.\n\n### Docs Generation\n\n```sh\nnpm run docs\n```\n\nSee the docs at: https://matrixai.github.io/TypeScript-Demo-Lib/\n\n### Publishing\n\n```sh\n# npm login\nnpm version patch # major/minor/patch\nnpm run build\nnpm publish --access public\ngit push\ngit push --tags\n```\n","gitHead":"bc097d2e01eb14c35f77c379814a7ade11cc9218","scripts":{"pkg":"./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^27.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","prettier":"^2.6.2","jest-junit":"^13.2.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_2.0.0-alpha.0_1653390022791_0.2454259474503544","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@matrixai/typescript-demo-lib","version":"2.0.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@2.0.0","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"b2da41f27a6ce4fca898c499c14df12ee39c7039","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-2.0.0.tgz","fileCount":34,"integrity":"sha512-hvB+zY9D1pzqUokukSzJjgXrpq7iigWYwfAj2sVgMyQHXJ+u3UvV34HqlxEvpApBnjjiOe7G7vyHjpW5JJdYTw==","signatures":[{"sig":"MEUCIClIS1VFfysCntORtXyGw/5VwZLY5GDgEseVZclIAoaKAiEA/QiwbuVn71/AHMKaB7hmsX8Z7Qi5GmoTTJq6sfnR4w0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijM9qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZIg//W4Fij5IWxTWTej7J0S1UcKfWoSTZDTohCpZOZC0+rqxojHkf\r\nc4tJjtWZpJliVlMa946F26iV+QEeBwnPUgAGIsSAZuyxJw9+KknNDEeEDvcw\r\nODOkxGu8NxUB+W5LBi+9dFrn6W5OjOepxxoOzLFWqAP8dP0nqG8fJogzuP82\r\n8mYY3E/yzotomYZNPpLcpQTN5fGIyNJdxTucZ8Ij96yIslisc4m/CPhVEENu\r\nelBwi4FlMN0yZ6EEITHBha54SPp5VMqAiPxoHlqAQXDjG8DIHgQKz6tgfCKz\r\nKFSb+M467+aEuP28KRzGT2HQ1iF5CELTaHlSrC1vPXt8TSnrK/M+6WrwGWQo\r\n0Ka95jFeVGVXRiPOnuLWTlyWJvx3E0HoTT1cLrX90qo3bJ6POxcF/U2ZTvjg\r\nLyvDF2hWauUTQi7moIr0tutstXM4HQ2zSHo7TGnsNykUZHpp9jCbUE4OBEz5\r\nkMY+yVh5e9Le22VUVK8iY0znRDR5P+R4PHyK/Z//+7p7XMhfUzJ0NFSqn+fG\r\nDcXPRPdvSTtpolUw/X4deRiErRFNgaPAxasn+KcoX1qKls5zddrZm8lvUE3L\r\nDtt9zmSPDbxUVKgq53gbgQrG7TIX6dvR47n+g12JGHz6Kwfc3jWMyhcfW7PZ\r\nwu8vqDSpRMIt7VPkQouZps4dN15m9wV7UTk=\r\n=xPx+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b6f09262c785b8c16811f8292ff6f299207efd34","scripts":{"pkg":"./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^27.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","prettier":"^2.6.2","jest-junit":"^13.2.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_2.0.0_1653395306290_0.9755834452965275","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@matrixai/typescript-demo-lib","version":"2.0.1","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@2.0.1","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"770d76644a85f9b716805c4f11058d71ce4c4fd2","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-2.0.1.tgz","fileCount":34,"integrity":"sha512-6g0T2zIMxXYwJBA2bvHX2g2zrtQKjuSioT5UnijqvJTJ8paMBcysfSCBFwjPGVb3XbDbYNyd5bRCkXmjhRsviA==","signatures":[{"sig":"MEYCIQCdc0l/J9n7NR9pUlPDn+PdSudmno7s/2yUXdCFs+71zgIhAMPFXYnk48Iy4cXSfBdGWYj6QZR/QcFRkEhnv8DJhS1o","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijcUpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmprzg//caEKYPUx2/bqckjxhk4qB+HvCY+LRG+mHyywBT3T2J2tl31n\r\nldfSaHdOYm88PmLAs76dTIKvQv74bNn2ZMlj0zLweVSSoZWyQj7JAvSBABkn\r\nV7zfTSn7nSr4p+Q+Aj8hz38x1wGEPAzwihB9CVQVuj2toRDXwLtrbDVefKem\r\nKSKyzJQK0jfDj2xuTMYVEvVwfsgDEU69vafgjJTABPVkpx0ImwJ+kOZguqff\r\nV8jYdd66Qa3+88cgRyAz+T+qn3KWcaK7cAEsZAfvF7+BSi58hh115oWAuYpp\r\nA62FwF6ZkuD45ft+YGnjxZqak1Shdnw88NSYbR11MwTEa0hgWhwqBFSa6fbx\r\nndpWsGOnScEQJ0JqPVZqqz+l7EcmrYgqlUdgau0l3LCEBoOgwQAWip6oblRc\r\n64kum94dDMb58lAdRwRbjbK2V5ENgg/3QJ9aD1PJ6ZfxOHfCYk/ACQSti6sj\r\nIU/LGOiRH1amENA4BU2ovWkF4xBBvBjGZKY44uoDw8tjkc2oZbhEd+HF6TSV\r\nYVce2Yq6j4dxr2ZAho8SQ3rfrYlRc4hEqoqGSNLeCRpEKHjliFXzN7BhdmFJ\r\nbS4EM3kJN0Op4WK847V91p3g6OV21ivrMssyu9IRKQvUz6y4b/YlMfFnJvqI\r\njiauL2sL4Jnt5odft1Qbti+lCTryNWWFQUQ=\r\n=oiBv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c92d3ba55fd10a865d5dfaa353a968fe415210dd","scripts":{"pkg":"./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^27.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","prettier":"^2.6.2","jest-junit":"^13.2.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_2.0.1_1653458217279_0.5791824671853625","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@matrixai/typescript-demo-lib","version":"2.0.2","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@2.0.2","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"aad78dd0433bb3f28393ef0359dfb198904ca58a","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-2.0.2.tgz","fileCount":34,"integrity":"sha512-8S69ywEGW573DOt0K00UzGl4SFTo9YpJxuNU5rR1N9eH5E8sgqhZii8eOKRO3D0FSUPEXJr7kKeMlZEjDstReA==","signatures":[{"sig":"MEYCIQDjHiUTZtu3lgtzOHMBe+S+yIVaoQgtClLKYCg58e3P2gIhAJ/S90edjgf5NyXT5BClaodP6Cs7SxfYTIyN07y/bt/b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijufvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOOg/9FB/KgJ6jOpt+ZJVCxn0v9tA3DFes7gwSefGbcMtCmzozG2S9\r\nkLFXJGXve7gqY6ilD66KmvpiHXhsl+jOGz9s103SFtLkWwPejDwQvXIm7smm\r\nd7BHNUYpdztB4Bc47r3UxektPt+n68yHJaCbf5GKL9o3FEtn14dv4BEpxmHw\r\nCOKP/ae5/UDn/B2KpgCyPzV9USlHob8xvFZxdRFSCZs+44FCO6CL12TU4agq\r\ndlb+Fq85j8EFhPU5AYeFlq2lr4mjSieGE0zQlObMt577NcZNAcNK1Z6qrTYA\r\nKhtufSSm0BbQ4hvKLjTspcRBitk0uW6YupdDFCm9qPusljoumLYCff0k9VIB\r\n1ArKf5xOgfaCcus6CMAawYwWreyvOMM8cG3/VLOngNobS3tJT+aCdEjhhNn0\r\nbtevdWdUTHsaP6juqX9s1qRchXrH/7PtcNdCMGr9zfGHXdc3iEEyPfpSWOQn\r\nd0aASwXDIw251kD2yy8dWHrzlOUHzOndZrZZIhTyeEPS1cHtOir+GexxFhcn\r\nKXPKFUvTidHZCpHlHoezk+5yRdhYWLOOqLE0zpTq1cemBpNvWinPKI5vY6p+\r\nyroCODQDCeFKbJMduA9Rj0B8Ya8vvA/fRd+dvIm7LTqDE+v4QH3Kbi4sZUO5\r\nKfRv+hxtJCRvhorVDbB/tCH4B1UfcjSIfgg=\r\n=wujt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3f5963b92b1fefabcdc3eda8b04a591592d40227","scripts":{"pkg":"./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","postversion":"npm install --package-lock-only --ignore-scripts --silent","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.6.0","jest":"^27.2.5","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^27.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","prettier":"^2.6.2","jest-junit":"^13.2.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_2.0.2_1653532654904_0.6925425996455785","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@matrixai/typescript-demo-lib","version":"2.0.3","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@2.0.3","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"191947cec43ea088edbf4e37245e3d8b6bff4072","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-2.0.3.tgz","fileCount":34,"integrity":"sha512-uZDvnYfzxvMG9RKPcdUA3O1npfjIqWBB1XbVV3I0EKjio4pKqaD+zJkJzN1NGSXKs4ntBhG3G1A7g5Do0PnPvg==","signatures":[{"sig":"MEYCIQCRdoYQkvvHyGQDCQe3/aPhtCdu1WhfJbM8Zyq/SunTFQIhALeUU5DwrtrIktf9FTk7OcfA6DaeY1BWmmX5+JjHpDXX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35503,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiu+H+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWvw//UynXgYn2BejlYSAJYIfCEjF4ZqouB3YlYDD6UE0NjhXONcVS\r\nGbC2vMSwvl3wVHvZX9R6M7vamUazSPaw/a6hur1sNTDbmKEcGdgTBVZSXaq9\r\ndkk3WvpnOlJxmHDHOQwe9ChqhdkwpkWoNzigxbiRFSJG06f8wl8di/18bCWO\r\nBEcOdC2dXsckmX4ulObINM7qeMuWwoS7I/Ky4R/QbEtVeC/wDhQOdrSZ5aNd\r\nmMFsK/HUG/BICetuxC7QFTcKsyptdTAL+PEQgfdAn4Z9Q5GJSQbZS8tT4VTE\r\nTsRTQctC9bF6r+bc2+Ul5DfwMSTihwkPduCUZXvwqZGtZgZPwiHLLAii2oMx\r\nII3CFcIrOijdXxWqoisve0Vmoc9o2HXLcgIz+TadTejNWQdFqXyxmdj3d0lm\r\nCcWzqg82DABmsd1WB0b7o5YxATGh6O9uX8nrUbpcneV5JjZ7GzZsE7xHe7qL\r\nlU6aWnKziMBPcDuebZeUWytgT6nGuhrCMXjQsNsLW+PIjzreT3XUt+vYw55r\r\n+0jFYOrqTBNZ6nHBb9yESmnzwJvLPk3aKwvkmS4t+kk1t+eNf1na+fI+3G4z\r\nj4u+t9M4S89DLVZs0bpaCqzwmoq2vfy5Ra0+ugHIqx9ySAv1J3h7inBKMh+m\r\nyC0aJREiB2VzvyfMw9UALKOXYzMX+KH/KLQ=\r\n=OAup\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f450a32210a4d601b817f6717d10007b6bd6fce2","scripts":{"pkg":"./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","postversion":"npm install --package-lock-only --ignore-scripts --silent","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.0","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.14.2","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.6.0","jest":"^28.1.1","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^28.0.5","ts-node":"^10.4.0","typedoc":"^0.22.15","prettier":"^2.6.2","jest-junit":"^14.0.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_2.0.3_1656480253964_0.9587022497394313","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@matrixai/typescript-demo-lib","version":"2.1.0","author":{"name":"Roger Qiu"},"license":"Apache-2.0","_id":"@matrixai/typescript-demo-lib@2.1.0","maintainers":[{"name":"matrixai-bot","email":"enquiry@matrix.ai"},{"name":"emmacasolin","email":"emma.casolin@matrix.ai"},{"name":"brianbotha74","email":"brian.botha@matrix.ai"},{"name":"cmcdragonkai","email":"roger.qiu@polyhack.io"}],"homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"bin":{"typescript-demo-lib":"dist/bin/typescript-demo-lib.js"},"pkg":{"assets":["dist/**/*.json"],"scripts":["dist/lib/workers/worker.js"]},"dist":{"shasum":"c80d98a903717bc5c8258c0e2564db5a56d8f0c6","tarball":"https://registry.npmjs.org/@matrixai/typescript-demo-lib/-/typescript-demo-lib-2.1.0.tgz","fileCount":34,"integrity":"sha512-rabH+rjyEwW7xEpDG12gnsn91Itdl2OpiLDfngDdreafuUbi25wkp2F0gRrQs1Qh2mgs4sDWU5nxtDJiAM1gAQ==","signatures":[{"sig":"MEYCIQCuW1dQ4ZlQ1K9SttxyKI+LHnRar/eRIFwk4dDYMgnU8QIhAP1dh3FUDHDhIm4WLmKceNSVS6Dj73X1WNGvpkNlvAMO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0X9eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6eQ//cB3T2SafwS34qgYDAfEuNEWjtw/WvaqW8eicKCWDmukzGDld\r\nOZ9NUo9xMSFC9MPJ/nxCoCXdJWB8cqVTxYNE2eccDW0/HkPHkUlllukAwl/t\r\nVTYfY0cL99xpZk9Jt1Z7lztwdFUHNtLl4dDDl6xW5gKAbWx379yc7KjjFlRg\r\n+iJ9zyQZHdyZXQ7HIPbAg5tx33hPbWW96EIQtA9iB9jhYYPyhOyeT9z1tc5A\r\n3/0fKplOkBvV3m86Q7nfM2dWAhITY/K/+QUUSiscw/0sNa6Kdjoajv/ZbCeo\r\nJ8FrmlDoDqsUldFWGI+JhIM9FhmJH2XDKmO58K81fJFjJw4yWYMHM3yxklgC\r\nkeJaWcvgYzxp65AUslsA2hQcDJ2Udu5PwOrDk3jbl6lQyhfbKhokRiKdt9e5\r\nrrjn8BfNmC3ZS160rS+kLohrVlHW0qop4sVCXK0LemXHY4FOhlhFHk/1kw48\r\ny5AYd0bJIk7Ravqh6nV3WSjWXuYD0a5KaN7IdAxVikcN48o+2CwFxWkhsohN\r\nOtCkKGhCKwyS/y9eTU3a0W9SlhFa2ZD7Fohv9kNo8b8ODs8L3pYeNUEWni2c\r\nLZ7miqTaE7L4Df5Yf2iHvWCvaS7FuVjYMceai5gv4kNE4kfTTblL5nDnv8sX\r\n7XR9aXg8FZ4caPeyOb4r/6bl7JBlrvb4yCg=\r\n=d5lB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"76f9ba695524da04f7124b4748d9329bc67b904f","scripts":{"pkg":"node ./scripts/pkg.js --no-dict=leveldown.js","docs":"rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src","lint":"eslint '{src,tests,scripts}/**/*.{js,ts}'","test":"jest","build":"rimraf ./dist && tsc -p ./tsconfig.build.json","lintfix":"eslint '{src,tests,scripts}/**/*.{js,ts}' --fix","prepare":"tsc -p ./tsconfig.build.json","ts-node":"ts-node -r tsconfig-paths/register","lint-shell":"find ./src ./tests ./scripts -type f -regextype posix-extended -regex '.*\\.(sh)' -exec shellcheck {} +","postversion":"npm install --package-lock-only --ignore-scripts --silent","typescript-demo-lib":"ts-node -r tsconfig-paths/register --compiler typescript-cached-transpile --transpile-only src/bin/typescript-demo-lib.ts"},"_npmUser":{"name":"matrixai-bot","email":"enquiry@matrix.ai"},"repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"_npmVersion":"8.5.5","description":"TypeScript Demo Library Project","directories":{},"_nodeVersion":"16.15.0","dependencies":{"uuid":"^8.3.0","level":"^7.0.0","fd-lock":"^1.2.0","threads":"^1.6.5","utp-native":"^2.5.3"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"5.7.0","jest":"^28.1.1","eslint":"^8.15.0","rimraf":"^3.0.2","ts-jest":"^28.0.5","ts-node":"10.7.0","typedoc":"^0.22.15","prettier":"^2.6.2","jest-junit":"^14.0.0","typescript":"^4.5.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","tsconfig-paths":"^3.9.0","jest-mock-process":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.23.0","typescript-cached-transpile":"0.0.6","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-demo-lib_2.1.0_1657896798768_0.8469305435048113","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-09-10T11:07:59.754Z","modified":"2025-08-26T06:23:32.271Z","0.0.1":"2020-09-10T11:08:00.066Z","0.0.2":"2020-09-10T11:16:31.100Z","1.0.0":"2021-01-21T06:57:57.614Z","1.1.0":"2021-08-05T10:18:39.734Z","1.1.1":"2021-08-16T10:06:02.746Z","1.1.2":"2021-08-16T10:06:46.438Z","1.2.0":"2021-11-21T07:41:37.439Z","1.3.0":"2022-04-25T17:46:28.486Z","1.3.1":"2022-04-28T04:20:46.388Z","1.3.2-alpha.0":"2022-05-22T04:06:18.429Z","1.3.2-beta.0":"2022-05-22T04:20:29.496Z","2.0.0-alpha.0":"2022-05-24T11:00:22.939Z","2.0.0":"2022-05-24T12:28:26.455Z","2.0.1":"2022-05-25T05:56:57.448Z","2.0.2":"2022-05-26T02:37:35.273Z","2.0.3":"2022-06-29T05:24:14.101Z","2.1.0":"2022-07-15T14:53:18.969Z"},"bugs":{"url":"https://github.com/MatrixAI/TypeScript-Demo-Lib/issues"},"author":{"name":"Roger Qiu"},"license":"Apache-2.0","homepage":"https://github.com/MatrixAI/TypeScript-Demo-Lib#readme","repository":{"url":"git+https://github.com/MatrixAI/TypeScript-Demo-Lib.git","type":"git"},"description":"TypeScript Demo Library Project","maintainers":[{"email":"roger.qiu@polyhack.io","name":"cmcdragonkai"},{"email":"enquiry@matrix.ai","name":"matrixai-bot"}],"readme":"# TypeScript-Demo-Lib\n\nstaging:[![pipeline status](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/badges/staging/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/commits/staging)\nmaster:[![pipeline status](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/TypeScript-Demo-Lib/commits/master)\n\n## Installation\n\nNote that JavaScript libraries are not packaged in Nix. Only JavaScript applications are.\n\nBuilding the package:\n\n```sh\nnix-build -E '(import ./pkgs.nix {}).callPackage ./default.nix {}'\n```\n\nBuilding the releases:\n\n```sh\nnix-build ./release.nix --attr application\nnix-build ./release.nix --attr docker\nnix-build ./release.nix --attr package.linux.x64.elf\nnix-build ./release.nix --attr package.windows.x64.exe\nnix-build ./release.nix --attr package.macos.x64.macho\n```\n\nInstall into Nix user profile:\n\n```sh\nnix-env -f ./release.nix --install --attr application\n```\n\nInstall into Docker:\n\n```sh\nloaded=\"$(docker load --input \"$(nix-build ./release.nix --attr docker)\")\"\nimage=\"$(cut -d' ' -f3 <<< \"$loaded\")\"\ndocker run -it \"$image\"\n```\n\n## Development\n\nRun `nix-shell`, and once you're inside, you can use:\n\n```sh\n# install (or reinstall packages from package.json)\nnpm install\n# build the dist\nnpm run build\n# run the repl (this allows you to import from ./src)\nnpm run ts-node\n# run the tests\nnpm run test\n# lint the source code\nnpm run lint\n# automatically fix the source\nnpm run lintfix\n```\n\n### Calling Executables\n\nWhen calling executables in development, use this style:\n\n```\nnpm run typescript-demo-lib -- p1 p2 p3\n```\n\nThe `--` is necessary to make `npm` understand that the parameters are for your own executable, and not parameters to `npm`.\n\n### Using the REPL\n\n```\n$ npm run ts-node\n> import fs from 'fs';\n> fs\n> import { Library } from '@';\n> Library\n> import Library as Library2 from './src/lib/Library';\n```\n\nYou can also create test files in `./src`, and run them with `npm run ts-node ./src/test.ts`.\n\nThis allows you to test individual pieces of typescript code, and it makes it easier when doing large scale architecting of TypeScript code.\n\n### Path Aliases\n\nDue to https://github.com/microsoft/TypeScript/issues/10866, you cannot use path aliases without a bundler like Webpack to further transform the generated JavaScript code in order to resolve the path aliases. Because this is a simple library demonstration, there's no need to use a bundler. In fact, for such libraries, it is far more efficient to not bundle the code.\n\nHowever, we have left the path alias configuration in `tsconfig.json`, `jest.config.js` and in the tests we are making use of the `@` alias.\n\n### Local Package Linking\n\nWhen developing on multiple NPM packages, it can be easier to use `npm link` so that changes are immediately reflected rather than repeatedly publishing packages. To do this, you need to use `npm link`. After linking a local directory, you need to provide `tsconfig.json` paths so TypeScript compiler can find the right files.\n\nFor example when linking `@matrixai/db` located in `../js-db`:\n\n```sh\nnpm link ../js-db\n```\n\nYou would need to add these paths to `tsconfig.json`:\n\n```\n  \"paths\": {\n    \"@\": [\"index\"],\n    \"@/*\": [\"*\"],\n    \"@matrixai/db\": [\"../node_modules/@matrixai/db/src\"],\n    \"@matrixai/db/*\": [\"../node_modules/@matrixai/db/src/*\"]\n  },\n```\n\n### Native Module Toolchain\n\nThere are some nuances when packaging with native modules.\nIncluded native modules are level witch include leveldown and utp-native.\n\nIf a module is not set to public then pkg defaults to including it as bytecode.\nTo avoid this breaking with the `--no-bytecode` flag we need to add `--public-packages \"*\"`\n\n#### leveldown\n\nTo get leveldown to work with pkg we need to include the prebuilds with the executable.\nafter building with pkg you need to copy from `node_modules/leveldown/prebuilds` -> `path_to_executable/prebuilds`\nYou only need to include the prebuilds for the arch you are targeting. e.g. for linux-x64 you need `prebuild/linux-x64`.\n\nThe folder structure for the executable should look like this.\n- linux_executable_elf\n- prebuilds\n  - linux-x64\n    - (node files)\n\n#### utp-native\n\nIncluding utp-native is simpler, you just need to add it as an asset for pkg.\nAdd the following lines to the package.json.\n```json\n\"pkg\": {\n    \"assets\": \"node_modules/utp-native/**/*\"\n  }\n```\n\n#### threads.js\n\nTo make sure that the worker threads work properly you need to include the compiled worker scripts as an asset.\nThis can be fixed by adding the following to `package.json`\n\n```json\n\"pkg\": {\n    \"assets\": \"dist/bin/worker.js\"\n  }\n```\n\nIf you need to include multiple assets then add them as an array.\n\n```json\n\"pkg\": {\n    \"assets\": [\n      \"node_modules/utp-native/**/*\",\n      \"dist/bin/worker.js\"\n    ]\n  }\n```\n\n### Docs Generation\n\n```sh\nnpm run docs\n```\n\nSee the docs at: https://matrixai.github.io/TypeScript-Demo-Lib/\n\n### Publishing\n\nPublishing is handled automatically by the staging pipeline.\n\nPrerelease:\n\n```sh\n# npm login\nnpm version prepatch --preid alpha # premajor/preminor/prepatch\ngit push --follow-tags\n```\n\nRelease:\n\n```sh\n# npm login\nnpm version patch # major/minor/patch\ngit push --follow-tags\n```\n\nManually:\n\n```sh\n# npm login\nnpm version patch # major/minor/patch\nnpm run build\nnpm publish --access public\ngit push\ngit push --tags\n```\n","readmeFilename":"README.md"}