{"_id":"gumloop","_rev":"1-a02575ccaf4d639b43545e3afa6f2097","name":"gumloop","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"gumloop","version":"1.0.0","keywords":["gumloop","automation","workflow"],"author":{"name":"Rahul Behal"},"license":"Apache-2.0","_id":"gumloop@1.0.0","maintainers":[{"name":"rahul-gumloop","email":"rahul@gumloop.com"}],"dist":{"shasum":"af6531fc558048e781da61094b2daaa82a38d69b","tarball":"https://registry.npmjs.org/gumloop/-/gumloop-1.0.0.tgz","fileCount":9,"integrity":"sha512-PVvDVHN2E7YxcNJ4XWFQ/sOovnxqGZBbcS+5MA0PM6cTm31iaOweCuwBEZp/vKz+r5nc0dXzQgBZspNStqmgvg==","signatures":[{"sig":"MEYCIQCkyIv150HDtuHFiGBjIhjoitYlJr+cO75zpkDgrZfWiQIhANfshT55KlkQt4JeckFwugmqsB63qY7NDhhS29rYYJJd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16742},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"44a55bf7703fff549a3a81fa1b82e22a50c2d917","scripts":{"test":"ts-node tests/test.ts","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"rahul-gumloop","email":"rahul@gumloop.com"},"_npmVersion":"9.6.7","description":"Javascript SDK for running Gumloop automations","directories":{},"_nodeVersion":"20.3.1","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/gumloop_1.0.0_1735590778066_0.9380893041799867","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"gumloop","version":"1.0.2","description":"Javascript SDK for running Gumloop automations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","test":"ts-node tests/test.ts"},"keywords":["gumloop","automation","workflow"],"author":{"name":"Rahul Behal"},"license":"Apache-2.0","dependencies":{"axios":"^1.7.9"},"devDependencies":{"@types/node":"^22.10.2","typescript":"^5.7.2"},"gitHead":"b35c2f85bedc0d501aa01f82db7cd9996b438366","_id":"gumloop@1.0.2","_nodeVersion":"20.3.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Tz3icENyj8y4TFXt/vl7geg+3GSKjLzs0HRhTPdHAR7Fm5sgWfQAGyyfZAj6bZHQVCD+iBgO9O+bb/UA30PwOw==","shasum":"1500ad3840a5fba7fbdfb640cf1bbebf850bcf43","tarball":"https://registry.npmjs.org/gumloop/-/gumloop-1.0.2.tgz","fileCount":9,"unpackedSize":17667,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUquSCcc7SYpA/IaQI8X4SCjyGGCt52zEHDlPKrV6QAAIgK0QcpuYtun3bukU08Q4EOExK+RtlrFr0sOLk4bRsRvE="}]},"_npmUser":{"name":"rahul-gumloop","email":"rahul@gumloop.com"},"directories":{},"maintainers":[{"name":"rahul-gumloop","email":"rahul@gumloop.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gumloop_1.0.2_1735591010044_0.5073015923980098"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-30T20:32:57.956Z","modified":"2024-12-30T20:36:50.407Z","1.0.0":"2024-12-30T20:32:58.272Z","1.0.2":"2024-12-30T20:36:50.217Z"},"author":{"name":"Rahul Behal"},"license":"Apache-2.0","keywords":["gumloop","automation","workflow"],"description":"Javascript SDK for running Gumloop automations","maintainers":[{"name":"rahul-gumloop","email":"rahul@gumloop.com"}],"readme":"# Gumloop JavaScript/TypeScript Client\n\nA JavaScript/TypeScript client for the Gumloop API that makes it easy to run and monitor Gumloop flows.\n\n## Installation\n\n```bash\nnpm install gumloop\n```\n\n## Usage\n\n```typescript\nimport { GumloopClient } from \"gumloop\";\n\n// Initialize the client\nconst client = new GumloopClient({\n  apiKey: \"your_api_key\",\n  userId: \"your_user_id\",\n});\n\n// Run a flow and wait for outputs\nasync function runFlow() {\n  try {\n    const output = await client.runFlow(\"your_flow_id\", {\n      recipient: \"example@email.com\",\n      subject: \"Hello\",\n      body: \"World\",\n    });\n\n    console.log(output);\n  } catch (error) {\n    console.error(\"Flow execution failed:\", error);\n  }\n}\n\nrunFlow();\n```\n\n## Project-Level Usage\n\nIf you're working within a Gumloop project, you can initialize the client with a project ID:\n\n```typescript\nconst client = new GumloopClient({\n  apiKey: \"your_project_api_key\",\n  userId: \"your_user_id\",\n  projectId: \"your_project_id\",\n});\n```\n","readmeFilename":"README.md"}