{"_id":"bitfield","_rev":"1492602","name":"bitfield","description":"a simple bitfield, compliant with the BitTorrent spec","dist-tags":{"latest":"5.0.1"},"maintainers":[{"name":"fb55","email":"me@feedic.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"}],"time":{"modified":"2026-09-30T14:23:45.000Z","created":"2012-11-06T18:16:39.859Z","5.0.1":"2026-03-17T23:12:33.972Z","5.0.0":"2026-03-17T12:54:37.169Z","4.2.0":"2024-01-05T10:48:11.170Z","4.1.0":"2022-04-22T08:30:49.074Z","4.0.0":"2020-10-30T15:36:34.940Z","3.0.0":"2019-07-10T22:30:05.269Z","2.0.0":"2018-02-20T05:52:10.163Z","1.1.2":"2015-07-03T03:58:15.311Z","1.1.1":"2015-02-16T07:13:11.659Z","1.1.0":"2015-02-05T22:37:56.234Z","1.0.2":"2014-05-07T20:23:49.028Z","1.0.1":"2014-04-10T10:53:19.315Z","1.0.0":"2014-04-10T10:01:51.036Z","0.3.0":"2014-03-23T13:13:04.835Z","0.2.0":"2014-03-12T14:57:25.045Z","0.1.0":"2013-02-20T11:46:30.282Z","0.0.1":"2013-02-18T07:45:55.245Z","0.0.0":"2012-11-06T18:16:39.859Z"},"users":{"rocket0191":true},"author":{"name":"Felix Boehm","email":"me@feedic.com"},"repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"versions":{"5.0.1":{"type":"module","name":"bitfield","description":"a simple bitfield, compliant with the BitTorrent spec","version":"5.0.1","author":{"name":"Felix Boehm","email":"me@feedic.com"},"funding":{"type":"github","url":"https://github.com/sponsors/fb55"},"sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"bugs":{"url":"https://github.com/fb55/bitfield/issues"},"devDependencies":{"@biomejs/biome":"^2.4.7","@eslint/compat":"^2.0.3","@feedic/eslint-config":"^0.3.1","@types/node":"^25.5.0","eslint":"^10.0.3","eslint-config-biome":"^2.1.3","globals":"^17.4.0","typescript":"^5.9.3","typescript-eslint":"^8.57.1","vitest":"^4.0.18"},"engines":{"node":">=20.19.0"},"keywords":["bitfield","buffer","bittorrent"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"scripts":{"build":"tsc","format":"npm run format:es && npm run format:biome","format:biome":"biome check --write .","format:es":"npm run lint:es -- --fix","lint":"npm run lint:es && npm run lint:biome","lint:biome":"biome check .","lint:es":"eslint .","prepare":"npm run build","test":"npm run test:vi && npm run lint","test:vi":"vitest run"},"gitHead":"844e52f4edefdbe13e2aef6bafe807cd252d791e","_id":"bitfield@5.0.1","homepage":"https://github.com/fb55/bitfield#readme","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-81mvFHCa0L1HsDdKVCTkPKZZ6KFdyXgfQNoneFT7Qk5/PZeBWdPkTFa4KttbR8uHszfjiqOJbeahLOPfCqw4cw==","shasum":"b3fdbf92291d78a8fcec7d027542d7591d69a109","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-5.0.1.tgz","fileCount":8,"unpackedSize":24749,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bitfield@5.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDludEQmVT1bTM5YXMsBy22BhZQje42TKq+KaomOCmZ0gIgB5DjBfuh9nf+LwqqUTXMlY8CniqAMLuN1xXXLHCWdAI="}],"size":5518,"noattachment":false,"key":"/bitfield/-/bitfield-5.0.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ee2a5ab-0b17-4058-906d-cb19bb01a752"}},"directories":{},"maintainers":[{"name":"fb55","email":"me@feedic.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bitfield_5.0.1_1773789153831_0.46981066018127793"},"_hasShrinkwrap":false,"publish_time":1773789153972,"_cnpm_publish_time":1773789153972},"5.0.0":{"name":"bitfield","version":"5.0.0","keywords":["bitfield","buffer","bittorrent"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","_id":"bitfield@5.0.0","maintainers":[{"name":"fb55","email":"me@feedic.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"}],"homepage":"https://github.com/fb55/bitfield#readme","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"dist":{"shasum":"8b1dae5becf8308cb57a6cce294d0adb248c0fd4","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-5.0.0.tgz","fileCount":7,"integrity":"sha512-mjCDDq1GnUbfn3DuE9xop5vb0E0DQZpwUY8Tjj60y4ND29E7MTu89RTfGVHfyZexTFj/SgOreRmGMbnp7/mc2g==","signatures":[{"sig":"MEQCIHkcMROeOox1eigS/tffrj8FbVVzILSK1IM2xjZVgyGwAiBB1XuSl75BaiiZ45R9/WfDsP6nY2ivkHEeW1e6KO4lSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bitfield@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19099,"size":5244,"noattachment":false,"key":"/bitfield/-/bitfield-5.0.0.tgz"},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/fb55"},"gitHead":"bae0df9896619507837bba03c618f60fa7f7945d","scripts":{"lint":"npm run lint:es && npm run lint:biome","test":"npm run test:vi && npm run lint","build":"tsc","format":"npm run format:es && npm run format:biome","lint:es":"eslint .","prepare":"npm run build","test:vi":"vitest run","format:es":"npm run lint:es -- --fix","lint:biome":"biome check .","format:biome":"biome check --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ee2a5ab-0b17-4058-906d-cb19bb01a752"}},"repository":{"url":"git+https://github.com/fb55/bitfield.git","type":"git"},"_npmVersion":"11.9.0","description":"a simple bitfield, compliant with the BitTorrent spec","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.3","vitest":"^4.0.18","globals":"^17.4.0","typescript":"^5.9.3","@types/node":"^25.5.0","@biomejs/biome":"^2.4.7","@eslint/compat":"^2.0.3","typescript-eslint":"^8.57.1","eslint-config-biome":"^2.1.3","@feedic/eslint-config":"^0.2.3"},"_npmOperationalInternal":{"tmp":"tmp/bitfield_5.0.0_1773752077040_0.9756607696382849","host":"s3://npm-registry-packages-npm-production"},"publish_time":1773752077169,"_cnpm_publish_time":1773752077169},"4.2.0":{"name":"bitfield","description":"a simple bitfield, compliant with the BitTorrent spec","version":"4.2.0","author":{"name":"Felix Boehm","email":"me@feedic.com"},"funding":{"url":"https://github.com/sponsors/fb55"},"sideEffects":false,"main":"lib/index.js","types":"lib/index.d.ts","module":"lib/esm/index.js","exports":{"require":"./lib/index.js","import":"./lib/esm/index.js"},"directories":{"lib":"lib/"},"bugs":{"url":"https://github.com/fb55/bitfield/issues"},"devDependencies":{"@types/jest":"^29.5.11","@types/node":"^20.10.6","@typescript-eslint/eslint-plugin":"^6.17.0","@typescript-eslint/parser":"^6.17.0","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-n":"^16.6.1","jest":"^29.7.0","prettier":"^3.1.1","ts-jest":"^29.1.1","typescript":"^5.3.3"},"engines":{"node":">=8"},"keywords":["bitfield","buffer","bittorrent"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"scripts":{"test":"npm run test:jest && npm run lint","test:jest":"jest","lint":"npm run lint:es && npm run lint:prettier","lint:es":"eslint .","lint:prettier":"npm run format:prettier:raw -- --check","format":"npm run format:es && npm run format:prettier","format:es":"npm run lint:es -- --fix","format:prettier":"npm run format:prettier:raw -- --write","format:prettier:raw":"prettier '**/*.{{m,c,}js,ts,md,json,yml}'","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc --sourceRoot https://raw.githubusercontent.com/fb55/bitfield/$(git rev-parse HEAD)/src/","build:esm":"npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json","prepare":"npm run build"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleNameMapper":{"^(.*)\\.js$":"$1"}},"prettier":{"tabWidth":4},"_id":"bitfield@4.2.0","gitHead":"070c4a2deb66da3282283665c8765ed247d80ae5","homepage":"https://github.com/fb55/bitfield#readme","_nodeVersion":"21.5.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-kUTatQb/mBd8uhvdLrUkouGDBUQiJaIOvPlptUwOWp6MFqih4d1MiVf0m3ATxfZSzu+LjW/awFeABltYa62uIA==","shasum":"fecb620bbe38e16526fbb62048f6c4af712ace91","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-4.2.0.tgz","fileCount":12,"unpackedSize":31552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHx86fDZkJS/nlOwPdVKqggIUXe6ylbGfObTpPwZ+1jACIQDjTO+1/MRMQgCIsjsVCGeftXA4zT94J55Nh3gFx3iDnQ=="}],"size":6175,"noattachment":false,"key":"/bitfield/-/bitfield-4.2.0.tgz"},"_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"},{"name":"feedic","email":"me@feedic.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitfield_4.2.0_1704451691035_0.05623634947983347"},"_hasShrinkwrap":false,"publish_time":1704451691170,"_cnpm_publish_time":1704451691170},"4.1.0":{"name":"bitfield","description":"a simple bitfield, compliant with the BitTorrent spec","version":"4.1.0","author":{"name":"Felix Boehm","email":"me@feedic.com"},"funding":{"url":"https://github.com/sponsors/fb55"},"sideEffects":false,"main":"lib/index.js","types":"lib/index.d.ts","module":"lib/esm/index.js","exports":{"require":"./lib/index.js","import":"./lib/esm/index.js"},"directories":{"lib":"lib/"},"bugs":{"url":"https://github.com/fb55/bitfield/issues"},"devDependencies":{"@types/jest":"^27.4.1","@types/node":"^17.0.25","@typescript-eslint/eslint-plugin":"^5.20.0","@typescript-eslint/parser":"^5.20.0","eslint":"^8.13.0","eslint-config-prettier":"^8.5.0","eslint-plugin-node":"^11.1.0","jest":"^27.5.1","prettier":"^2.6.2","ts-jest":"^27.1.4","typescript":"^4.6.3"},"engines":{"node":">=8"},"keywords":["bitfield","buffer","bittorrent"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"scripts":{"test":"npm run test:jest && npm run lint","test:jest":"jest","lint":"npm run lint:es && npm run lint:prettier","lint:es":"eslint .","lint:prettier":"npm run format:prettier:raw -- --check","format":"npm run format:es && npm run format:prettier","format:es":"npm run lint:es -- --fix","format:prettier":"npm run format:prettier:raw -- --write","format:prettier:raw":"prettier '**/*.{{m,c,}js,ts,md,json,yml}'","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc --sourceRoot https://raw.githubusercontent.com/fb55/bitfield/$(git rev-parse HEAD)/src/","build:esm":"npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json","prepare":"npm run build"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"prettier":{"tabWidth":4},"gitHead":"597dd2c25d6aa18eb4d844a9ec42c4a2e9e51bbc","homepage":"https://github.com/fb55/bitfield#readme","_id":"bitfield@4.1.0","_nodeVersion":"17.9.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-6cEDG3K+PK9f+B7WyhWYjp09bqSa+uaAaecVA7Y5giFixyVe1s6HKGnvOqYNR4Mi4fBMjfDPLBpHkKvzzgP7kg==","shasum":"77f3ef4e915e58adaf758b23cbff156959e0fd8e","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-4.1.0.tgz","fileCount":12,"unpackedSize":22121,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEv/F1BSNElcZOiTdMTEoxu81nYq+cekFNpnHDOyvVRwIhAK0DzNJQEdrJxEBO5MB7qtdIKfnFo3S3mhAugBZdbDpt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYme5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8Sg//QpXNSwY2D/SpTRCTbnsdO4CeS6Ev+UTvIGqCJFqq/vT4/0zA\r\nW6aWpJ7nsT13nlh9sRvBk2nZrrKcqy/k5OFwjOxpOGb8syuEy+ZwYJ6bbtiE\r\n02F4prykUPiOLvSTmjxijC3BRqG+k1jySJhwzIjlnKKTI5n87pV89ZUbHjzY\r\n379/jGjbByLY/OiboQHdCZW39Y9eZmV1RXxDgbYbJ33Wcps9MEU4Y5hEKo1y\r\n709kXpO/GB8bV8soc5Z9B9ItCe0vKqA4UoU0E4GraJjOVPQlZrXBaMcxZD7d\r\n9eZFXW/7+RpnVCZNdwPZpTonEbL7qZf39H7ezo2dFQlTgJVF9OKYwrmQK2dJ\r\nSGeklWbUVzBhm0MQCPNsgBuh2rjqyPfFpa7DLKpgF8pt+y1iAOYEldK8AoTu\r\ng38dDBQ82Zbmb6768y4v+JiO1/gAAKKWyOizOEwLZbb6G+H8rRAk/hPA3ly+\r\nAVIIXkTLZPFlCzIz+kpry77vE0PKPFH2YqH5VgNqx78DDcbOgXBcbUvLHGOJ\r\noF0DYK0fx9sguLWvwLbwWmjjHfw7snOmSXRrARBUNB1RAb7hXEhJ0UdFyMYE\r\n4K3ABTkuIOyXmSwgIlELTeFuhodY5/K5wlMFelL45KDkmAZD8+Li3HON4Viy\r\nqlVJCLEB5vI3KrYqgWc3eidi9W2AocKqp8w=\r\n=sZIr\r\n-----END PGP SIGNATURE-----\r\n","size":5067,"noattachment":false,"key":"/bitfield/-/bitfield-4.1.0.tgz"},"_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"},{"name":"feedic","email":"me@feedic.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitfield_4.1.0_1650616248825_0.2694330432515446"},"_hasShrinkwrap":false,"publish_time":1650616249074,"_cnpm_publish_time":1650616249074},"4.0.0":{"name":"bitfield","description":"a simple bitfield, compliant with the BitTorrent spec","version":"4.0.0","author":{"name":"Felix Boehm","email":"me@feedic.com"},"funding":{"url":"https://github.com/sponsors/fb55"},"sideEffects":false,"main":"lib/index.js","types":"lib/index.d.ts","directories":{"lib":"lib/"},"bugs":{"url":"https://github.com/fb55/bitfield/issues"},"devDependencies":{"@types/jest":"^26.0.0","@types/node":"^14.11.8","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","coveralls":"*","eslint":"^7.11.0","eslint-config-prettier":"^6.0.0","eslint-plugin-node":"^11.1.0","jest":"^26.5.3","prettier":"^2.0.5","ts-jest":"^26.1.0","typescript":"^4.0.2"},"engines":{"node":">=8"},"keywords":["bitfield","buffer","bittorrent"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"scripts":{"test":"jest --coverage && npm run lint","coverage":"cat coverage/lcov.info | coveralls","lint":"npm run lint:es && npm run lint:prettier","lint:es":"eslint .","lint:prettier":"npm run prettier -- --check","format":"npm run format:es && npm run format:prettier","format:es":"npm run lint:es -- --fix","format:prettier":"npm run prettier -- --write","prettier":"prettier '**/*.{js,ts,md,json,yml}'","build":"tsc","prepare":"npm run build"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"prettier":{"tabWidth":4},"gitHead":"75b7eb70caa5603421037943c3616565a9f353e4","homepage":"https://github.com/fb55/bitfield#readme","_id":"bitfield@4.0.0","_nodeVersion":"15.0.1","_npmVersion":"7.0.3","dist":{"integrity":"sha512-jtuSG9CQr5yoHFuvhgf50+DH8Aezl3C/mMSfqdG4DqP7Kqe34uBUtCEHPN9oWaldTm96/i7y5e778SnM5ES4rw==","shasum":"3094123c870030dc6198a283d779639bd2a8e256","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-4.0.0.tgz","fileCount":6,"unpackedSize":12112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnDMDCRA9TVsSAnZWagAA5acQAJNF/pRiM+ZyKKY3Hy1G\nKbQDLPU7myyogNTBNvStvi5nK1cxyDxxrSqBy1rEGbRekFWPpBR5wLpmIk74\nmoJTTv4xZW5co4YbFCINr3aa3iAWfGZZvAfBgysCyX0jHhmmhQebPpAwKlmZ\navyVrfs4vdzZiZj1cQCpq/cTQn5gvt88W78bEFnwdt/LPqMHIiCCAoIGI0vc\ngP708mvssVOvAALDlxV+HHr8A92Ss8hzkYag911aT0ftJ8szbzqxFLWAsZlb\nUvu7Hxah1BzVbh3hLFacjmMEjon/CJsG1cQb58nm+L+flRM/KYgtAFUVzpiP\nOW4oAlnt3wibhOs0xeNiRkrP2LuHl0QHXybR086rbjIARde5RvDlIVIRxRrA\ni+L0VlSbIs7wAhU9AadyZ1H4lRCV+5rDJFKgLskdzsUEK1xF7af4PR0bSux1\n9SqGzUhTYG7MI0Nk/1r1mc5ZPwfDNTAvD2FLgIuMI6Q9GtiReIvgLyzkoCQE\ntewU3oBSfPyokz7QduqmRXgsrQd8rDcHy+p/GsqAgOjQKWIK12WQaCvi9VR+\nhm3U4UL2qg3Pci15pcQ4Kls/h4vwm7pK1V7sQc4no+D/s9q0n0dhV/c2TwMf\n4nrR3MLmz4Zb1a7sSsjAsqMQTWRmTHlcqi3Ly7mxqY8/a/IuDjXpVBOFZH6J\nQW14\r\n=nITW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtRZjazpILTJYRN61sIvxyBMNsgWATK9kj6pviZEx0BAiBmq/1B7TuQE+zPYC2hiUddRR+tW9I60E4QRWCDkn40Cw=="}],"size":4001,"noattachment":false,"key":"/bitfield/-/bitfield-4.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"},{"name":"feedic","email":"me@feedic.com"}],"_npmUser":{"name":"feedic","email":"me@feedic.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitfield_4.0.0_1604072194788_0.6582520568726633"},"_hasShrinkwrap":false,"publish_time":1604072194940,"_cnpm_publish_time":1604072194940},"3.0.0":{"name":"bitfield","description":"a very simple bitfield implementation using buffers","version":"3.0.0","author":{"name":"Felix Boehm","email":"me@feedic.com"},"bugs":{"url":"https://github.com/fb55/bitfield/issues"},"devDependencies":{"standard":"^12.0.1","tape":"~4.11.0"},"engines":{"node":">=8"},"keywords":["bitfield","buffer"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"scripts":{"test":"standard && tape tests.js"},"gitHead":"089a5e88bce38059444fb18e1f7d48a974a05060","homepage":"https://github.com/fb55/bitfield#readme","_id":"bitfield@3.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-hJmWKucJQfdSkQPDPBKmWogM9s8+NOSzDT9QVbJbjinXaQ0bJKPu/cn98qRWy3PDNWtKw4XaoUP3XruGRIKEgg==","shasum":"b2d32c707866d42f016ae9bd8469999a9f51b59c","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-3.0.0.tgz","fileCount":4,"unpackedSize":4121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJmbtCRA9TVsSAnZWagAAwvIP/ihRb9mlo+UKWbGGi4TQ\n73fBUjRDkFJUMNlS/qmz7aF9+MDJAvPnvwlx/lbNGVulGpyEP2ySvfNiU4bz\nJ5flL8QMFhgV+elWfVPfsVP4WcYqjIyTZOFDARL+YYSGlprlKilZeP+cmoYW\nJl4lagUZnxqwh7GApUSIfKu6xeWch6EepQf2OjRUX4snkpF1BWCZ9Ra4Er+y\nuUYmkSN2kfK77szZMtDzMicSABAlXr8zxA9BkvJsxB90imtCOEc+fDr7sVgs\nEE5r5gxxP1mv4cSyeMJ/CF7wVKCdAlQw3nWC9Fw3Q0k95Hf1MiFM9nX6B/mw\nAYhR8K2b+c89r0aDx6yNSmRY4p9dFG1ZYeh2YU/Kin1FECdD/fWV/GNPU5u2\nK/FCDHI8X+bWlSt8yJBOucwiR3U/FcVUfLv9yxc2sw7sT3LiAPBmirgES9wG\n4e8fjl+faB48Lk4bYhXuf3/zjEPLydOgh0AN6kgftrG5cyNMF5rkztriK7yA\nOGkvf9d3WwDyiDRr4MqVN4kxH1QKLgKzmXkrVh3Ds6S3Hxyw+oOkvEBmREda\n3kiUxUbrNGKhxfvNf+KwjqR62xkowxTjUNAK+Nobf3uWWbPa2MEu+SpkV0z/\n4omcpxnxBcarrNjhu0uyBMkrKKI8ZJEsu/Tz/1BH2ep7eZupso45e+GfUbw+\n0mWP\r\n=lTJZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZhr9svZKyVvx0Ndpgef/erkwVa63oq/cI8IlUbYsGAwIgX0v0AO6UyZsjx6qlj1QvPDTAhIEu8YlQFOQY7rBKavU="}],"size":2222,"noattachment":false,"key":"/bitfield/-/bitfield-3.0.0.tgz"},"maintainers":[{"name":"feedic","email":"me@feedic.com"},{"name":"feross","email":"feross@feross.org"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmUser":{"name":"feross","email":"feross@feross.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitfield_3.0.0_1562797805025_0.9306880264885444"},"_hasShrinkwrap":false,"publish_time":1562797805269,"_cnpm_publish_time":1562797805269},"2.0.0":{"name":"bitfield","description":"a very simple bitfield implementation using buffers","version":"2.0.0","author":{"name":"Felix Boehm","email":"me@feedic.com"},"bugs":{"url":"https://github.com/fb55/bitfield/issues"},"devDependencies":{"standard":"^11.0.0","tape":"~4.9.0"},"keywords":["bitfield","buffer"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"scripts":{"test":"standard && tape tests.js"},"gitHead":"af94765651c5c6993506c2aec2cd6ee8d8595142","homepage":"https://github.com/fb55/bitfield#readme","_id":"bitfield@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"integrity":"sha512-4xM4DYejOHQ/qWBfeqBXNA4mJ12PwcOibFYnH1kYh5U9BHciCqEJBqGNVnMJXUhm8mflujNRLSv7IiVQxovgjw==","shasum":"fbe6767592fe5b4c87ecf1d04126294cc1bfa837","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-2.0.0.tgz","fileCount":6,"unpackedSize":8266,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCH+Bj0bGkybeOcX0arCtnB95jowjRsZsg4vDSJotpFOgIgcqxyNvrCDRWYMPUTqZgZILT/onLpJ3hp1etO+4ieDl0="}],"size":3232,"noattachment":false,"key":"/bitfield/-/bitfield-2.0.0.tgz"},"maintainers":[{"name":"feedic","email":"me@feedic.com"},{"name":"feross","email":"feross@feross.org"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitfield_2.0.0_1519105929978_0.9778634192858295"},"_hasShrinkwrap":false,"publish_time":1519105930163,"_cnpm_publish_time":1519105930163},"1.1.2":{"name":"bitfield","version":"1.1.2","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"git+https://github.com/fb55/bitfield.git"},"scripts":{"test":"tape tests.js"},"keywords":["bitfield","buffer"],"devDependencies":{"tape":"2.12"},"testling":{"files":"tests.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","gitHead":"c0ea56e6b06442711b998ab025d2c280b661303e","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield#readme","_id":"bitfield@1.1.2","_shasum":"a5477f00e33f2a76edc209aaf26bf09394a378cf","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"feross","email":"feross@feross.org"},"maintainers":[{"name":"feedic","email":"me@feedic.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"}],"dist":{"shasum":"a5477f00e33f2a76edc209aaf26bf09394a378cf","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-1.1.2.tgz","integrity":"sha512-XU4GeW9hq3sz0ACLUe3g1j5TDw4Tr2OsmPBod/0m2T705sHgh3UIq2DMYeedrjjkdcS4CvMt040jiy2vwbHgEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVTlv5D0RbHrtbYrnFkOU2Ai9H9IRHkguSkpe7mw6cTAiEAvoTSoaawvVksRlCuMZZjFQD7+NphCSzC8S0ivq0O2hc="}],"size":3352,"noattachment":false,"key":"/bitfield/-/bitfield-1.1.2.tgz"},"directories":{},"publish_time":1435895895311,"_cnpm_publish_time":1435895895311},"1.1.1":{"name":"bitfield","version":"1.1.1","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"scripts":{"test":"tape tests.js"},"keywords":["bitfield","buffer"],"devDependencies":{"tape":"2.12"},"testling":{"files":"tests.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","gitHead":"e54e6dd540e7c527f31f04668107ed4ea4b75489","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield","_id":"bitfield@1.1.1","_shasum":"c09c9cb352183a1d900f907ec0a8b6138520eb48","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"}],"dist":{"shasum":"c09c9cb352183a1d900f907ec0a8b6138520eb48","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-1.1.1.tgz","integrity":"sha512-Q9TFOGE5nSoxfW+ez7bvU7sBjeQIWnasQyhFZi2iIV+dQhphHZxYxBJGGNb3WspblivRrX1dby3Us4ipiyhaqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL7r02xgYzIq/FwQElTo0Ni92zoiuqY2jr4yBLhDsvrAIgWcpUUtsoqyy2oEXsjSwFTMK5scq2pszM6DWoN/hhG/w="}],"size":3332,"noattachment":false,"key":"/bitfield/-/bitfield-1.1.1.tgz"},"directories":{},"publish_time":1424070791659,"_cnpm_publish_time":1424070791659},"1.1.0":{"name":"bitfield","version":"1.1.0","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"scripts":{"test":"tape tests.js"},"keywords":["bitfield","buffer"],"devDependencies":{"tape":"2.12"},"testling":{"files":"tests.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","gitHead":"165c0e3ad7847cd3f7bc4198126b99e3a6089de7","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield","_id":"bitfield@1.1.0","_shasum":"d441e1462e1027d523dd6569cd0229521ee7fdd1","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"}],"dist":{"shasum":"d441e1462e1027d523dd6569cd0229521ee7fdd1","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-1.1.0.tgz","integrity":"sha512-2fv3D3WFlATKS3/x5hl4ikh5RkU/4MCL2+plOSNgl03PbOPFyiYBuDKxxQ7uX5F6D+FrKN9mqcaqPalUi+NASg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh0UjVTfWOdHkgoDRILfbvLB6CvBSrsszFMc/6oMGc/QIhAN8Vgz4mQ60iTDid2vQiar1enLo20YdKKsqq2mXcPHpy"}],"size":3343,"noattachment":false,"key":"/bitfield/-/bitfield-1.1.0.tgz"},"directories":{},"publish_time":1423175876234,"_cnpm_publish_time":1423175876234},"1.0.2":{"name":"bitfield","version":"1.0.2","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"scripts":{"test":"tape tests.js"},"keywords":["bitfield","buffer"],"devDependencies":{"tape":"2.12"},"testling":{"files":"tests.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield","_id":"bitfield@1.0.2","_shasum":"3d3ec02d180a54cefb57359adcbf99d3b8392448","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"dist":{"shasum":"3d3ec02d180a54cefb57359adcbf99d3b8392448","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-1.0.2.tgz","integrity":"sha512-MjbCU/dsaCXxXcC7lbieChpdKp4fulvkDKNZVM9dDY6I5Fxxf9eIURkJqdEFgnZIGp699loWe7qh40Nj8iV5wA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCBMHyu3sYf08dbpDf8uGCAwlCnGKGE0ByuX6N4/apaAiAjch2J5bUg6c+Uj4K67oUEYhE9CIq8MCssHkCYYE89jA=="}],"size":3302,"noattachment":false,"key":"/bitfield/-/bitfield-1.0.2.tgz"},"directories":{},"publish_time":1399494229028,"_cnpm_publish_time":1399494229028},"1.0.1":{"name":"bitfield","version":"1.0.1","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"scripts":{"test":"tape tests.js"},"keywords":["bitfield","buffer"],"devDependencies":{"tape":"2.12"},"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield","_id":"bitfield@1.0.1","dist":{"shasum":"236a6711e7344d362563b35fe70c7ac3033360ff","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-1.0.1.tgz","integrity":"sha512-Wgr8/8aqmOheSRlLfh5aQ81TTB76dK+fy7jP+IfB/aSzqMdGhsd0Cu4cKFFc4zm4sT0c157uaQk2eYAPPd0l/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdQY7saM4ukgIfXMOkCi8zanb3QrrM5+4qcIJXD0Wn8AiEAs5M/iRcMGceLyqQKf+ON0f5OdYE2kutYIIM7QHbRgCg="}],"size":3090,"noattachment":false,"key":"/bitfield/-/bitfield-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"directories":{},"publish_time":1397127199315,"_cnpm_publish_time":1397127199315},"1.0.0":{"name":"bitfield","version":"1.0.0","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"scripts":{"test":"node tests.js"},"keywords":["bitfield","buffer"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield","_id":"bitfield@1.0.0","dist":{"shasum":"d05209e05b26e11537d1e36d10236294b1511746","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-1.0.0.tgz","integrity":"sha512-/a1lu6WmIsaaI3VkNOlKFqUxX8xnMnDM6FbEIjCsR4uKHFzxWniMKqOnQI5jgih4g/t6nEENnmEEP/ZlT/n5YQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq1jyW8ozNrDJh5uPzsflqbjXqZsJm7dhc0+m9z7AFwQIhAIgmZwrs7PuhKO0xf9mplpWrju3Joxgin/xzXFlxXsaV"}],"size":2926,"noattachment":false,"key":"/bitfield/-/bitfield-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"directories":{},"publish_time":1397124111036,"_cnpm_publish_time":1397124111036},"0.3.0":{"name":"bitfield","version":"0.3.0","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"scripts":{"test":"node tests.js"},"keywords":["bitfield","buffer"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield","_id":"bitfield@0.3.0","dist":{"shasum":"5d33809c5df051ef6089111ce1bf440691202d6f","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-0.3.0.tgz","integrity":"sha512-8H+2K/a5guGPuZ+TqDFILvmnhu1bBYh0Ve30NQgcIXqumMVFiwVpVe+aO7jqYwerLCjwm1tH7gEJWlz+x93FnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDYnH7QIHE8yNWQ4okkUx1WogOT0NhD2Jolcef/q2U2RAiEA8qM004XNsc2cgVwpuBqn/2xrGx+vwQY6NUrS+35IjkI="}],"size":2621,"noattachment":false,"key":"/bitfield/-/bitfield-0.3.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"directories":{},"publish_time":1395580384835,"_cnpm_publish_time":1395580384835},"0.2.0":{"name":"bitfield","version":"0.2.0","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"scripts":{"test":"node tests.js"},"keywords":["bitfield","buffer"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"MIT","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"homepage":"https://github.com/fb55/bitfield","_id":"bitfield@0.2.0","dist":{"shasum":"2aaee32a457bbc18da0bc7f11cf68d38cc5ceece","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-0.2.0.tgz","integrity":"sha512-92SbQ/nbTg1rGRx/202ub9gHK665Jn1MI/ou1vsjUamDg9zy30ZTGcpA0Wr/6iAx94qNKT5JUH/Tk5BJ+q30gA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh0gVAjGY3nRTHW7FUp3v7LxzsI4BelCX9RwFRFom33gIgf9yjpiNF/XyQnBWYi/nVw4Oc3Q+aMVeC6CO84tmAh9U="}],"size":2557,"noattachment":false,"key":"/bitfield/-/bitfield-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"directories":{},"publish_time":1394636245045,"_cnpm_publish_time":1394636245045},"0.1.0":{"name":"bitfield","version":"0.1.0","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"keywords":["bitfield","buffer"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"-","_id":"bitfield@0.1.0","dist":{"shasum":"b05d8b5f0d09f2df35a9db3b3a62d3808c46c457","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-0.1.0.tgz","integrity":"sha512-M15ypXCxXd81FSOWL2ejHpB1TDKmz7Y55/VuqfExJi72sHW0JzE5dfV+hrSZafZtWRg/tdMsdte5dgwrlOM7nA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpyMDty3etq40txKIMw86oyqol6kmOJhCj0kb85MpYwgIgcCGROhNBN7t5W6zUR06+Cd7L5hli/rO6giBtjdXDWS8="}],"size":1059,"noattachment":false,"key":"/bitfield/-/bitfield-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"directories":{},"publish_time":1361360790282,"_cnpm_publish_time":1361360790282},"0.0.1":{"name":"bitfield","version":"0.0.1","description":"a very simple bitfield implementation using buffers","main":"index.js","repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"keywords":["bitfield","buffer"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"-","_id":"bitfield@0.0.1","dist":{"shasum":"e92c436a6e3463111e0d4d39cfeda7321e1da7c5","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-0.0.1.tgz","integrity":"sha512-HYawvdRFfr8V8xTljMWs/tXwEbxCwW3POluac4lDlbFeVm+q3c1jTVhorO/WEU+paBxrbKQe93m50T4ovROBHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkAOTEawl905eARjePIzSbDJTinypDhuDEPD4hSVXCYAiA2C04x0UJFWdoslXSkgW0RBqLSIT4Ss8TGLmmYYpw6Ew=="}],"size":1026,"noattachment":false,"key":"/bitfield/-/bitfield-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"directories":{},"publish_time":1361173555245,"_cnpm_publish_time":1361173555245},"0.0.0":{"name":"bitfield","version":"0.0.0","description":"a very simple bitfield implementation using buffers","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/fb55/bitfield"},"keywords":["bitfield","buffer"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"-","_id":"bitfield@0.0.0","dist":{"shasum":"c65aa14d405c77f76d26f976dc869f6bea39794a","tarball":"http://registry-npm.ywwl.com/bitfield/download/bitfield-0.0.0.tgz","integrity":"sha512-6AjO/IUIisEeu8AsGL8MjmmOuuUON6zmsuAPqdUqWabgti8WUWzkzViayYAKiICSUGidmv66LA+iJ9bdlAzHAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICNprQxIB5dHdIx7MOYiuuQkEof3M2Jkx+b/Q4xe+3qpAiA/i8zpKB7sMoshhopZVAMJ+fRnUr+58EfREXH0vu7Kuw=="}],"size":1028,"noattachment":false,"key":"/bitfield/-/bitfield-0.0.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"feedic","email":"me@feedic.com"},"maintainers":[{"name":"feedic","email":"me@feedic.com"}],"directories":{},"publish_time":1352225799859,"_cnpm_publish_time":1352225799859}},"readme":"# bitfield\n\nA simple bitfield, compliant with the BitTorrent spec.\n\n    npm install bitfield\n\n#### Example\n\n```js\nimport Bitfield from \"bitfield\";\n\nconst field = new Bitfield(256); // Create a bitfield with 256 bits.\n\nfield.set(128); // Set the 128th bit.\nfield.set(128, true); // Same as above.\n\nfield.get(128); // `true`\nfield.get(200); // `false` (all values are initialised to `false`)\nfield.get(1e3); // `false` (out-of-bounds is also false)\n\nfield.set(128, false); // Set the 128th bit to 0 again.\n\nfield.buffer; // The buffer used by the bitfield.\n```\n\n## Class: BitField\n\n### Constructors\n\n- [constructor](#constructor)\n\n### Properties\n\n- [buffer](#buffer)\n\n### Methods\n\n- [forEach](#foreach)\n- [get](#get)\n- [set](#set)\n\n## Constructors\n\n### constructor\n\n\\+ **new BitField**(`data?`: number \\| Uint8Array, `opts?`: BitFieldOptions): `BitField`\n\n#### Parameters:\n\n| Name    | Type                 | Default value | Description                                                                                                                                                                                                                                                       |\n| ------- | -------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `data`  | number \\| Uint8Array | 0             | Either a number representing the maximum number of supported bytes, or a Uint8Array.                                                                                                                                                                              |\n| `opts?` | { grow: number }     | { grow: 0 }   | <p>**grow:**<p>If you `set` an index that is out-of-bounds, the bitfield will automatically grow so that the bitfield is big enough to contain the given index, up to the given size (in bit). <p>If you want the Bitfield to grow indefinitely, pass `Infinity`. |\n\n**Returns:** `BitField`\n\n## Properties\n\n### buffer\n\n• **buffer**: Uint8Array\n\nThe internal storage of the bitfield.\n\n## Methods\n\n### forEach\n\n▸ **forEach**(`fn`: (bit: boolean, index: number) => void, `start?`: number, `end?`: number): void\n\nLoop through the bits in the bitfield.\n\n#### Parameters:\n\n| Name    | Type                                  | Default value           | Description                                                 |\n| ------- | ------------------------------------- | ----------------------- | ----------------------------------------------------------- |\n| `fn`    | (bit: boolean, index: number) => void | -                       | Function to be called with the bit value and index.         |\n| `start` | number                                | 0                       | Index of the first bit to look at.                          |\n| `end`   | number                                | this.buffer.length \\* 8 | Index of the first bit that should no longer be considered. |\n\n**Returns:** void\n\n---\n\n### get\n\n▸ **get**(`i`: number): boolean\n\nGet a particular bit.\n\n#### Parameters:\n\n| Name | Type   | Description            |\n| ---- | ------ | ---------------------- |\n| `i`  | number | Bit index to retrieve. |\n\n**Returns:** boolean\n\nA boolean indicating whether the `i`th bit is set.\n\n---\n\n### set\n\n▸ **set**(`i`: number, `value?`: boolean): void\n\nSet a particular bit.\n\nWill grow the underlying array if the bit is out of bounds and the `grow` option is set.\n\n#### Parameters:\n\n| Name    | Type    | Default value | Description                                  |\n| ------- | ------- | ------------- | -------------------------------------------- |\n| `i`     | number  | -             | Bit index to set.                            |\n| `value` | boolean | true          | Value to set the bit to. Defaults to `true`. |\n\n**Returns:** void\n\n---\n\n### setAll\n\n▸ **setAll**(`array`: `ArrayLike<boolean>`, `offset?`: number): void\n\nSet the bits in the bitfield to the values in the given array.\n\n#### Parameters:\n\n| Name     | Type                 | Default value | Description                           |\n| -------- | -------------------- | ------------- | ------------------------------------- |\n| `array`  | `ArrayLike<boolean>` | -             | Array of booleans to set the bits to. |\n| `offset` | number               | 0             | Index of the first bit to set.        |\n\n**Returns:** void\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/fb55/bitfield#readme","bugs":{"url":"https://github.com/fb55/bitfield/issues"},"license":"MIT"}