{"_id":"@burns-fm/l-plx","_rev":"6-696d5d3ce19af957d120ea616d9f1695","name":"@burns-fm/l-plx","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@burns-fm/l-plx","version":"1.0.0","description":"Player data encoding methods and values.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsup src/index.ts --dts","prepare":"husky install"},"keywords":["brc","burns"],"author":{"name":"Rob Fairley","email":"rob@burns.fm","url":"https://burns.fm"},"devDependencies":{"@types/jest":"^29.2.4","husky":"^8.0.2","jest":"^29.3.1","ts-jest":"^29.0.3","tsup":"^6.5.0","typescript":"^4.9.4"},"tsup":{"entry":"src/index.ts","splitting":false,"sourcemap":true,"clean":true},"directories":{"test":"tests"},"dependencies":{"anymatch":"^3.1.3","ansi-regex":"^5.0.1","ansi-escapes":"^4.3.2","ansi-styles":"^4.3.0","any-promise":"^1.3.0","babel-jest":"^29.3.1","babel-plugin-istanbul":"^6.1.1","argparse":"^1.0.10","babel-preset-current-node-syntax":"^1.0.1","brace-expansion":"^1.1.11","babel-plugin-jest-hoist":"^29.2.0","braces":"^3.0.2","babel-preset-jest":"^29.2.0","browserslist":"^4.21.4","array-union":"^2.1.0","bser":"^2.1.1","bs-logger":"^0.2.6","cac":"^6.7.14","balanced-match":"^1.0.2","buffer-from":"^1.1.2","callsites":"^3.1.0","chalk":"^4.1.2","caniuse-lite":"^1.0.30001441","camelcase":"^5.3.1","char-regex":"^1.0.2","ci-info":"^3.7.0","cjs-module-lexer":"^1.2.2","cliui":"^8.0.1","bundle-require":"^3.1.2","chokidar":"^3.5.3","co":"^4.6.0","commander":"^4.1.1","convert-source-map":"^2.0.0","color-convert":"^2.0.1","concat-map":"^0.0.1","dedent":"^0.7.0","binary-extensions":"^2.2.0","debug":"^4.3.4","collect-v8-coverage":"^1.0.1","deepmerge":"^4.2.2","diff-sequences":"^29.3.1","dir-glob":"^3.0.1","electron-to-chromium":"^1.4.284","detect-newline":"^3.1.0","error-ex":"^1.3.2","emoji-regex":"^8.0.0","esbuild":"^0.15.18","emittery":"^0.13.1","cross-spawn":"^7.0.3","escape-string-regexp":"^2.0.0","esprima":"^4.0.1","execa":"^5.1.1","escalade":"^3.1.1","exit":"^0.1.2","expect":"^29.3.1","fb-watchman":"^2.0.2","fast-json-stable-stringify":"^2.1.0","fill-range":"^7.0.1","find-up":"^4.1.0","fastq":"^1.14.0","fast-glob":"^3.2.12","esbuild-darwin-arm64":"^0.15.18","fs.realpath":"^1.0.0","color-name":"^1.1.4","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-package-type":"^0.1.0","glob":"^7.1.6","get-stream":"^6.0.1","globals":"^11.12.0","graceful-fs":"^4.2.10","has":"^1.0.3","fsevents":"^2.3.2","has-flag":"^4.0.0","import-local":"^3.1.0","globby":"^11.1.0","imurmurhash":"^0.1.4","function-bind":"^1.1.1","glob-parent":"^5.1.2","human-signals":"^2.1.0","inherits":"^2.0.4","ignore":"^5.2.1","html-escaper":"^2.0.2","is-core-module":"^2.11.0","is-extglob":"^2.1.1","is-fullwidth-code-point":"^3.0.0","is-number":"^7.0.0","is-generator-fn":"^2.1.0","is-glob":"^4.0.3","isexe":"^2.0.0","is-arrayish":"^0.2.1","istanbul-lib-instrument":"^5.2.1","istanbul-lib-coverage":"^3.2.0","istanbul-lib-report":"^3.0.0","jest-changed-files":"^29.2.0","istanbul-lib-source-maps":"^4.0.1","jest-circus":"^29.3.1","is-binary-path":"^2.1.0","istanbul-reports":"^3.1.5","jest-config":"^29.3.1","inflight":"^1.0.6","jest-diff":"^29.3.1","is-stream":"^2.0.1","jest-each":"^29.3.1","jest-leak-detector":"^29.3.1","jest-docblock":"^29.2.0","jest-environment-node":"^29.3.1","jest-cli":"^29.3.1","jest-haste-map":"^29.3.1","jest-mock":"^29.3.1","jest-get-type":"^29.2.0","jest-matcher-utils":"^29.3.1","jest-regex-util":"^29.2.0","jest-message-util":"^29.3.1","jest-runtime":"^29.3.1","jest-resolve-dependencies":"^29.3.1","jest-snapshot":"^29.3.1","jest-runner":"^29.3.1","jest-pnp-resolver":"^1.2.3","jest-resolve":"^29.3.1","jest-watcher":"^29.3.1","jest-validate":"^29.3.1","js-tokens":"^4.0.0","js-yaml":"^3.14.1","joycon":"^3.1.1","jest-util":"^29.3.1","kleur":"^3.0.3","leven":"^3.1.0","jsesc":"^2.5.2","lines-and-columns":"^1.2.4","jest-worker":"^29.3.1","locate-path":"^5.0.0","json5":"^2.2.2","lodash.memoize":"^4.1.2","lodash.sortby":"^4.7.0","load-tsconfig":"^0.2.3","json-parse-even-better-errors":"^2.3.1","merge-stream":"^2.0.0","makeerror":"^1.0.12","make-dir":"^3.1.0","mimic-fn":"^2.1.0","make-error":"^1.3.6","micromatch":"^4.0.5","lru-cache":"^5.1.1","ms":"^2.1.2","natural-compare":"^1.4.0","minimatch":"^3.1.2","node-releases":"^2.0.8","merge2":"^1.4.1","lilconfig":"^2.0.6","object-assign":"^4.1.1","mz":"^2.7.0","once":"^1.4.0","normalize-path":"^3.0.0","npm-run-path":"^4.0.1","node-int64":"^0.4.0","p-locate":"^4.1.0","p-limit":"^3.1.0","onetime":"^5.1.2","path-is-absolute":"^1.0.1","path-exists":"^4.0.0","parse-json":"^5.2.0","p-try":"^2.2.0","picomatch":"^2.3.1","path-type":"^4.0.0","picocolors":"^1.0.0","pirates":"^4.0.5","pkg-dir":"^4.2.0","pretty-format":"^29.3.1","prompts":"^2.4.2","postcss-load-config":"^3.1.4","punycode":"^2.1.1","path-key":"^3.1.1","path-parse":"^1.0.7","queue-microtask":"^1.2.3","readdirp":"^3.6.0","require-directory":"^2.1.1","resolve-from":"^5.0.0","reusify":"^1.0.4","resolve":"^1.22.1","resolve-cwd":"^3.0.0","run-parallel":"^1.2.0","resolve.exports":"^1.1.0","shebang-command":"^2.0.0","react-is":"^18.2.0","signal-exit":"^3.0.7","slash":"^3.0.0","semver":"^6.3.0","rollup":"^3.7.5","sisteransi":"^1.0.5","source-map-support":"^0.5.13","source-map":"^0.8.0-beta.0","shebang-regex":"^3.0.0","stack-utils":"^2.0.6","string-width":"^4.2.3","strip-ansi":"^6.0.1","string-length":"^4.0.2","strip-final-newline":"^2.0.0","strip-bom":"^4.0.0","strip-json-comments":"^3.1.1","supports-preserve-symlinks-flag":"^1.0.0","supports-color":"^7.2.0","sucrase":"^3.29.0","thenify-all":"^1.6.0","test-exclude":"^6.0.0","to-regex-range":"^5.0.1","sprintf-js":"^1.0.3","to-fast-properties":"^2.0.0","thenify":"^3.3.1","type-detect":"^4.0.8","tmpl":"^1.0.5","tree-kill":"^1.2.2","ts-interface-checker":"^0.1.13","update-browserslist-db":"^1.0.10","webidl-conversions":"^4.0.2","walker":"^1.0.8","v8-to-istanbul":"^9.0.1","tr46":"^1.0.1","wrap-ansi":"^7.0.0","which":"^2.0.2","type-fest":"^0.21.3","yargs":"^17.6.2","y18n":"^5.0.8","write-file-atomic":"^4.0.2","wrappy":"^1.0.2","yallist":"^3.1.1","yaml":"^1.10.2","whatwg-url":"^7.1.0","yocto-queue":"^0.1.0","yargs-parser":"^21.1.1"},"repository":{"type":"git","url":"git+https://github.com/burns-fm/l-plx.git"},"license":"MIT (Modified)","bugs":{"url":"https://github.com/burns-fm/l-plx/issues"},"homepage":"https://github.com/burns-fm/l-plx#readme","gitHead":"906c9a1a4c4463ab230f5cd0ad4f646707266e22","_id":"@burns-fm/l-plx@1.0.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-zUySSnZmU47XKmzbnVSHFCHlX63sgHdJQOYBGiv86OshTavlJINTGkr8dlRWLnMeed9/ZJWI8v1WjuPoHP71xg==","shasum":"0ae0797d79d07b50f2ef0a11073072af01e8a2dd","tarball":"https://registry.npmjs.org/@burns-fm/l-plx/-/l-plx-1.0.0.tgz","fileCount":18,"unpackedSize":101959,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/3pjzUD2STg33HJjl9F8x0856Ag4/DboR95NZoKdA9AIgPo6bH/sf/7GpgbGz2w2RTc9tYtnnt79fEeHZaIYLqd0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6cxSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/FQ/9GeUlifbtyAs5REVEbtYjiZ5Rv3Z9QsCJS65pbGUf1++hzgmu\r\nT1BCEJT7S7ZNDLCJG67BnlARaLtiv+SQvk+Es5arCslM0RbfJ166Ntm1j+XB\r\nYCoXFyot0/y+40Znz4wgwV2yUUZIMGQaBSMsc5pX/aIAMWJNCC3//0Zn4+2w\r\nyxM+uop0ACCxvh7yRS6j24PZzAhXbgAauPlUnmwvrT92Lg/BYGsnx7G5jEVX\r\n0fE1U6Wn6NSa0t0Vu0D5wiaNd+rR/q8rpehQmji8eBxUXV77MJUohKiWgS2c\r\nPHmgta+FYVCbnZPTcM2Un/NfuPH+2Qa/gAI+0SWJjquRh4hjtRznA3wWBJZc\r\nvK+jqM5tnsw5/l4KtAMUW8bDjVegL8YNW5Amjxma2/Ew4p0PWGvY9pVbdQ8E\r\nGZhTIVz785y+MXunmo/5OCVCSOP+IXmFwXmLSuGF3v1PspDmVMPbtAT1vrX3\r\nYK5FUJ8Ad/hEsyeJdIIoeSZwJRm8SoI1FhfLGaXOoXqzJ28gKUiXuSavu3sM\r\nZuA8pmNmFiw/pGXcyWyAjHS0HWwUacAC5yOllm2w8l15ihSG5ASJtMb7G250\r\naWGvA8rVJmVjOl5MSFZ6NnJMoFEK3/+n2O2NXNdNKWa6qNIOnNsC/aLRFWeO\r\ncn+cOWjl5EpV6ykg/23ZepBVvSdTFxb7RIc=\r\n=lq1M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"robertfairley","email":"rrafairley@gmail.com"},"maintainers":[{"name":"robertfairley","email":"rrafairley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/l-plx_1.0.0_1676266578625_0.49728721912045937"},"_hasShrinkwrap":false,"deprecated":"Broken publish"},"1.0.1":{"name":"@burns-fm/l-plx","version":"1.0.1","description":"Player data encoding methods and values.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsup src/index.ts --dts","prepare":"husky install"},"keywords":["brc","burns"],"author":{"name":"Rob Fairley","email":"rob@burns.fm","url":"https://burns.fm"},"devDependencies":{"@types/jest":"^29.2.4","husky":"^8.0.2","jest":"^29.3.1","ts-jest":"^29.0.3","tsup":"^6.5.0","typescript":"^4.9.4"},"tsup":{"entry":"src/index.ts","splitting":false,"sourcemap":true,"clean":true},"directories":{"test":"tests"},"dependencies":{"anymatch":"^3.1.3","ansi-regex":"^5.0.1","ansi-escapes":"^4.3.2","ansi-styles":"^4.3.0","any-promise":"^1.3.0","babel-jest":"^29.3.1","babel-plugin-istanbul":"^6.1.1","argparse":"^1.0.10","babel-preset-current-node-syntax":"^1.0.1","brace-expansion":"^1.1.11","babel-plugin-jest-hoist":"^29.2.0","braces":"^3.0.2","babel-preset-jest":"^29.2.0","browserslist":"^4.21.4","array-union":"^2.1.0","bser":"^2.1.1","bs-logger":"^0.2.6","cac":"^6.7.14","balanced-match":"^1.0.2","buffer-from":"^1.1.2","callsites":"^3.1.0","chalk":"^4.1.2","caniuse-lite":"^1.0.30001441","camelcase":"^5.3.1","char-regex":"^1.0.2","ci-info":"^3.7.0","cjs-module-lexer":"^1.2.2","cliui":"^8.0.1","bundle-require":"^3.1.2","chokidar":"^3.5.3","co":"^4.6.0","commander":"^4.1.1","convert-source-map":"^2.0.0","color-convert":"^2.0.1","concat-map":"^0.0.1","dedent":"^0.7.0","binary-extensions":"^2.2.0","debug":"^4.3.4","collect-v8-coverage":"^1.0.1","deepmerge":"^4.2.2","diff-sequences":"^29.3.1","dir-glob":"^3.0.1","electron-to-chromium":"^1.4.284","detect-newline":"^3.1.0","error-ex":"^1.3.2","emoji-regex":"^8.0.0","esbuild":"^0.15.18","emittery":"^0.13.1","cross-spawn":"^7.0.3","escape-string-regexp":"^2.0.0","esprima":"^4.0.1","execa":"^5.1.1","escalade":"^3.1.1","exit":"^0.1.2","expect":"^29.3.1","fb-watchman":"^2.0.2","fast-json-stable-stringify":"^2.1.0","fill-range":"^7.0.1","find-up":"^4.1.0","fastq":"^1.14.0","fast-glob":"^3.2.12","esbuild-darwin-arm64":"^0.15.18","fs.realpath":"^1.0.0","color-name":"^1.1.4","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-package-type":"^0.1.0","glob":"^7.1.6","get-stream":"^6.0.1","globals":"^11.12.0","graceful-fs":"^4.2.10","has":"^1.0.3","fsevents":"^2.3.2","has-flag":"^4.0.0","import-local":"^3.1.0","globby":"^11.1.0","imurmurhash":"^0.1.4","function-bind":"^1.1.1","glob-parent":"^5.1.2","human-signals":"^2.1.0","inherits":"^2.0.4","ignore":"^5.2.1","html-escaper":"^2.0.2","is-core-module":"^2.11.0","is-extglob":"^2.1.1","is-fullwidth-code-point":"^3.0.0","is-number":"^7.0.0","is-generator-fn":"^2.1.0","is-glob":"^4.0.3","isexe":"^2.0.0","is-arrayish":"^0.2.1","istanbul-lib-instrument":"^5.2.1","istanbul-lib-coverage":"^3.2.0","istanbul-lib-report":"^3.0.0","jest-changed-files":"^29.2.0","istanbul-lib-source-maps":"^4.0.1","jest-circus":"^29.3.1","is-binary-path":"^2.1.0","istanbul-reports":"^3.1.5","jest-config":"^29.3.1","inflight":"^1.0.6","jest-diff":"^29.3.1","is-stream":"^2.0.1","jest-each":"^29.3.1","jest-leak-detector":"^29.3.1","jest-docblock":"^29.2.0","jest-environment-node":"^29.3.1","jest-cli":"^29.3.1","jest-haste-map":"^29.3.1","jest-mock":"^29.3.1","jest-get-type":"^29.2.0","jest-matcher-utils":"^29.3.1","jest-regex-util":"^29.2.0","jest-message-util":"^29.3.1","jest-runtime":"^29.3.1","jest-resolve-dependencies":"^29.3.1","jest-snapshot":"^29.3.1","jest-runner":"^29.3.1","jest-pnp-resolver":"^1.2.3","jest-resolve":"^29.3.1","jest-watcher":"^29.3.1","jest-validate":"^29.3.1","js-tokens":"^4.0.0","js-yaml":"^3.14.1","joycon":"^3.1.1","jest-util":"^29.3.1","kleur":"^3.0.3","leven":"^3.1.0","jsesc":"^2.5.2","lines-and-columns":"^1.2.4","jest-worker":"^29.3.1","locate-path":"^5.0.0","json5":"^2.2.2","lodash.memoize":"^4.1.2","lodash.sortby":"^4.7.0","load-tsconfig":"^0.2.3","json-parse-even-better-errors":"^2.3.1","merge-stream":"^2.0.0","makeerror":"^1.0.12","make-dir":"^3.1.0","mimic-fn":"^2.1.0","make-error":"^1.3.6","micromatch":"^4.0.5","lru-cache":"^5.1.1","ms":"^2.1.2","natural-compare":"^1.4.0","minimatch":"^3.1.2","node-releases":"^2.0.8","merge2":"^1.4.1","lilconfig":"^2.0.6","object-assign":"^4.1.1","mz":"^2.7.0","once":"^1.4.0","normalize-path":"^3.0.0","npm-run-path":"^4.0.1","node-int64":"^0.4.0","p-locate":"^4.1.0","p-limit":"^3.1.0","onetime":"^5.1.2","path-is-absolute":"^1.0.1","path-exists":"^4.0.0","parse-json":"^5.2.0","p-try":"^2.2.0","picomatch":"^2.3.1","path-type":"^4.0.0","picocolors":"^1.0.0","pirates":"^4.0.5","pkg-dir":"^4.2.0","pretty-format":"^29.3.1","prompts":"^2.4.2","postcss-load-config":"^3.1.4","punycode":"^2.1.1","path-key":"^3.1.1","path-parse":"^1.0.7","queue-microtask":"^1.2.3","readdirp":"^3.6.0","require-directory":"^2.1.1","resolve-from":"^5.0.0","reusify":"^1.0.4","resolve":"^1.22.1","resolve-cwd":"^3.0.0","run-parallel":"^1.2.0","resolve.exports":"^1.1.0","shebang-command":"^2.0.0","react-is":"^18.2.0","signal-exit":"^3.0.7","slash":"^3.0.0","semver":"^6.3.0","rollup":"^3.7.5","sisteransi":"^1.0.5","source-map-support":"^0.5.13","source-map":"^0.8.0-beta.0","shebang-regex":"^3.0.0","stack-utils":"^2.0.6","string-width":"^4.2.3","strip-ansi":"^6.0.1","string-length":"^4.0.2","strip-final-newline":"^2.0.0","strip-bom":"^4.0.0","strip-json-comments":"^3.1.1","supports-preserve-symlinks-flag":"^1.0.0","supports-color":"^7.2.0","sucrase":"^3.29.0","thenify-all":"^1.6.0","test-exclude":"^6.0.0","to-regex-range":"^5.0.1","sprintf-js":"^1.0.3","to-fast-properties":"^2.0.0","thenify":"^3.3.1","type-detect":"^4.0.8","tmpl":"^1.0.5","tree-kill":"^1.2.2","ts-interface-checker":"^0.1.13","update-browserslist-db":"^1.0.10","webidl-conversions":"^4.0.2","walker":"^1.0.8","v8-to-istanbul":"^9.0.1","tr46":"^1.0.1","wrap-ansi":"^7.0.0","which":"^2.0.2","type-fest":"^0.21.3","yargs":"^17.6.2","y18n":"^5.0.8","write-file-atomic":"^4.0.2","wrappy":"^1.0.2","yallist":"^3.1.1","yaml":"^1.10.2","whatwg-url":"^7.1.0","yocto-queue":"^0.1.0","yargs-parser":"^21.1.1"},"repository":{"type":"git","url":"git+https://github.com/burns-fm/l-plx.git"},"license":"MIT (Modified)","bugs":{"url":"https://github.com/burns-fm/l-plx/issues"},"homepage":"https://github.com/burns-fm/l-plx#readme","gitHead":"6755b20def85cb8d289aaa9a4b3eb1676715e378","_id":"@burns-fm/l-plx@1.0.1","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-clJR+4TfJ+oFQCSMf8ihnVJ0ZZBajyhPF3/V7BPoJIzoPiQEhgjLl+3iMKOI1odLBWTf9IhH+Gf+7Td/z5Aswg==","shasum":"44ad3c4e119d45ced7f36303992d5f69ec9a639b","tarball":"https://registry.npmjs.org/@burns-fm/l-plx/-/l-plx-1.0.1.tgz","fileCount":15,"unpackedSize":81095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHAXuQPmZ0K+hrZcyEi3s6mQ8Dc5P1LQ06hrjyGniV5AiB5pDLPw2cDCoJ19TEkQdsD5gitK/vI1G8fhPj6Hfn0jg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6c0CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqfbw//eUEmu2s8+X2Xv9Y0k+9Ttt32FQzkAit1PZVlwOUP0PPPVvEB\r\nU8YF7W1/7WQ3Ri0HFRlwhh8ORwQpRLaIIzyA4yJoybThpcv+2ic2MEw8SPP4\r\n98k/dIJy9/1PXzTLjUoxOrmHF+0mHLQgDpviOLR/iNWhanzBOOpdcCnnlawD\r\nZeD3N1V3w+7bbYwlgimV0qgYqdgjZFWxmAXVkV++n0SzeUJ+irpy9nQJb0Us\r\nmi4gD+1WSctTkmURLw0M7r66wVWa9cczL/3E9Jf10i1LusTl/m616Y9HWUbJ\r\npXyBCaFEgBtQg3WnfeSnJfYVS2gzfsWpFxxHPXzI10ClLC2d6L0trEsP0xz3\r\n1zPMswOnyGiG1NbpagEvm8GHRScmTFklHwurVYQOZBze1HznpYbGa15dzXM2\r\nW+3NJbcdQpdAbhIFIhKSxnAvNBy88XuV3OSaH7V079K96RV+tFJP1KWCnuCD\r\nZKLavJzdb3CN+0qQkWGuk0cH2JwzrhbkTWqM2k0e9ziX77kaKVE0ZYva4LdR\r\n/CwyNdIULpjejjsksWsvzf//T91R3qt4eBYrP/NykpIq4gY5RoB7mY2APDEi\r\n5iz4Klq35QZJE/iUV/Db6zaxawhZZlmOsOkGk0WCXDgW2khhPfxTPdgxXO45\r\nDZ8AH/zK/2rixkry1WLSyxGOkpbcCX+16ns=\r\n=i28V\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"robertfairley","email":"rrafairley@gmail.com"},"maintainers":[{"name":"robertfairley","email":"rrafairley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/l-plx_1.0.1_1676266754559_0.9337396703501126"},"_hasShrinkwrap":false,"deprecated":"Broken publish"},"1.0.2":{"name":"@burns-fm/l-plx","version":"1.0.2","description":"Player data encoding methods and values.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsup src/index.ts --dts","prepare":"husky install","postinstall":"npm run build"},"keywords":["brc","burns"],"author":{"name":"Rob Fairley","email":"rob@burns.fm","url":"https://burns.fm"},"devDependencies":{"@types/jest":"^29.2.4","husky":"^8.0.2","jest":"^29.3.1","ts-jest":"^29.0.3","tsup":"^6.5.0","typescript":"^4.9.4"},"tsup":{"entry":"src/index.ts","splitting":false,"sourcemap":true,"clean":true},"directories":{"test":"tests"},"dependencies":{"anymatch":"^3.1.3","ansi-regex":"^5.0.1","ansi-escapes":"^4.3.2","ansi-styles":"^4.3.0","any-promise":"^1.3.0","babel-jest":"^29.3.1","babel-plugin-istanbul":"^6.1.1","argparse":"^1.0.10","babel-preset-current-node-syntax":"^1.0.1","brace-expansion":"^1.1.11","babel-plugin-jest-hoist":"^29.2.0","braces":"^3.0.2","babel-preset-jest":"^29.2.0","browserslist":"^4.21.4","array-union":"^2.1.0","bser":"^2.1.1","bs-logger":"^0.2.6","cac":"^6.7.14","balanced-match":"^1.0.2","buffer-from":"^1.1.2","callsites":"^3.1.0","chalk":"^4.1.2","caniuse-lite":"^1.0.30001441","camelcase":"^5.3.1","char-regex":"^1.0.2","ci-info":"^3.7.0","cjs-module-lexer":"^1.2.2","cliui":"^8.0.1","bundle-require":"^3.1.2","chokidar":"^3.5.3","co":"^4.6.0","commander":"^4.1.1","convert-source-map":"^2.0.0","color-convert":"^2.0.1","concat-map":"^0.0.1","dedent":"^0.7.0","binary-extensions":"^2.2.0","debug":"^4.3.4","collect-v8-coverage":"^1.0.1","deepmerge":"^4.2.2","diff-sequences":"^29.3.1","dir-glob":"^3.0.1","electron-to-chromium":"^1.4.284","detect-newline":"^3.1.0","error-ex":"^1.3.2","emoji-regex":"^8.0.0","esbuild":"^0.15.18","emittery":"^0.13.1","cross-spawn":"^7.0.3","escape-string-regexp":"^2.0.0","esprima":"^4.0.1","execa":"^5.1.1","escalade":"^3.1.1","exit":"^0.1.2","expect":"^29.3.1","fb-watchman":"^2.0.2","fast-json-stable-stringify":"^2.1.0","fill-range":"^7.0.1","find-up":"^4.1.0","fastq":"^1.14.0","fast-glob":"^3.2.12","esbuild-darwin-arm64":"^0.15.18","fs.realpath":"^1.0.0","color-name":"^1.1.4","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-package-type":"^0.1.0","glob":"^7.1.6","get-stream":"^6.0.1","globals":"^11.12.0","graceful-fs":"^4.2.10","has":"^1.0.3","fsevents":"^2.3.2","has-flag":"^4.0.0","import-local":"^3.1.0","globby":"^11.1.0","imurmurhash":"^0.1.4","function-bind":"^1.1.1","glob-parent":"^5.1.2","human-signals":"^2.1.0","inherits":"^2.0.4","ignore":"^5.2.1","html-escaper":"^2.0.2","is-core-module":"^2.11.0","is-extglob":"^2.1.1","is-fullwidth-code-point":"^3.0.0","is-number":"^7.0.0","is-generator-fn":"^2.1.0","is-glob":"^4.0.3","isexe":"^2.0.0","is-arrayish":"^0.2.1","istanbul-lib-instrument":"^5.2.1","istanbul-lib-coverage":"^3.2.0","istanbul-lib-report":"^3.0.0","jest-changed-files":"^29.2.0","istanbul-lib-source-maps":"^4.0.1","jest-circus":"^29.3.1","is-binary-path":"^2.1.0","istanbul-reports":"^3.1.5","jest-config":"^29.3.1","inflight":"^1.0.6","jest-diff":"^29.3.1","is-stream":"^2.0.1","jest-each":"^29.3.1","jest-leak-detector":"^29.3.1","jest-docblock":"^29.2.0","jest-environment-node":"^29.3.1","jest-cli":"^29.3.1","jest-haste-map":"^29.3.1","jest-mock":"^29.3.1","jest-get-type":"^29.2.0","jest-matcher-utils":"^29.3.1","jest-regex-util":"^29.2.0","jest-message-util":"^29.3.1","jest-runtime":"^29.3.1","jest-resolve-dependencies":"^29.3.1","jest-snapshot":"^29.3.1","jest-runner":"^29.3.1","jest-pnp-resolver":"^1.2.3","jest-resolve":"^29.3.1","jest-watcher":"^29.3.1","jest-validate":"^29.3.1","js-tokens":"^4.0.0","js-yaml":"^3.14.1","joycon":"^3.1.1","jest-util":"^29.3.1","kleur":"^3.0.3","leven":"^3.1.0","jsesc":"^2.5.2","lines-and-columns":"^1.2.4","jest-worker":"^29.3.1","locate-path":"^5.0.0","json5":"^2.2.2","lodash.memoize":"^4.1.2","lodash.sortby":"^4.7.0","load-tsconfig":"^0.2.3","json-parse-even-better-errors":"^2.3.1","merge-stream":"^2.0.0","makeerror":"^1.0.12","make-dir":"^3.1.0","mimic-fn":"^2.1.0","make-error":"^1.3.6","micromatch":"^4.0.5","lru-cache":"^5.1.1","ms":"^2.1.2","natural-compare":"^1.4.0","minimatch":"^3.1.2","node-releases":"^2.0.8","merge2":"^1.4.1","lilconfig":"^2.0.6","object-assign":"^4.1.1","mz":"^2.7.0","once":"^1.4.0","normalize-path":"^3.0.0","npm-run-path":"^4.0.1","node-int64":"^0.4.0","p-locate":"^4.1.0","p-limit":"^3.1.0","onetime":"^5.1.2","path-is-absolute":"^1.0.1","path-exists":"^4.0.0","parse-json":"^5.2.0","p-try":"^2.2.0","picomatch":"^2.3.1","path-type":"^4.0.0","picocolors":"^1.0.0","pirates":"^4.0.5","pkg-dir":"^4.2.0","pretty-format":"^29.3.1","prompts":"^2.4.2","postcss-load-config":"^3.1.4","punycode":"^2.1.1","path-key":"^3.1.1","path-parse":"^1.0.7","queue-microtask":"^1.2.3","readdirp":"^3.6.0","require-directory":"^2.1.1","resolve-from":"^5.0.0","reusify":"^1.0.4","resolve":"^1.22.1","resolve-cwd":"^3.0.0","run-parallel":"^1.2.0","resolve.exports":"^1.1.0","shebang-command":"^2.0.0","react-is":"^18.2.0","signal-exit":"^3.0.7","slash":"^3.0.0","semver":"^6.3.0","rollup":"^3.7.5","sisteransi":"^1.0.5","source-map-support":"^0.5.13","source-map":"^0.8.0-beta.0","shebang-regex":"^3.0.0","stack-utils":"^2.0.6","string-width":"^4.2.3","strip-ansi":"^6.0.1","string-length":"^4.0.2","strip-final-newline":"^2.0.0","strip-bom":"^4.0.0","strip-json-comments":"^3.1.1","supports-preserve-symlinks-flag":"^1.0.0","supports-color":"^7.2.0","sucrase":"^3.29.0","thenify-all":"^1.6.0","test-exclude":"^6.0.0","to-regex-range":"^5.0.1","sprintf-js":"^1.0.3","to-fast-properties":"^2.0.0","thenify":"^3.3.1","type-detect":"^4.0.8","tmpl":"^1.0.5","tree-kill":"^1.2.2","ts-interface-checker":"^0.1.13","update-browserslist-db":"^1.0.10","webidl-conversions":"^4.0.2","walker":"^1.0.8","v8-to-istanbul":"^9.0.1","tr46":"^1.0.1","wrap-ansi":"^7.0.0","which":"^2.0.2","type-fest":"^0.21.3","yargs":"^17.6.2","y18n":"^5.0.8","write-file-atomic":"^4.0.2","wrappy":"^1.0.2","yallist":"^3.1.1","yaml":"^1.10.2","whatwg-url":"^7.1.0","yocto-queue":"^0.1.0","yargs-parser":"^21.1.1"},"repository":{"type":"git","url":"git+https://github.com/burns-fm/l-plx.git"},"license":"MIT (Modified)","bugs":{"url":"https://github.com/burns-fm/l-plx/issues"},"homepage":"https://github.com/burns-fm/l-plx#readme","gitHead":"e6bea84e52a25a63b1206c010437f54e92362986","_id":"@burns-fm/l-plx@1.0.2","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-VGxVc03sa39ufB7t1PQLAFNlgbjEPNK4It/mJMb4fuatEArVbMPROrVgZubU8CzkxJmw3I1FCrWoVZT4TBnLTQ==","shasum":"f5d64f47f3c526f1fc8b18c42e003b68cb230e88","tarball":"https://registry.npmjs.org/@burns-fm/l-plx/-/l-plx-1.0.2.tgz","fileCount":15,"unpackedSize":81131,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+DEGglazhFJiyknAvKjY1PQR1pz9ulzPg1RJ2jLnSfAiBLwrs0Oj67uVGMQ2ynEDglrZsQnUiRKJWe4Y+L5M4iPQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6c52ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgWg/9F6MDmeMX7hUFowM5jfi33CJlWR3sr5pzZ2pccoqJtzxXR9qY\r\nb4tOnbFHD6o4sXONqYVTkAUFmfSitIrTM7ucdgafylF2JHBeTrPICjJUDEZB\r\nRV2T6y5n8Tu2LQcjg1/lQIkusSSurQ9HOBypU/eHB2K+Pc0VhahQtZySW1YJ\r\nfdR7Cn5TeMZQbpMupzAl6NEJhFmxPB0WJoNd6+sxf5z8UGZ9Xkqtl4v1K/Jk\r\nZs75ZC/MuDTvwXDmKxeaQ06dDD3HdrVpE9iyJB7IzIwnWLfXpX3vIOmUYRL4\r\nBTdTHi8keJ1xX3zVVarvUqLwowyLURUzTHzRniupiyvUWkA0tf6/5Rr0El5e\r\nIuih1Clx9PWYV8vQPwYfpPhcTYy5Q0IJ99seG/hRjvcxmJTtHjEYKMxj1wx2\r\nrI8DimizeNi+Fnqvz1/OG/z8e/3eIFeBvX4NBUqVR9eyRCF2vI0g+XL+gMDo\r\nVyvBuAyuKGaqfM/IsWMFZzqIWV7xYyBkm+US/znCwJQXN9v6Lr0HDArdbnSU\r\nICGiLMdp4Utd8fQ6CMnT0fExB3/Yi6Fr+V07nx6H0jtNHEUNS+miYS1Sak/l\r\n+zdmnDS85ivgysltcUIKzsevUMVBJSBPH53RPOjzGuJ0AgAKyY3LMlTidqtp\r\nTXRJc3KS/4tzmipGZG5vcpRHXg/KEUUkP7s=\r\n=Eiz8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"robertfairley","email":"rrafairley@gmail.com"},"maintainers":[{"name":"robertfairley","email":"rrafairley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/l-plx_1.0.2_1676267126603_0.7632036820020396"},"_hasShrinkwrap":false,"deprecated":"Broken publish"},"1.0.3":{"name":"@burns-fm/l-plx","version":"1.0.3","description":"Player data encoding methods and values.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsup src/index.ts --dts","prepare":"husky install && npm run build"},"keywords":["brc","burns"],"author":{"name":"Rob Fairley","email":"rob@burns.fm","url":"https://burns.fm"},"devDependencies":{"@types/jest":"^29.2.4","husky":"^8.0.2","jest":"^29.3.1","ts-jest":"^29.0.3","tsup":"^6.5.0","typescript":"^4.9.4"},"tsup":{"entry":"src/index.ts","splitting":false,"sourcemap":true,"clean":true},"directories":{"test":"tests"},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/burns-fm/l-plx.git"},"license":"MIT (Modified)","bugs":{"url":"https://github.com/burns-fm/l-plx/issues"},"homepage":"https://github.com/burns-fm/l-plx#readme","gitHead":"266761412b34cb8521706a58cd45a0e000f9d89b","_id":"@burns-fm/l-plx@1.0.3","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-a8I9uCVTqiQts7SAZhR7OE1wMlf6rTCj5oHgNi+5Ui4Tu3vMmr/dHB+jiRd8z8xzpTFBf71T8K55EZ6PHzTmrg==","shasum":"64af4f070a22a20ece883054424487e2bd086bcf","tarball":"https://registry.npmjs.org/@burns-fm/l-plx/-/l-plx-1.0.3.tgz","fileCount":8,"unpackedSize":81018,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqGIuQGF6CJB7cRv9JJxle0r9SSCbiUSmddOfqRsTPzAIhANLJgUanRJHt1ACVFHvws5pyffx82xveeoE0bDfjxcYB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6dFgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoc7A//UXojkry73++i6DalHkUId5gmzgE01dPbN7Eu2QwDPg/eIOl9\r\nD+jo2Sp36COO+OYNe/VHwRFUD/qb/ICYA1SbKpINMjPsozFRZ91qtqy7rQ/H\r\nUdALDc5sSBSQp4N3E51PYjya3gKFK1ivy6FSWqZLDDAlPGaaS8muH2QQ1gJv\r\n8QhvjZvZtwotZ7CfUKxcr5ziFugEnmDH4d+qByVcArkwcYojO6j1H6CweVV9\r\nzwq8MI4ZREW26cAOJg28LxLEaZ+DwHoAbj8Qlw4C0L8r2+wBqEi9Uvpgkoiy\r\nqUTNlSR4rTSt+dKn7QR+nkE/+qFPA028EKqRAC3bkOVb46Rq1PLIYIUE0FUV\r\nr8ZohSeurcsTMXy4YhaVEfSiJ2ohAvwIOGsLPFj3vi5os7E1fsNkM3FolvwM\r\nMA7jmHDojXfN9ATmKBdOMbWKdbbipoBbjT9o7f2qFVdVu4emcUnUdQ5hitIn\r\nhUoV8MrkYHafwQc42WXN5TaQCbGIziHOuW0Ska082f3Tre7vA0pbJa8ioiLU\r\n4wZnPh2tLVUk9nGbpH5IqIurOvct+LIrE3i8gEJEd+k/wQdX1sv1RDpmo7l0\r\n8N4DHK7TMKQaAxSPpWtQZagU+9lJWWht+YCSESvML0K95oQYUYNe+fAMuH58\r\n0uj5dhmqiGB9MlMCKTJvF3RgXdwz0EQMGVI=\r\n=BDte\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"robertfairley","email":"rrafairley@gmail.com"},"maintainers":[{"name":"robertfairley","email":"rrafairley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/l-plx_1.0.3_1676267871795_0.8339731531027059"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-13T05:36:18.386Z","1.0.0":"2023-02-13T05:36:18.806Z","modified":"2023-02-13T06:07:05.182Z","1.0.1":"2023-02-13T05:39:14.672Z","1.0.2":"2023-02-13T05:45:26.790Z","1.0.3":"2023-02-13T05:57:51.968Z"},"maintainers":[{"name":"robertfairley","email":"rrafairley@gmail.com"}],"description":"Player data encoding methods and values.","homepage":"https://github.com/burns-fm/l-plx#readme","keywords":["brc","burns"],"repository":{"type":"git","url":"git+https://github.com/burns-fm/l-plx.git"},"author":{"name":"Rob Fairley","email":"rob@burns.fm","url":"https://burns.fm"},"bugs":{"url":"https://github.com/burns-fm/l-plx/issues"},"license":"MIT (Modified)","readme":"<img src=\"./public/brc-wordmark.png\" height=\"50\" alt=\"Burns Recording Company\" />\n\n# l-plx\n\nPlayer data encoding methods and values.\n\n## Setup\n\nInstall dependencies and build. See `package.json` scripts.\n\n### Building\n\nBuild the library. The output code will appear in the `dist` folder. It should work on the web in browsers, and on Node without changes or further configuration.\n\n### Testing\n\nTest the code. Run this if you make any changes to ensure your changes will respect the existing functionality. These tests will need updated if you want to keep your work consistent if you happen to change the return types or parameter shapes.\n\n## Usage\n\n### Encoding\n\n#### `encode`\n\nThis function encodes and encrypts a byte array or stream of audio data. It takes two arguments:\n\n* data: a Uint8Array or ReadableStream containing the audio data\n* options: an object containing the following properties:\n  * secretKey: a Uint8Array or string representing the secret key used to encrypt the data\n  * iv: a Uint8Array or string representing the initialization vector used to encrypt the data\n\nThe function returns a Promise that resolves to a Uint8Array or ReadableStream containing the encrypted audio data.\n\n#### `encodeFromString`\n\nThis function encodes and encrypts a string of audio data. It takes two arguments:\n\n* data: a string containing the audio data\n* options: an object containing the following properties:\n  * secretKey: a Uint8Array or string representing the secret key used to encrypt the data\n  * iv: a Uint8Array or string representing the initialization vector used to encrypt the data\n\nThe function returns a Promise that resolves to a Uint8Array or ReadableStream containing the encrypted audio data.\n\n### Decoding\n\n#### `decode`\n\nThis function decodes and decrypts a byte array of encoded audio data. It takes two arguments:\n\n* data: a Uint8Array or ReadableStream containing the encoded audio data\n* options: an object containing the following properties:\n  * secretKey: a Uint8Array or string representing the secret key used to decrypt the data\n* iv: a Uint8Array or string representing the initialization vector used to * decrypt the data\n\nThe function returns a Promise that resolves to a Uint8Array or ReadableStream containing the decrypted audio data.\n\n#### `decodeFromString`\n\nThe decodeFromString function is used to decode and decrypt an audio file that is represented as a string of encrypted data. It takes two arguments:\n\n* encryptedData: a string containing the encrypted audio data\n* options: an object containing the following properties:\n  * secretKey: a string representing the secret key used to decrypt the data\n  * iv: a string representing the initialization vector used to decrypt the data\n  * encoding: a string representing the encoding of the encrypted data (e.g. 'base64')\n\nThe function returns a Promise that resolves to a Uint8Array containing the decrypted audio data. This data can then be used to create an audio Blob and played using an HTMLAudioElement.\n\n#### `decodeToString`\n\nThis function decodes and decrypts an encoded byte array of audio data and returns the decrypted data as a string. It takes two arguments:\n\n* data: a Uint8Array containing the encoded audio data\n* options: an object containing the following properties:\n  * secretKey: a Uint8Array or string representing the secret key used to decrypt the data\n  * iv: a Uint8Array or string representing the initialization vector used to decrypt the data\n\nThe function returns a Promise that resolves to a string containing the decrypted audio data.\n\n### Example\n\n```ts\nimport { decodeFromString } from './decodeFromString';\n\nconst audioElement = document.getElementById('audio') as HTMLAudioElement;\n\nasync function playDecryptedAudio(encryptedData: string, options: EncoderOptions) {\n  const decryptedData = await decodeFromString(encryptedData, options);\n\n  const audioBlob = new Blob([decryptedData], { type: 'audio/mpeg' });\n  const audioUrl = URL.createObjectURL(audioBlob);\n\n  audioElement.src = audioUrl;\n  audioElement.play();\n}\n\nconst encryptedData = 'eW91bGxmaW5kd2hhdGV2ZXJ5b3Vnb2xvb2tpbmdmb3I...';\nconst options = {\n  secretKey: '...',\n  iv: '...',\n  encoding: 'base64',\n};\n\nplayDecryptedAudio(encryptedData, options);\n```\n\n---\nThis software is provided as-is. Do not use this for security-critical applications.\n\n&copy; 2022 Burns Recording Company\n","readmeFilename":"README.md"}