{"_id":"@3xpo/promi","_rev":"11-60e1acd217ea3f548cb491b22ceef4a2","name":"@3xpo/promi","description":"Promisify a callback function","dist-tags":{"latest":"0.1.12"},"versions":{"0.1.1":{"name":"@3xpo/promi","version":"0.1.1","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.1","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/devtools/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/devtools/issues","email":"expo@expo.moe"},"dist":{"shasum":"9b83bdf604c9572949619574fb96e0d309eb129f","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.1.tgz","fileCount":10,"integrity":"sha512-ezbZFsHQqANPl31JnGXuJQ09byFZIlGhgw4VNGf10ujhiEeK2/rECKkYz98i1gKYrZnBv1RIc2OR/U2FL/DuTg==","signatures":[{"sig":"MEQCIAhmMXpZ7evnMAxBB8DEtFCwccPEptGpNAAn/XcQZSy2AiAQsVv8pSU62zTR8++XCSWXSbR+b5DvmYTYplwu7vlq8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21576},"main":"./dist/lib.node.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.1.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.node.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.node.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.node.bundle.min.mjs","default":"./dist/lib.node.bundle.min.mjs","require":"./dist/lib.node.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform node --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/998ecd5d3e491f6890c8e26a43657d5b/3xpo-promi-0.1.1.tgz","_integrity":"sha512-ezbZFsHQqANPl31JnGXuJQ09byFZIlGhgw4VNGf10ujhiEeK2/rECKkYz98i1gKYrZnBv1RIc2OR/U2FL/DuTg==","repository":{"url":"https://codeberg.org/Expo/devtools.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"21.5.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.19.11","nodemon":"^3.0.2","ts-jest":"^29.1.1","@types/jest":"^29.5.11","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.6"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.1_1704532594673_0.4913042342586913","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@3xpo/promi","version":"0.1.2","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.2","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/devtools/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/devtools/issues","email":"expo@expo.moe"},"dist":{"shasum":"3607b104bbb5448dbf3ebf53ef3df42513125bb3","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.2.tgz","fileCount":10,"integrity":"sha512-IGsjYn8kTqQvlL+OyIxrW6xAthVcdJE/RWgCRgWDRVufnfiTKi1xIt1Wb6yYKxPYk0pnjIDScD7ObIuRupAImw==","signatures":[{"sig":"MEUCIFkEQ+wA9VCcLJxtY2RaLibQ76ACQGHxXoU3SH+m0wv3AiEAjxvPfQUU7oEgn6fKCMZDZtLDznCs7zYJRo5iTHetIBQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21469},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.2.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/094e1b6cf5ce2082001cc8d7f5af7fff/3xpo-promi-0.1.2.tgz","_integrity":"sha512-IGsjYn8kTqQvlL+OyIxrW6xAthVcdJE/RWgCRgWDRVufnfiTKi1xIt1Wb6yYKxPYk0pnjIDScD7ObIuRupAImw==","repository":{"url":"https://codeberg.org/Expo/devtools.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"21.5.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.19.11","nodemon":"^3.0.2","ts-jest":"^29.1.1","@types/jest":"^29.5.11","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.7"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.2_1704534603923_0.9777981115042595","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@3xpo/promi","version":"0.1.3","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.3","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/devtools/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/devtools/issues","email":"expo@expo.moe"},"dist":{"shasum":"ffe37c78ddfa3f64697521d093f932a5984dfa72","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.3.tgz","fileCount":10,"integrity":"sha512-T3e3IEFiqWj+CO2aLHNcuBweUBvo64I8rC4wTWjBrApPImDTo25FnNIUa4r5CrgKGYeqUEKp2IOfbh3evMD1FA==","signatures":[{"sig":"MEQCIDWspbAW+aJJOzYGyfU3umwi5DCV/rw2yyJhhr3MDUOhAiAeNgs7JO7K87hQJOvQrsAyj1//BPnUcucEQKs/Uja6tQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21652},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.3.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/581c90f12b2918e4b7700e57893f22ad/3xpo-promi-0.1.3.tgz","_integrity":"sha512-T3e3IEFiqWj+CO2aLHNcuBweUBvo64I8rC4wTWjBrApPImDTo25FnNIUa4r5CrgKGYeqUEKp2IOfbh3evMD1FA==","repository":{"url":"https://codeberg.org/Expo/devtools.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"21.6.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.19.11","nodemon":"^3.0.3","ts-jest":"^29.1.1","@types/jest":"^29.5.11","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.8"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.3_1705870412452_0.10900937206383343","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@3xpo/promi","version":"0.1.4","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.4","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/devtools/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/devtools/issues","email":"expo@expo.moe"},"dist":{"shasum":"854587a7d3ea6bfa55ec39c00886cc1b6f91dd98","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.4.tgz","fileCount":10,"integrity":"sha512-OFCa1MsyVNHmqKnkM/LeEZkmTB3QqU1SChrdi/EzCQN5hBsWxVvjGqiNqCvH2LV/6/Ioe3jzQEbimJNqdQtYpA==","signatures":[{"sig":"MEQCICS4hYyn5VG5NOSQAX8pg95WxjJspcWrlUZnDFy4M13uAiAVW/r5ba8p08HM6v+AZb189nsYnCx76PbHTM0HpaIkTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21651},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.4.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/48fbd5899f2f128ee51191199758b315/3xpo-promi-0.1.4.tgz","_integrity":"sha512-OFCa1MsyVNHmqKnkM/LeEZkmTB3QqU1SChrdi/EzCQN5hBsWxVvjGqiNqCvH2LV/6/Ioe3jzQEbimJNqdQtYpA==","repository":{"url":"https://codeberg.org/Expo/devtools.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"21.6.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.20.0","nodemon":"^3.0.3","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.9"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.4_1707096290879_0.6007781691004475","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@3xpo/promi","version":"0.1.5","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.5","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"fb7536421c075de44448106c0aed9699001f36b7","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.5.tgz","fileCount":10,"integrity":"sha512-L/rmoYHFVt2XCHLWDqOuNBi46gR9k+Es+ccf986LC9karqX9Ls9ZsXYuOcL2ckigpbbqkJxoVtbZ9NDu2gz2Uw==","signatures":[{"sig":"MEQCIDj8fld4jcEArRb4a3p4erEjc27VaGGSNd4blQgmYCEkAiApoqzqhj99csEjLgygEBDKQyvmnopllEG7wBvG69lmEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21640},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.5.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/d532795b6e247127c963eeb53d07477c/3xpo-promi-0.1.5.tgz","_integrity":"sha512-L/rmoYHFVt2XCHLWDqOuNBi46gR9k+Es+ccf986LC9karqX9Ls9ZsXYuOcL2ckigpbbqkJxoVtbZ9NDu2gz2Uw==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"21.6.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.20.0","nodemon":"^3.0.3","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.10"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.5_1707114209831_0.9601647469289136","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@3xpo/promi","version":"0.1.6","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.6","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"b1abe6c1854c8650cea03587715cbb4dbb1c1820","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.6.tgz","fileCount":10,"integrity":"sha512-vPN8m6rpY+uuTCZj+/cKcRXz8B824qmMF2d7XBmZ9t5FufYra9oUDhfviGWR/DRPRt/Imy5s9mQ+nwYz8fHYfA==","signatures":[{"sig":"MEYCIQDcbPUfX6IEz3EoevEnU/nCjlPoO/ue9NrZ2JBWJ2HL2AIhAMPQdv+y9mEpS+ETl4Vpl8d3HAF7xXRxh2n479ffrjH9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21640},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.6.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/6265cf0b71746aadc8c33732a8007c93/3xpo-promi-0.1.6.tgz","_integrity":"sha512-vPN8m6rpY+uuTCZj+/cKcRXz8B824qmMF2d7XBmZ9t5FufYra9oUDhfviGWR/DRPRt/Imy5s9mQ+nwYz8fHYfA==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.20.1","nodemon":"^3.1.0","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.11"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.6_1708932427091_0.557454867517013","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@3xpo/promi","version":"0.1.7","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.7","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"c46da2ad874dcc595da669cd07e72e75c8551098","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.7.tgz","fileCount":11,"integrity":"sha512-xk7dVmT2aNB03WocDs1Kmu7JXiX9zZKVYTwDxBIPOTkvcLcBV4KdKaK5EGO0//t+3P2N/TAquf/+sYjvf4TiIw==","signatures":[{"sig":"MEQCID4UJK66QIhEQywjMECWAJyw04MPSreflx98P9kNu5gsAiBhamFaBznlbx/WNkDT+mR0rwb2wUz9N/eNu9B7d3Y+Fg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24596},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.7.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/2d87b3ab1428ddcf44880b9d0915ff6d/3xpo-promi-0.1.7.tgz","_integrity":"sha512-xk7dVmT2aNB03WocDs1Kmu7JXiX9zZKVYTwDxBIPOTkvcLcBV4KdKaK5EGO0//t+3P2N/TAquf/+sYjvf4TiIw==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.20.1","nodemon":"^3.1.0","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.12"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.7_1711046132823_0.21453474108195758","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@3xpo/promi","version":"0.1.8","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.8","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"a9fa20cca7e3cffaa2ed0072e6ad1b877b7d5943","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.8.tgz","fileCount":11,"integrity":"sha512-Jkzmi0B4SvTL/wXDpNTS/UpMkV4cWscxn89Ge4A3dO+Z1/Fr78DJR43oWhs8ee4SR2/RoaNBZZX2zVw808QEVQ==","signatures":[{"sig":"MEUCIAfy0wivE9pFHPYR5Jf7CihRZNd+hyhbBDFLuOMLOU2RAiEA32aCFV4Cj3mvE9liidUc3AVm1myCoenp8leO9riTZHI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24662},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.8.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/9b9fb9683b6d497d3afdb58db9143240/3xpo-promi-0.1.8.tgz","_integrity":"sha512-Jkzmi0B4SvTL/wXDpNTS/UpMkV4cWscxn89Ge4A3dO+Z1/Fr78DJR43oWhs8ee4SR2/RoaNBZZX2zVw808QEVQ==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.20.1","nodemon":"^3.1.0","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.13"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.8_1711047273384_0.4609465512129003","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@3xpo/promi","version":"0.1.9","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.9","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"f50f1598a13e27ea3230f50bab821ab2ad6ef8c3","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.9.tgz","fileCount":11,"integrity":"sha512-Imz+lhBo47SaTHlCUX2x/XK/KQuPffpLAVjmmeCl0Y7gr6F0ypytm1C1k5cwAKr4kAUVlmDd2BAdiXG9non4Qw==","signatures":[{"sig":"MEUCIDEAkFLT6kAVZ8/aF8WIhSqSiFzG8rgUdy23XHcBCXvjAiEAws+c6tsrVm33fhUYBUTGfbaCrBilyXBogmGJjZEkvog=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24824},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.9.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/b9e2ea75f68006b3895dba4ac1062ce1/3xpo-promi-0.1.9.tgz","_integrity":"sha512-Imz+lhBo47SaTHlCUX2x/XK/KQuPffpLAVjmmeCl0Y7gr6F0ypytm1C1k5cwAKr4kAUVlmDd2BAdiXG9non4Qw==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.2.4","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.20.2","nodemon":"^3.1.0","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.14"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.9_1711047651196_0.5257766679235576","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"@3xpo/promi","version":"0.1.10","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.10","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"d940c1eb3d305a82909e4a09121b4ca418e93676","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.10.tgz","fileCount":11,"integrity":"sha512-FHYbz4eA291EdXqEiFvHwwVgC1zc3oDgMe3wgIo4RhY4yJmCb+Jl6Cm+pFdhvfXjG6c0mfOi22a7USgll+M29Q==","signatures":[{"sig":"MEYCIQDcIDBnbPvDW7339qsFwGRUe4LHoMvilFo/LqmYJ4OghAIhANZHqbhOxgnqRUUHEe4EYyTDcqPZWxyKXvwBIRoeYmcd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25116},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.10.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/eac1409b19c31a0aebafa5a657e8e97e/3xpo-promi-0.1.10.tgz","_integrity":"sha512-FHYbz4eA291EdXqEiFvHwwVgC1zc3oDgMe3wgIo4RhY4yJmCb+Jl6Cm+pFdhvfXjG6c0mfOi22a7USgll+M29Q==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.5.1","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"22.0.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.20.2","nodemon":"^3.1.0","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.15"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.10_1714495347286_0.7441948465321593","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"@3xpo/promi","version":"0.1.11","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/promi@0.1.11","maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"contributors":[{"url":"https://codeberg.org/Expo","name":"Expo","email":"expo@expo.moe"}],"homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"2dfd0f8b8362664c4129402e34775c628e0d5319","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.11.tgz","fileCount":11,"integrity":"sha512-emO4yuhGJy1PQwbnInfntyAYC7hEvijUP717L756k99vN/ZBSMMNRfYNp8/iHBkcXR68l7ndVk5pUh+OMn/sSA==","signatures":[{"sig":"MEUCIQD/g4uFWKWQ7vHalG7ufz3OoA9056glcXQJTjYAVWcEngIgGfwB/uaykt0LTO38ApgCsJwyUABDoFlO0h/OCoCMJIw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25171},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-promi-0.1.11.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","source":"./src/lib.ts","engines":{"node":">=v20.0.0"},"exports":{".":{"node":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs"}},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","build:ts":"tsc --emitDeclarationOnly"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/131f676e922184f1209dbbba35fced39/3xpo-promi-0.1.11.tgz","_integrity":"sha512-emO4yuhGJy1PQwbnInfntyAYC7hEvijUP717L756k99vN/ZBSMMNRfYNp8/iHBkcXR68l7ndVk5pUh+OMn/sSA==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/promi/"},"_npmVersion":"10.8.0","description":"Promisify a callback function","directories":{},"displayName":"Promi","_nodeVersion":"22.1.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.21.3","nodemon":"^3.1.0","ts-jest":"^29.1.2","@types/jest":"^29.5.12","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.16"},"_npmOperationalInternal":{"tmp":"tmp/promi_0.1.11_1716180018806_0.19040211216569491","host":"s3://npm-registry-packages"}},"0.1.12":{"name":"@3xpo/promi","displayName":"Promi","version":"0.1.12","description":"Promisify a callback function","homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"repository":{"type":"git","url":"https://codeberg.org/Expo/pkgs.git","directory":"packages/@3xpo/promi/"},"license":"MIT","author":{"name":"Expo"},"contributors":[{"name":"Expo","email":"expo@expo.moe","url":"https://codeberg.org/Expo"}],"source":"./src/lib.ts","type":"module","main":"./dist/lib.bundle.min.cjs","module":"./dist/lib.bundle.min.mjs","types":"./dist/lib.d.ts","typings":"./dist/lib.d.ts","exports":{".":{"types":"./dist/lib.d.ts","import":"./dist/lib.bundle.min.mjs","require":"./dist/lib.bundle.min.cjs","node":"./dist/lib.bundle.min.mjs","default":"./dist/lib.bundle.min.mjs"}},"devDependencies":{"@types/jest":"^29.5.12","concurrently":"^8.2.2","esbuild":"^0.21.5","jest":"^29.7.0","nodemon":"^3.1.3","ts-jest":"^29.1.5","@3xpo/es-many":"^0.2.17"},"engines":{"node":">=v20.0.0"},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build && npm run test\"","build":"concurrently \"npm:build:*\"","build:ts":"tsc --emitDeclarationOnly","build:js":"esmany --args \"\\\"src/lib.ts\\\" --sourcemap --packages=external\" --platform neutral --format esm,cjs --bundle true --output dist/lib","test":"jest"},"_id":"@3xpo/promi@0.1.12","_integrity":"sha512-KDh7uNr6le1Gc1QUeC2p0Vs63gXbTjlM34QUHucTa+vt22gEHLfMVAYbVIQOAo4p9kjSs/ePjyL1R7fC41Sw8Q==","_resolved":"/tmp/0e24b30ac8a1a977e991c85b6f064ab0/3xpo-promi-0.1.12.tgz","_from":"file:3xpo-promi-0.1.12.tgz","_nodeVersion":"22.1.0","_npmVersion":"10.8.0","dist":{"integrity":"sha512-KDh7uNr6le1Gc1QUeC2p0Vs63gXbTjlM34QUHucTa+vt22gEHLfMVAYbVIQOAo4p9kjSs/ePjyL1R7fC41Sw8Q==","shasum":"184472998ef5a1a7fb32df91e0c1cafd6d2ac85f","tarball":"https://registry.npmjs.org/@3xpo/promi/-/promi-0.1.12.tgz","fileCount":11,"unpackedSize":25226,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBdWJjnlt0V4ttsbWDWXufem6WjMLKv+Rhe3Wn6IiTklAiALr/dMhuRiKM0d8fpFcxhXc1phjRw4TGu/r/ldKLG3rA=="}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promi_0.1.12_1718702311375_0.07235136032636635"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-06T09:16:34.580Z","modified":"2024-06-18T09:18:31.798Z","0.1.1":"2024-01-06T09:16:34.873Z","0.1.2":"2024-01-06T09:50:04.103Z","0.1.3":"2024-01-21T20:53:32.640Z","0.1.4":"2024-02-05T01:24:51.088Z","0.1.5":"2024-02-05T06:23:30.012Z","0.1.6":"2024-02-26T07:27:07.245Z","0.1.7":"2024-03-21T18:35:32.987Z","0.1.8":"2024-03-21T18:54:33.583Z","0.1.9":"2024-03-21T19:00:51.388Z","0.1.10":"2024-04-30T16:42:27.448Z","0.1.11":"2024-05-20T04:40:18.938Z","0.1.12":"2024-06-18T09:18:31.611Z"},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"author":{"name":"Expo"},"repository":{"type":"git","url":"https://codeberg.org/Expo/pkgs.git","directory":"packages/@3xpo/promi/"},"license":"MIT","homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/promi/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"readme":"# @3xpo/promi\n\nDependency-free, Typesafe library for converting callback-based asynchronous functions into promises in NodeJS.\n\n## Installation\n\n```zsh\npnpm i @3xpo/promi\n```\n\n## Usage\n\nThe below `brotliCompress`/`brotliDecompress` functions are just used as an example. You can use any function where the last value is a callback (ie `arg1,arg2,arg3,callback`).\n\n### Promi.wrap\n\nWraps a function. Depends on the first parameter being an error of some kind. Returns a function that returns a promise.\n\nIf the callback only gets `err, value`, it will return just `value` - if it, however, gets `(err, ...value)` (where ...value has a length not equal to 1), it will return `value` as an array.\n\nThis is the intended way to use Promi. It uses [Promi.wrapPromise](#promiwrappromise) under the hood.\n\n```ts\n// import\nimport {\n  brotliCompress as callbackBrotliCompress,\n  brotliDecompress as callbackBrotliDecompress,\n} from 'zlib';\nimport Promi from '@3xpo/promi';\n\n// wrap the functions\nconst brotliCompress = Promi.wrap(brotliDecompress),\n  brotliDecompress = Promi.wrap(brotliDecompress);\n\n// in an async function\nconsole.log(await brotliDecompress(await brotliCompress('test'))); // => 'test'\n```\n\n### Promi.call\n\nSmall wrapper around [Promi.wrap](#promiwrap) to call the function immediately.\n\n```ts\n// import\nimport { brotliCompress, brotliDecompress } from 'zlib';\nimport Promi from '@3xpo/promi';\n\n// in an async function\nconsole.log(\n  await Promi.call(brotliDecompress, await Promi.call(brotliCompress, 'test')),\n); // => 'test'\n```\n\n### Promi.wrapPromise\n\nDirectly wraps a function, returning an array of return values. This will always return a function which returns an array, even if the array only includes one value.\n\n```ts\nimport {\n  brotliCompress as callbackBrotliCompress,\n  brotliDecompress as callbackBrotliDecompress,\n} from 'zlib';\nimport Promi from '@3xpo/promi';\n\nconst brotliCompress = Promi.wrapPromise(callbackBrotliCompress);\nconst brotliDecompress = Promi.wrapPromise(callbackBrotliDecompress);\nconst [err, compressed] = await brotliCompress('test');\nif (err) throw err;\nconst [err2, decompressed] = await brotliDecompress(compressed);\nif (err2) throw err2;\nconsole.log(decompressed); // => 'test'\n```\n\n### Promi.callPromise\n\n[Promi.call](#promicall), for [Promi.wrapPromise](#promiwrappromise)\n\n```ts\nimport { brotliCompress, brotliDecompress } from 'zlib';\nimport Promi from '@3xpo/promi';\n\nconst [err, compressed] = await Promi.callPromise(brotliCompress, 'test');\nif (err) throw err;\nconst [err2, decompressed] = await Promi.wrapPromise(\n  brotliDecompress,\n  compressed,\n);\nif (err2) throw err2;\nconsole.log(decompressed); // => 'test'\n```\n","readmeFilename":"README.md","contributors":[{"name":"Expo","email":"expo@expo.moe","url":"https://codeberg.org/Expo"}]}