{"_id":"@3xpo/strfmt","_rev":"2-f419f69205141484d07b646377ab4fd6","name":"@3xpo/strfmt","description":"String Formatting Utility","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@3xpo/strfmt","version":"0.1.0","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/strfmt@0.1.0","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/strfmt/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"d8eb3dec4e8c25f02cf844cfb92e709943732671","tarball":"https://registry.npmjs.org/@3xpo/strfmt/-/strfmt-0.1.0.tgz","fileCount":12,"integrity":"sha512-TaHQgUum8ntCnxU08SvnC2ze+feCkAup+9cxGFn5mwn2taHRUspodqglOWgsrnSFhy3FAH7NirfLiYEM+27Kpg==","signatures":[{"sig":"MEUCIA2POFJD6LR4e8pNedhPBLo6k/iHfC96i2nN5llH83U/AiEAuNXHBUokvEjb6zrxnvihNc2kxlKdwDc1IxzYjH7DIxw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13447},"type":"module","_from":"file:3xpo-strfmt-0.1.0.tgz","engines":{"node":">=v20.0.0"},"scripts":{"dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build\"","test":"jest","build":"tsc"},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/668265eeec1eb0ca6314e387b1788586/3xpo-strfmt-0.1.0.tgz","_integrity":"sha512-TaHQgUum8ntCnxU08SvnC2ze+feCkAup+9cxGFn5mwn2taHRUspodqglOWgsrnSFhy3FAH7NirfLiYEM+27Kpg==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/strfmt/"},"_npmVersion":"10.8.0","description":"String Formatting Utility","directories":{},"_nodeVersion":"22.1.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.21.5","nodemon":"^3.1.3","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.17"},"_npmOperationalInternal":{"tmp":"tmp/strfmt_0.1.0_1718702472060_0.8134522179118833","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@3xpo/strfmt","version":"0.1.1","author":{"name":"Expo"},"license":"MIT","_id":"@3xpo/strfmt@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/pkgs/src/branch/senpai/packages/@3xpo/strfmt/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"dist":{"shasum":"bb183c808eee4276aabd30a6cee8660fbde5c7e8","tarball":"https://registry.npmjs.org/@3xpo/strfmt/-/strfmt-0.1.1.tgz","fileCount":11,"integrity":"sha512-ywgUA/njGC9pBuLNVq9lNcasmZCOLr53LZ7EdmLd91tETwh5BBoX+iMhPtX7F3iIBQGQW2mBQaejwjo/S/HsVA==","signatures":[{"sig":"MEYCIQC7pNYtGsyUySWu+yVK+ud229hWYVto1kaL0sAfgLaWOQIhANRmyTnXG/M/G6yyzM1MPvZiqA/nEo983vqBefVgeX22","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23856},"main":"./dist/lib.bundle.min.cjs","type":"module","_from":"file:3xpo-strfmt-0.1.1.tgz","types":"./dist/lib.d.ts","module":"./dist/lib.bundle.min.mjs","engines":{"node":">=v20.0.0"},"exports":{".":{"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\"","test":"jest","build":"concurrently \"npm:build:*\"","build:js":"es-many --args \"./src/lib.ts --sourcemap --packages=external\" --output dist/lib --minify true --bundle true --format cjs,esm --platform neutral","build:dts":"tsc --emitDeclarationOnly --declaration"},"typings":"./dist/lib.d.ts","_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"_resolved":"/tmp/23595f66a8e5526eeab9e991f0568888/3xpo-strfmt-0.1.1.tgz","_integrity":"sha512-ywgUA/njGC9pBuLNVq9lNcasmZCOLr53LZ7EdmLd91tETwh5BBoX+iMhPtX7F3iIBQGQW2mBQaejwjo/S/HsVA==","repository":{"url":"https://codeberg.org/Expo/pkgs.git","type":"git","directory":"packages/@3xpo/strfmt/"},"_npmVersion":"10.8.0","description":"String Formatting Utility","directories":{},"_nodeVersion":"22.1.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.21.5","nodemon":"^3.1.3","concurrently":"^8.2.2","@3xpo/es-many":"^0.2.17"},"_npmOperationalInternal":{"tmp":"tmp/strfmt_0.1.1_1718702679810_0.9710040796457213","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@3xpo/strfmt","version":"0.1.2","description":"String Formatting Utility","homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/strfmt/","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/strfmt/"},"license":"MIT","author":{"name":"Expo"},"contributors":[{"name":"Expo","email":"expo@expo.moe","url":"https://codeberg.org/Expo"}],"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","default":"./dist/lib.bundle.min.mjs"}},"devDependencies":{"concurrently":"^8.2.2","esbuild":"^0.21.5","jest":"^29.7.0","nodemon":"^3.1.3","@3xpo/es-many":"^0.2.17"},"engines":{"node":">=v20.0.0"},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"scripts":{"build":"concurrently \"npm:build:*\"","build:dts":"tsc --emitDeclarationOnly --declaration","build:js":"es-many --args \"./src/lib.ts --sourcemap --packages=external\" --output dist/lib --minify true --bundle true --format cjs,esm --platform neutral","test":"jest","dev":"nodemon --watch src -e ts,json,env --delay 50ms --exec \"npm run build\""},"_id":"@3xpo/strfmt@0.1.2","_integrity":"sha512-3vkWmWENocRWrx86ek75kFgkDm5nsdOj1JjcR04H13PrXn+cg3x+Do/c8ggQCCKBNEtE1FxDaN5gNyalrNOf1Q==","_resolved":"/tmp/d119755146733f4f48fc3a795ca918d5/3xpo-strfmt-0.1.2.tgz","_from":"file:3xpo-strfmt-0.1.2.tgz","_nodeVersion":"22.1.0","_npmVersion":"10.8.0","dist":{"integrity":"sha512-3vkWmWENocRWrx86ek75kFgkDm5nsdOj1JjcR04H13PrXn+cg3x+Do/c8ggQCCKBNEtE1FxDaN5gNyalrNOf1Q==","shasum":"42517b4279dd1466b8bbec80cc29b8c1fa911ede","tarball":"https://registry.npmjs.org/@3xpo/strfmt/-/strfmt-0.1.2.tgz","fileCount":11,"unpackedSize":23907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBj9usQt68Veg6hGthhysy+rjgLyoHGFbPrCYWhWfP+BAiEA+lAfXxK3nxjL1ccnDKBFE+5Im7WP9a+UkSpPPyvOJ9s="}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strfmt_0.1.2_1718702806488_0.7744519662840714"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-18T09:21:11.944Z","modified":"2024-06-18T09:26:46.875Z","0.1.0":"2024-06-18T09:21:12.196Z","0.1.1":"2024-06-18T09:24:39.952Z","0.1.2":"2024-06-18T09:26:46.644Z"},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"author":{"name":"Expo"},"repository":{"type":"git","url":"https://codeberg.org/Expo/pkgs.git","directory":"packages/@3xpo/strfmt/"},"license":"MIT","homepage":"https://codeberg.org/Expo/pkgs/src/branch/senpai/packages/@3xpo/strfmt/","bugs":{"url":"https://codeberg.org/Expo/pkgs/issues","email":"expo@expo.moe"},"readme":"# @3xpo/strfmt\n\nImplementation of sprintf in TypeScript\n\n## Installation\n\n```\npnpm i @3xpo/strfmt\n```\n\n## Usage\n\n```ts\nimport { strfmt } from '@3xpo/strfmt';\n\nconst result = strfmt('Hello, %s!', 'world');\nconsole.log(result); // Hello, world!\n```\n\n## Spec\n\nBased on [sprintf-js](https://www.npmjs.com/package/sprintf-js#format-specification)' specification.\n\n## Vendoring\n\nThis package mainly exists because I didn't want to add another external package to my supply chain, hence this package was made _very_ easy to vendor. Simply drop in [the 2 files in the `src` directory](https://codeberg.org/Expo/Pkgs/src/branch/senpai/packages/@3xpo/strfmt/src), and import those instead of `@3xpo/strfmt`.<br/>\nOf course, remember to review them before using them if you don't trust me :)\n","readmeFilename":"README.md","contributors":[{"name":"Expo","email":"expo@expo.moe","url":"https://codeberg.org/Expo"}]}