{"_id":"@api-emulator/brex","name":"@api-emulator/brex","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@api-emulator/brex","version":"0.1.0","license":"MIT","type":"module","main":"./api-emulator.mjs","exports":{".":"./api-emulator.mjs"},"homepage":"https://api-emulator.jsj.sh","repository":{"type":"git","url":"git+https://github.com/jsj/api-emulator-registry.git","directory":"@brex"},"bugs":{"url":"https://github.com/jsj/api-emulator/issues"},"peerDependencies":{"api-emulator":">=0.6.0"},"publishConfig":{"access":"public"},"_id":"@api-emulator/brex@0.1.0","description":"Brex provides spend-management APIs for vendors, users, payments, and team workflows.","_integrity":"sha512-xgmdK+jRbT02uL4ATfSrGfwsQQgt25MgkXt5PwvtfJOK73qtMksshwre5yNI96Tr1VDivOp2IjuX5oHK/wVdWQ==","_resolved":"/tmp/api-emulator-provider-packages-oyUmWr/api-emulator-brex-0.1.0.tgz","_from":"file:/tmp/api-emulator-provider-packages-oyUmWr/api-emulator-brex-0.1.0.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-xgmdK+jRbT02uL4ATfSrGfwsQQgt25MgkXt5PwvtfJOK73qtMksshwre5yNI96Tr1VDivOp2IjuX5oHK/wVdWQ==","shasum":"b8f680ecb63b94567d097aeafb52535ef58bec45","tarball":"https://registry.npmjs.org/@api-emulator/brex/-/brex-0.1.0.tgz","fileCount":3,"unpackedSize":8222,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api-emulator%2fbrex@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHP7pNg9dt6LE8chVrW7c0IjSzzLVT4k2q2OHB78dU4DAiEAzLnFk0LvZCIZO4LISudjCIJXNTHLtrbiJRHxcdKNFLw="}]},"_npmUser":{"name":"jsjackson","email":"james.sorley.jackson@gmail.com"},"directories":{},"maintainers":[{"name":"jsjackson","email":"james.sorley.jackson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/brex_0.1.0_1779232996915_0.17222658193909934"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-19T23:23:16.270Z","0.1.0":"2026-05-19T23:23:17.043Z","modified":"2026-05-19T23:23:17.518Z"},"maintainers":[{"name":"jsjackson","email":"james.sorley.jackson@gmail.com"}],"description":"Brex provides spend-management APIs for vendors, users, payments, and team workflows.","homepage":"https://api-emulator.jsj.sh","repository":{"type":"git","url":"git+https://github.com/jsj/api-emulator-registry.git","directory":"@brex"},"bugs":{"url":"https://github.com/jsj/api-emulator/issues"},"license":"MIT","readme":"# @api-emulator/brex\n\nBrex provides spend-management APIs for vendors, users, payments, and team workflows.\n\nPart of [api-emulator](https://github.com/jsj/api-emulator) — local drop-in replacement services for CI and no-network sandboxes.\n\n## Install\n\n```bash\nnpm install @api-emulator/brex\n```\n\n## Run\n\n```bash\nnpx -p api-emulator api --plugin ./@brex/api-emulator.mjs --service brex\n```\n\n## Endpoints\n\n- `GET /v1/vendors`\n- `POST /v1/vendors`\n- `GET /v1/vendors/:vendorId`\n- `PUT /v1/vendors/:vendorId`\n- `DELETE /v1/vendors/:vendorId`\n- `GET /v2/users/me`\n- `GET /v2/users`\n- `GET /v2/users/:userId`\n- `GET /inspect/contract`\n- `GET /inspect/state`\n\n## Auth\n\nUses fake local credentials only; provide any deterministic bearer token or API key expected by the client under test.\n\n## Seed Configuration\n\n```yaml\nbrex:\n  # Add provider-specific seed state here.\n```\n\n## Links\n\n- [Official API docs](https://developer.brex.com/)\n- [api-emulator](https://github.com/jsj/api-emulator)\n","readmeFilename":"README.md","_rev":"1-9cde3199d0e29a02c0cb3d2dff65130c"}