{"_id":"@ban12/bplist-parser","_rev":"1-d039312310791d463c0cfebb00eee5f5","name":"@ban12/bplist-parser","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.0":{"name":"@ban12/bplist-parser","version":"0.0.0","license":"MIT","_id":"@ban12/bplist-parser@0.0.0","maintainers":[{"name":"o4oban","email":"o4oban@gmail.com"}],"homepage":"https://github.com/ban12-project/0x00#readme","bugs":{"url":"https://github.com/ban12-project/0x00/issues"},"dist":{"shasum":"99ad62509dea13839bb09fbdb9bfd52d5ec2d23b","tarball":"https://registry.npmjs.org/@ban12/bplist-parser/-/bplist-parser-0.0.0.tgz","fileCount":8,"integrity":"sha512-5ysdpK/68OGeaXiVk3oPC89bY6/CCDLPKuMEI1qFVQeA/50sOfiJb2fDt4g80V6SOeeVC8+8UvB0O96Higxg/w==","signatures":[{"sig":"MEUCIQDOo9Ws89o2nH27y3hYnckehJhiY2HCJnuzNAc1MDAJnAIgTZHCT8CLPHE3Az8wE1ChedaJhDwDK1zJHKxm1PWPivA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76023},"main":"dist/bplist-parser.js","type":"module","_from":"file:ban12-bplist-parser-0.0.0.tgz","types":"dist/bplist-parser.d.ts","module":"dist/bplist-parser.mjs","scripts":{"test":"vitest","build":"rm -rf dist && pnpm build:cjs && pnpm build:esm && pnpm build:tsc","build:cjs":"swc bplist-parser.ts -o dist/bplist-parser.js -C module.type=commonjs","build:esm":"swc bplist-parser.ts -o dist/bplist-parser.mjs -C module.type=es6","build:tsc":"tsc --emitDeclarationOnly --outDir dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"o4oban","email":"o4oban@gmail.com"},"_resolved":"/tmp/abb046fa591ecbc87e4ba297949c014c/ban12-bplist-parser-0.0.0.tgz","_integrity":"sha512-5ysdpK/68OGeaXiVk3oPC89bY6/CCDLPKuMEI1qFVQeA/50sOfiJb2fDt4g80V6SOeeVC8+8UvB0O96Higxg/w==","repository":{"url":"git+https://github.com/ban12-project/0x00.git","type":"git","directory":"packages/bplist-parser"},"_npmVersion":"10.8.2","description":"A parser for binary PLIST","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bplist-parser_0.0.0_1734426563308_0.49500413290992284","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@ban12/bplist-parser","version":"0.0.1","description":"A parser for binary PLIST","keywords":["PLIST","binary PLIST parser","ban12"],"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/ban12-project/0x00.git","directory":"packages/bplist-parser"},"bugs":{"url":"https://github.com/ban12-project/0x00/issues"},"sideEffects":false,"main":"dist/bplist-parser.js","module":"dist/bplist-parser.mjs","types":"dist/bplist-parser.d.ts","exports":{".":{"types":"./dist/bplist-parser.d.ts","import":"./dist/bplist-parser.mjs","require":"./dist/bplist-parser.js"}},"type":"module","scripts":{"build":"rm -rf dist && pnpm build:cjs && pnpm build:esm && pnpm build:tsc","build:cjs":"swc bplist-parser.ts -o dist/bplist-parser.js -C module.type=commonjs","build:esm":"swc bplist-parser.ts -o dist/bplist-parser.mjs -C module.type=es6","build:tsc":"tsc --emitDeclarationOnly --outDir dist","test":"vitest","type-check":"tsc --noEmit"},"_id":"@ban12/bplist-parser@0.0.1","homepage":"https://github.com/ban12-project/0x00#readme","_integrity":"sha512-SvzG2KEF9nYB3dnWJbOYcIGYDcTTBBQax6WoRtU+hq+SaULCqkM9vlMnCX7mp1kL1c1hr1+GSnJPx8FhJ+VWYg==","_resolved":"/tmp/4bf8e077cbc91bfcad54252337cdd38d/ban12-bplist-parser-0.0.1.tgz","_from":"file:ban12-bplist-parser-0.0.1.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-SvzG2KEF9nYB3dnWJbOYcIGYDcTTBBQax6WoRtU+hq+SaULCqkM9vlMnCX7mp1kL1c1hr1+GSnJPx8FhJ+VWYg==","shasum":"7cdc41db86bd32456ed902086bcfdbac8ee2b13d","tarball":"https://registry.npmjs.org/@ban12/bplist-parser/-/bplist-parser-0.0.1.tgz","fileCount":7,"unpackedSize":59108,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBF0fdMq6PkG0H4eFUDXayjuReSEjNdlCmYaT4fCS8QsAiA3dReJQogFlebNDHWJAHJZ2hGtOQBQ6mjTIGEY2myT6g=="}]},"_npmUser":{"name":"o4oban","email":"o4oban@gmail.com"},"directories":{},"maintainers":[{"name":"o4oban","email":"o4oban@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bplist-parser_0.0.1_1734676154819_0.15723736769030294"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-17T09:09:23.190Z","modified":"2024-12-20T06:29:15.221Z","0.0.0":"2024-12-17T09:09:23.465Z","0.0.1":"2024-12-20T06:29:15.029Z"},"bugs":{"url":"https://github.com/ban12-project/0x00/issues"},"license":"MIT","homepage":"https://github.com/ban12-project/0x00#readme","repository":{"type":"git","url":"git+https://github.com/ban12-project/0x00.git","directory":"packages/bplist-parser"},"description":"A parser for binary PLIST","maintainers":[{"name":"o4oban","email":"o4oban@gmail.com"}],"readme":"# @ban12/bplist-parser\n\n<a aria-label=\"NPM version\" href=\"https://www.npmjs.com/package/@ban12/bplist-parser\">\n  <img alt=\"\" src=\"https://img.shields.io/npm/v/@ban12/bplist-parser.svg?style=flat-square&labelColor=000000\">\n</a>\n<a aria-label=\"NPM Unpacked Size (with version)\" href=\"https://www.npmjs.com/package/@ban12/bplist-parser\">\n  <img alt=\"\" src=\"https://img.shields.io/npm/unpacked-size/@ban12/bplist-parser/latest?label=npm&style=flat-square&labelColor=000000\">\n</a>\n\n## Install\n\n```bash\npnpm add @ban12/bplist-parser\n```\n\n## Usage\n\n### Browser\n\n```ts\nimport { parseBuffer } from '@ban12/bplist-parser'\n\nconst buffer = await fetch('https://example.com/file.plist').then((r) =>\n  r.arrayBuffer(),\n)\nconst result = parseBuffer(buffer)\n```\n\n### Node.js\n\n```ts\nimport { readFile } from 'fs/promises'\nimport { parseBuffer } from '@ban12/bplist-parser'\n\nconst file = await readFile(new URL('file.plist', import.meta.url))\nconst result = parseBuffer(file.buffer)\n```\n\nadapted from [node-bplist-parser](https://github.com/joeferner/node-bplist-parser/blob/master/bplistParser.js)\n","readmeFilename":"README.md","keywords":["PLIST","binary PLIST parser","ban12"]}