{"_id":"combo","_rev":"14-c393244a6e1a86d3b51cfac86290c95c","time":{"modified":"2023-12-06T14:25:53.714Z","created":"2023-12-06T14:01:19.999Z","0.0.1":"2011-09-27T03:58:48.132Z","0.1.0":"2023-12-06T14:01:20.205Z","0.1.1":"2023-12-06T14:11:58.875Z","0.1.2":"2023-12-06T14:23:09.878Z","0.1.2-triage":"2023-12-06T14:24:01.810Z","0.1.3":"2023-12-06T14:25:53.556Z"},"name":"combo","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"combo","version":"0.1.0","scripts":{"build":"tsup","watch":"tsup --watch"},"source":"src/index.ts","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","devDependencies":{"@types/node":"^20.10.3","tsup":"^8.0.1","typescript":"^5.3.2"},"_id":"combo@0.1.0","gitHead":"584a7d0f32507211e7213d8b52352657c1945c0e","description":"Combo lets you build static APIs.","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-cxofpPTmmE+0bCSYtgXVycAlma5ZNRP1aGGyPLeVM2mBm7t0CbQ/W6ywCPy1nxB1k3hPiB78FCAGZXsTeOHIHQ==","shasum":"6ea563edad114928d10919184fd88b4390d94898","tarball":"https://registry.npmjs.org/combo/-/combo-0.1.0.tgz","fileCount":15,"unpackedSize":28283,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNiV9mOQV49pERdH8NL40IS1LqcL+YP4rhOfUMojQazQIhAIxYVmPGPdIxE+aE/03+yL1CHCXkcO+8Z0b5R0iKe0Uq"}]},"_npmUser":{"name":"funkeh","email":"josef@kitsch.digital"},"directories":{},"maintainers":[{"name":"funkeh","email":"josef@kitsch.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combo_0.1.0_1701871280000_0.6084465050294099"},"_hasShrinkwrap":false},"0.1.1":{"name":"combo","version":"0.1.1","license":"Zlib","homepage":"https://gitlab.com/screamzone/combo","description":"Combo lets you build static APIs.","keywords":["static","api","generator","data"],"repository":{"type":"git","url":"git+https://gitlab.com/screamzone/combo.git"},"bugs":{"url":"https://gitlab.com/screamzone/combo/-/issues"},"scripts":{"build":"tsup","watch":"tsup --watch"},"source":"src/index.ts","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","devDependencies":{"@types/node":"^20.10.3","tsup":"^8.0.1","typescript":"^5.3.2"},"_id":"combo@0.1.1","gitHead":"b0de5eece771a4f47df4732c509182de9523ee69","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-1HiXwugLfgCWzZ1mp/q/V1WgL+Hi5u8KUZu/NrQVrCx25iHs8uZev4TY9bjGfiE+NtaAmqmUqvupUAW7YDU3CA==","shasum":"0a22bc074f0cd9729017ebb6418ecc632f8683fb","tarball":"https://registry.npmjs.org/combo/-/combo-0.1.1.tgz","fileCount":15,"unpackedSize":28646,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCad7wXdzBcPHcGuXzENV8CMpljPGYUpEbi6mt4O5CnpgIgbucXfuPoFfEPIOHz+NW5OU6ogy4YQNifBm0oLve5rpE="}]},"_npmUser":{"name":"funkeh","email":"josef@kitsch.digital"},"directories":{},"maintainers":[{"name":"funkeh","email":"josef@kitsch.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combo_0.1.1_1701871918675_0.7381196892968733"},"_hasShrinkwrap":false},"0.1.3":{"name":"combo","version":"0.1.3","license":"Zlib","homepage":"https://gitlab.com/screamzone/combo","description":"Combo lets you build static APIs.","keywords":["static","api","generator","data"],"repository":{"type":"git","url":"git+https://gitlab.com/screamzone/combo.git"},"bugs":{"url":"https://gitlab.com/screamzone/combo/-/issues"},"scripts":{"build":"tsup","watch":"tsup --watch"},"source":"src/index.ts","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","devDependencies":{"@types/node":"^20.10.3","tsup":"^8.0.1","typescript":"^5.3.2"},"_id":"combo@0.1.3","gitHead":"700013c38bae1066955e6f677a81daa26cb90f2d","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-XxjzwJbYrAK5yq8uj9vrqBBBjABcRH+pGZkKXiYI84uMghAZzVVE/Td9PIns+TlQqvZeM4dFV+NUVMTJRsAslw==","shasum":"d2a99ca53c9a1c873c30b86abf9b0a86c751c254","tarball":"https://registry.npmjs.org/combo/-/combo-0.1.3.tgz","fileCount":15,"unpackedSize":26037,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDz5GqdbJna0rcdtZC0q+oGoYFgeCO4WqjHW76V5WOWHAiEA3GtpYzUm6t3fsl48pzNQEL3eLJF+XxDzQq5so1HHIyc="}]},"_npmUser":{"name":"funkeh","email":"josef@kitsch.digital"},"directories":{},"maintainers":[{"name":"funkeh","email":"josef@kitsch.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combo_0.1.3_1701872753234_0.0789501291058925"},"_hasShrinkwrap":false}},"maintainers":[{"name":"funkeh","email":"josef@kitsch.digital"}],"description":"Combo lets you build static APIs.","readme":"# Combo\n\nCombo lets you build static APIs.\n\nThis is achieved by processing a given data source into a folder structure containing JSON files (without extensions). This folder structure can be hosted on services such as GitLab Pages.\n\n## Name\n\nThe usefulness of this library comes from its ability to combine raw data with transformations in order to create useful, static APIs.\n\n## Notice\n\nCombo is in **early development**. It will contain bugs and is subject to change at any time.\n\n## Installation\n\n```bash\nnpm install combo\n```\n\n## Example\n\n```ts\nimport Combo from \"combo\";\n\ntype DataSource = {\n  id: string;\n  title: string;\n}[];\n\nconst api = new Combo<DataSource>();\n\nconst v1 = api.addVersion(\"v1\");\nv1.addRouteFunction(\"list\", (data) => {\n  return data.reduce((obj, { id, title }) => {\n    return { ...obj, [id]: title };\n  }, {});\n});\n\napi.build([\n  { id: \"001\", title: \"Test 001\" },\n  { id: \"002\", title: \"Test 002\" },\n  { id: \"003\", title: \"Test 003\" },\n]);\n```\n","readmeFilename":"README.md","homepage":"https://gitlab.com/screamzone/combo","keywords":["static","api","generator","data"],"repository":{"type":"git","url":"git+https://gitlab.com/screamzone/combo.git"},"bugs":{"url":"https://gitlab.com/screamzone/combo/-/issues"},"license":"Zlib"}