{"_id":"bare-type","_rev":"16-824417b336ee5f70b66c56249decd659","name":"bare-type","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"bare-type","version":"1.0.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.0","maintainers":[{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"9bf2928d4cc4b9eee3153156eda31df0caffcfca","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.0.tgz","fileCount":12,"integrity":"sha512-vSuxbTHDnPsLDOHxcIUpf+zm3u+l3OnFg1YdU4i/9E59g9Z3FA1K8JAyw8Lgj9vzFgw6smbtRaTGIrZezmf0kA==","signatures":[{"sig":"MEYCIQD9CG2K94buO6mj+UaYKXRn7pCstgAWS+kf3xaZPtgA+gIhAJp2e+UiWXqwezNsWCiwLAzJbHL8uYJOVAzb+cUQ7nQn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":294598},"addon":true,"engines":{"bare":">=1.2.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"65cca3ddf19599f43df3ffc64181b6d207ab5aef","scripts":{"test":"standard && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"10.5.0","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"21.7.3","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.0_1713337907419_0.1200926340989592","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"bare-type","version":"1.0.1","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"f6a49c5a24963ec84ba5982f84a797e9ffed248e","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.1.tgz","fileCount":19,"integrity":"sha512-wF3PQUGWUBZUy8CzYyyIKR64jM6gTL53UN2PJK4/e3lrcLRbNejwanS4HN2RgJYExNdjJe7niuNFJEENv9NoMQ==","signatures":[{"sig":"MEUCIE4tnmOpVkquMBAxi/x7r+9KRoOdg21KPPwHh69QDk5gAiEA4ovg3nn1s4/dNOaovlVNNzOCmvg5r14cnDSyggRMKLM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":469362},"addon":true,"engines":{"bare":">=1.2.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"1c8d760e4729e2eb5b3b2b7e5ce6961c6c73c175","scripts":{"test":"standard && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.1_1724919867496_0.7708791280235856","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"bare-type","version":"1.0.2","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.2","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"94796a0185173413f87d2d8891254b3c8bdb9d42","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.2.tgz","fileCount":19,"integrity":"sha512-K1ND5ZPoFEzdx7PJNcCWj+BXvv1dSHOhlNSekxXchP2kXeJx9R8daEoVqA4s9KeERrh7vRzJPkMXtwRczEaSPw==","signatures":[{"sig":"MEYCIQC2gmc0NsZCbx5rBC3PkYZ8SnLQZxrfCPgO7Dlb/RbLtgIhAN8MPfqns9+L8Rp8YftcJ9Ik3LFIpbMX137KPRuOnTik","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":473970},"addon":true,"engines":{"bare":">=1.2.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"39f865465d3b3a2ba57349700f05e96d4a1cb5dc","scripts":{"test":"standard && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.2_1725262011369_0.9773934389052743","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"bare-type","version":"1.0.3","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.3","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"94525ee71cc23b87a31754c1a2bbb9be4860b81a","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.3.tgz","fileCount":20,"integrity":"sha512-GxDQaTKdbo9HCylmDktjA5tiXxaaipritpxCeCPxwuIQz6r5UeXOUlF9nVoNgKwZhOuYDEH6lQZUQ22q8sqR6w==","signatures":[{"sig":"MEQCIH7s5ZMHoSUAuGiZzwsTF3MUoRxyQrdIdlu4zUnWl01CAiBBOfYMqhMLmMgxClgBNyvE3qAIwhXJeAztHYGnJi2BRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":598690},"addon":true,"engines":{"bare":">=1.2.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"f3d333aedb7224602c93e3355e031cf6d34fc6fc","scripts":{"test":"standard && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"10.8.2","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.3_1726039253647_0.4104173639880977","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"bare-type","version":"1.0.4","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.4","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"f01c1b304666392e44c767082e4fb3ef0abbe7dc","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.4.tgz","fileCount":20,"integrity":"sha512-XDcv/qnG3q8CF/OJKHDQvMUW7jzsymAS4d2OfMCUDkJdzm4IkYEimesfTElgA1Bvu+aIbd78nlwR9rWytZgYcQ==","signatures":[{"sig":"MEUCIAEx/2Yk7G/kU/jTBfZZpC0cM22Zsn1ChXTgtmNsqopDAiEAlcTkEbieNs+LH6YUMxdFqVyKcrLVAy3nKa55LGbKs3A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":598594},"addon":true,"engines":{"bare":">=1.2.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"a1e5d7aed531c909792a36e1966ad963fb009344","scripts":{"test":"standard && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"10.8.3","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.4_1726218005129_0.2232611250239902","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"bare-type","version":"1.0.5","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.5","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"f05952763bdf65229441b8f01e0b864787b1f892","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.5.tgz","fileCount":20,"integrity":"sha512-B92Wddy7G9noHf1GHBEr0rsE+DkjeInQvRBeACVWZ9JJA8+pXzkQpWiy9z5CBXETG1GD3oHbH6aYC4rjMHjNBg==","signatures":[{"sig":"MEUCICUM9Ae5s1ljbRpKYpSaZrcSAWI6mjSafDrwrzljdCEcAiEA7LINuAs1IRsTHxokgL97CEscnC7r9TzGeelsIQPqmPI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":431920},"addon":true,"engines":{"bare":">=1.2.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"635d2059f144dcbe84d4484753ed82aec1f3540c","scripts":{"test":"standard && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"10.8.3","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","standard":"^17.0.0","cmake-bare":"^1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.5_1729409965500_0.39296112447347165","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"bare-type","version":"1.0.6","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.6","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"b4cc9e4942af18393875a124f7ba123acc496c22","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.6.tgz","fileCount":20,"integrity":"sha512-6QFeIIp1d06xU9BjDPkl8+QeHil3TKSDpIKUid6bQzwYvxFOnMVhAifRS3J0fvWirEMlWmqxDDKjHW8RPe6C3Q==","signatures":[{"sig":"MEQCIAD1RfhxsUa0J/Qw+mQM5rnXZjK3EwNwDaATD4txO4fQAiBLHG8L2fjB8MkYdj3qMZ+vbILMcz9cmGGxQuFNqD66cg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":376020},"addon":true,"engines":{"bare":">=1.2.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"89d2a150a14f454ebedf7d3f086c662a7325cbb6","scripts":{"test":"standard && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"10.9.0","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"23.2.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","standard":"^17.0.0","cmake-bare":"^1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.6_1732799959427_0.026116630984794886","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"bare-type","version":"1.0.7","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.7","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"c643252970941c7c55c0a40a6ecc2ac66d81a94f","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.7.tgz","fileCount":21,"integrity":"sha512-TDuAHh0fOFKb90Ru14DSSQFgKwpGtmosk4CexAykqCiRZ8Yg29DZ+SpFBUQqAQgGDATCfXVMX4K3xD19dXg3ug==","signatures":[{"sig":"MEYCIQCrYHw0oesnHZ/OYOFhbzdIuA9mS19KoShsMrubjV/n3AIhAIk//2NbQLVg9holA7+KyTIZD9/n9O2wsDihfKTBTXtN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":561208},"addon":true,"types":"./index.d.ts","engines":{"bare":">=1.2.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json"},"gitHead":"96e39b009f08120f7c804b7467059cc7b4b96ae7","scripts":{"test":"prettier . --check && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"11.3.0","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","prettier":"^3.4.1","cmake-bare":"^1.1.6","prettier-config-standard":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.7_1755198332020_0.9995045987965405","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"bare-type","version":"1.0.8","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.0.8","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"53854afe3cc89f0d962edd5d0da36f4f026f84f6","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.0.8.tgz","fileCount":21,"integrity":"sha512-7kKAjr5DziSehRe13OTRvsw74/BKgLcECZK37F8J1gnarNLZ1qwZMryC80JT+XryAqn1+vvTEJEBwgT6vhXqiQ==","signatures":[{"sig":"MEUCIQDa6tIa6ibT+Qv3ohexklghtkP8+q30vIXyd8UsAl99QgIgC8KAMmE1gNHl2IJIvf9fRa+iDnjTsVt3kOnbzQn0cRk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":558696},"addon":true,"types":"./index.d.ts","engines":{"bare":">=1.2.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json"},"gitHead":"e3afbb6641220223b82487cb1cd9eedd40f20822","scripts":{"test":"prettier . --check && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"11.5.2","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","prettier":"^3.4.1","cmake-bare":"^1.1.6","prettier-config-standard":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.0.8_1755765384792_0.08133912935309984","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"bare-type","version":"1.1.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.1.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"f5e2d7e120a2115205a7eb4436e21f7be5f4ff01","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.1.0.tgz","fileCount":21,"integrity":"sha512-LdtnnEEYldOc87Dr4GpsKnStStZk3zfgoEMXy8yvEZkXrcCv9RtYDrUYWFsBQHtaB0s1EUWmcvS6XmEZYIj3Bw==","signatures":[{"sig":"MEUCIQDMkxrIf797rKQYLl3RiXxnVqN1pKZR5R5aKgVjfYsoqAIgTNwP1gYSTDKGi6BrcPLxiVRMaw1VF5dYDtqOMTauRz8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":569157},"addon":true,"types":"./index.d.ts","engines":{"bare":">=1.2.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json"},"gitHead":"bf53ddb94330138483a1aa991bdc4fdb628d1d6f","scripts":{"test":"prettier . --check && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"11.6.1","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.4.0","prettier":"^3.4.1","cmake-bare":"^1.1.6","prettier-config-standard":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.1.0_1761302105183_0.3814298041733004","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"bare-type","version":"1.1.1","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.1.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"987a123b45a5c2d860b8be15ca33db7fa0315d29","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.1.1.tgz","fileCount":21,"integrity":"sha512-5HwbjDbnYr+Lwu5I59IqwOFcRcVo4jxo408t42gKhKnikw0ojwyPXPlx58AQP4dR2VvGw57ppX/qxYCn60Wujw==","signatures":[{"sig":"MEUCIBijb3MggAbESOYoFLVdXy7GL5+z+wd+K+/Q0zXIuuz/AiEAn72oMrf9LwtsM0cOgYtToklCytz05mJ7yKNrtdm1dC4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bare-type@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":541982},"addon":true,"types":"./index.d.ts","engines":{"bare":">=1.2.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json"},"gitHead":"33a5acd4dd335653f44c63f5c3117e973a290a6b","scripts":{"lint":"prettier --check . && lunte","test":"brittle-bare --coverage test.js","format":"prettier --write . && lunte --fix"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:26f91582-25e8-4d64-8d58-08c9e679e288"}},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"11.17.0","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.8.4","brittle":"^3.4.0","prettier":"^3.4.1","cmake-bare":"^1.1.6","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.1.1_1788248105903_0.7918883329804045","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"bare-type","version":"1.2.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.2.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"961edc441bfdd01ed87537f88b76bc1e658eb3c3","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.2.0.tgz","fileCount":21,"integrity":"sha512-ezfNV5zskrsVQkdaprY8XQ47gneuOzleIQj6eLnbzqnKPZNgOoMYyRBoDoG9vJhe/uUF1Xae6vHYBkv5oaXicg==","signatures":[{"sig":"MEUCICrCfXzh/KbPp3HXYRVFSHkvLGHMYl2spmwePYyncbj/AiEA8ewrgQZT1xX5+mqj1lgJvwR7gRBxTXzIk03iOO6US+A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEaGqi0QawpWHSNnNd7/pdcSllaR5JZ5DinPTJhVGEy0AiAXwhD/K2vOG5L+cWbwUy0fixGZtSU9uPLHRPMxdw4AXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bare-type@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":521603},"addon":true,"types":"./index.d.ts","engines":{"bare":">=1.32.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json"},"gitHead":"fcf09a42abac0ce1f7279545d9f5ef13c8792f27","scripts":{"lint":"prettier --check . && lunte","test":"brittle-bare --coverage test.js","format":"prettier --write . && lunte --fix"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:26f91582-25e8-4d64-8d58-08c9e679e288"}},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"11.19.0","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"24.20.0","_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.8.4","brittle":"^3.4.0","prettier":"^3.4.1","cmake-bare":"^1.1.6","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.2.0_1790062887263_0.7902299360241747","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"bare-type","version":"1.3.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-type@1.3.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/bare-type#readme","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"417c3fc4bff0ee5911f1e3560230c9b4aafc1934","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.3.0.tgz","fileCount":21,"integrity":"sha512-tkjQYFt36GSlF/0dFycMm+vGREy6YOgy08EXxuZ1C6wQgTWNT6VcILNUdU81vHTF0YDUVoIzxtpUs11uwl3ihg==","signatures":[{"sig":"MEYCIQCiZHB2mbxjOIdfbK4k6sHhe+5LFYogdMybc6gcbGxjgQIhAN+95erJ4j0lYJ7/hrFqgSkn5N4dNA8Tlx1voBAWha0K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDvcGUuHBEIo42fx0Sb4bxc9YLhTQiHI69K3MDG1cAdTwIhAIBW9O9RW4ZF6oNSX1Q4uvU56bnoAb2a8nrXaVoMweT/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bare-type@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":523939},"addon":true,"types":"./index.d.ts","engines":{"bare":">=1.32.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json"},"gitHead":"2988b3d37cc33a0f7bfce776e18c965a92a751dd","scripts":{"lint":"prettier --check . && lunte","test":"brittle-bare --coverage test.js","format":"prettier --write . && lunte --fix"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:26f91582-25e8-4d64-8d58-08c9e679e288"}},"repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"11.19.0","description":"Cross-realm type predicates for Bare","directories":{},"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.8.4","brittle":"^3.4.0","prettier":"^3.4.1","cmake-bare":"^1.1.6","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bare-type_1.3.0_1790078859909_0.5425855161081874","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"_id":"bare-type@1.4.0","bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"dist":{"shasum":"9b934310da899d50ca6a35f47455596dbdbd9ba7","tarball":"https://registry.npmjs.org/bare-type/-/bare-type-1.4.0.tgz","fileCount":21,"integrity":"sha512-6anDbVGruQLK8m6zxlCPNkUuxXnzChT1aOmJbFRjEGn8MWZqviFP6vGi9NAnG8aRXyRAfXIGLlBJwYGa4Ylcug==","signatures":[{"sig":"MEUCIEgCDkkUvfQDo7J6dW7nNTMl4/5vjBcsOLSFr2djvhVPAiEA+t0h/+4taTeP2G7OO4YgEjclofKMMTyGsOcn+EsYCEo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC0OVz16oUWE2FMTrcElU/gRQTJFMLUWRKQxdnRdFYG0AiBAhzvX57vkxLJVWOlFvUzIM727oil1u3Xn7I4sM7lM5Q=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bare-type@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":524738},"name":"bare-type","addon":true,"types":"./index.d.ts","author":{"name":"Holepunch"},"engines":{"bare":">=1.32.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json"},"gitHead":"fe0d873c9989d822a4ed9b0ed616ba8713284da2","license":"Apache-2.0","scripts":{"lint":"prettier --check . && lunte","test":"brittle-bare --coverage test.js","format":"prettier --write . && lunte --fix"},"version":"1.4.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:26f91582-25e8-4d64-8d58-08c9e679e288"}},"homepage":"https://github.com/holepunchto/bare-type#readme","repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"_npmVersion":"11.19.0","description":"Cross-realm type predicates for Bare","directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_nodeVersion":"24.20.0","_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.8.4","brittle":"^3.4.0","prettier":"^3.4.1","cmake-bare":"^1.1.6","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bare-type_1.4.0_1790149806277_0.3290427405551202"}}},"time":{"created":"2024-04-17T07:11:47.418Z","modified":"2026-09-23T07:50:06.756Z","1.0.0":"2024-04-17T07:11:47.570Z","1.0.1":"2024-08-29T08:24:27.734Z","1.0.2":"2024-09-02T07:26:51.525Z","1.0.3":"2024-09-11T07:20:54.025Z","1.0.4":"2024-09-13T09:00:05.337Z","1.0.5":"2024-10-20T07:39:25.679Z","1.0.6":"2024-11-28T13:19:19.664Z","1.0.7":"2025-08-14T19:05:32.317Z","1.0.8":"2025-08-21T08:36:25.017Z","1.1.0":"2025-10-24T10:35:05.435Z","1.1.1":"2026-09-01T07:35:06.109Z","1.2.0":"2026-09-22T07:41:27.375Z","1.3.0":"2026-09-22T12:07:40.007Z","1.4.0":"2026-09-23T07:50:06.362Z"},"bugs":{"url":"https://github.com/holepunchto/bare-type/issues"},"author":{"name":"Holepunch"},"license":"Apache-2.0","homepage":"https://github.com/holepunchto/bare-type#readme","repository":{"url":"git+https://github.com/holepunchto/bare-type.git","type":"git"},"description":"Cross-realm type predicates for Bare","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"readme":"# bare-type\n\nCross-realm type predicates for Bare.\n\n```\nnpm i bare-type\n```\n\n## Usage\n\n```js\nconst type = require('bare-type')\n\nif (type(123).isNumber()) {\n  console.log(123, 'is a number')\n}\n```\n\nTo test a value against many types at once, switch on `type.of()` rather than walking the predicates. Every constant carries its base type, so each one matches outright:\n\n```js\nconst type = require('bare-type')\n\nconst { ARRAY, DATE, MAP } = type.constants\n\nswitch (type.of(value)) {\n  case ARRAY:\n    return value.length\n  case DATE:\n    return value.getTime()\n  case MAP:\n    return value.size\n}\n```\n\n## API\n\nSee the [`bare-type` reference](https://docs.pears.com/reference/bare/modules/bare-type).\n\n## Threat model\n\n`bare-type` is one of the addons Bare compiles into its binary, so it inherits [Bare's threat model](https://github.com/holepunchto/bare/blob/main/docs/threat-model.md). See [`docs/threat-model.md`](docs/threat-model.md) for where this addon sits in it.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}