{"_id":"@curiouser/rxjs-rate-limit","_rev":"2-1c74ae0b1cd2f27fa14f9fac13de9e21","name":"@curiouser/rxjs-rate-limit","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@curiouser/rxjs-rate-limit","version":"0.1.0","keywords":["rxjs","rate","limiting","ratelimit","operator"],"author":{"name":"Curiouser Creative Studio, LLC"},"license":"ISC","_id":"@curiouser/rxjs-rate-limit@0.1.0","maintainers":[{"name":"winstonhoy","email":"winston@curiousercreative.com"}],"homepage":"https://github.com/curiousercreative/rxjs-rate-limit#readme","bugs":{"url":"https://github.com/curiousercreative/rxjs-rate-limit/issues"},"dist":{"shasum":"c4bbfaa0aa784472bea388acfd7150996de67f93","tarball":"https://registry.npmjs.org/@curiouser/rxjs-rate-limit/-/rxjs-rate-limit-0.1.0.tgz","fileCount":4,"integrity":"sha512-ngC3Aaf12KFTWxx9Dga0PqatjC5EKk96c2VP2E1KNXGOz+LXppJWx2653pnh42BhE67NZT0b50FCOO5cS6Mb9g==","signatures":[{"sig":"MEYCIQDpnnggFzgskTHjaqp4sF9SaY9LpJeKFTcE0f0GJphQRwIhAI5667pSjm45w1+MLI2V4leYyQ981f/xgbapqY6HOJ8i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRLjjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUBhAAiXn06skWNpoZ46q52WKVc+uSOA/UZUSPvGOJXcmkIrFi0BTy\r\n5Cjq4aHLyld4FFhK6Y/F5j0cMclbLp+FYmOahKYyKacmcNxy7rElvfA9xHEQ\r\n6NreYxvoVVfV42mAmLJKae/d89TQLDJgp2QiB2LssnvqG2OlkTFxRv8ri/Jj\r\n/r/2n6nYerZMRuGWDhI43TGVTcjzsxkbhxZKPWe0gLS+gjy6DZRwD3abF+uV\r\n0xit9QaXjfG189DCEgtaIVCFbWQjaSfsW+SaJfzOTqFOv+/I5jQx+GK6+68k\r\n7hy9aEbZqmHkT8wl8lMcIyxgZ06o66/HugASgnRStAspaT2O9reJO+3CcR8q\r\nMaTeQQr4oqBN/lhScRHgz9COA23Q9VXrSnnC0UfG0hg4nD8l57BIGslrdHXK\r\nfrom+muijWCeRGs5PX+AOLjUUMojViGQObJ2GyNR0FVACuPi+wpV2zN5zKdZ\r\nzy5R/RdMn5JYpHvDb8MLzXbSQ0DEd/hZXc9hJ40DoFl9cFgRg122nWuzS4RT\r\nfcG5f6c1Be10mTXy4935Y3UiDzhUGaHnd0vtWYmA30UBKojci4kdwgr8M93l\r\nBfPTQX5uvKNPk6pnC7aOn5S37m/ywpol3lFHkw3FWyQtE3L6M/a53em4TaBD\r\nNizeSAhE2ss+OBCx/qEFpLttHmQJZ7NOvCw=\r\n=swrk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"d194bcc8cd503b9420490eb38c3a9da09e05c828","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"winstonhoy","email":"winston@curiousercreative.com"},"repository":{"url":"git+https://github.com/curiousercreative/rxjs-rate-limit.git","type":"git"},"_npmVersion":"8.15.0","description":"RxJS operator for complying with common rate limiting of x requests per y seconds","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.5.7","node-fetch":"^2.6.7"},"peerDependencies":{"rxjs":"^7"},"_npmOperationalInternal":{"tmp":"tmp/rxjs-rate-limit_0.1.0_1665448163466_0.20406698767596776","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@curiouser/rxjs-rate-limit","version":"0.2.0","description":"RxJS operator for complying with common rate limiting of x requests per y seconds","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/curiousercreative/rxjs-rate-limit.git"},"keywords":["rxjs","rate","limiting","ratelimit","operator"],"author":{"name":"Curiouser Creative Studio, LLC"},"license":"ISC","bugs":{"url":"https://github.com/curiousercreative/rxjs-rate-limit/issues"},"homepage":"https://github.com/curiousercreative/rxjs-rate-limit#readme","peerDependencies":{"rxjs":"^7"},"devDependencies":{"node-fetch":"^2.6.7","rxjs":"^7.5.7"},"_id":"@curiouser/rxjs-rate-limit@0.2.0","gitHead":"83f467e214493dcdd8db62290057952458c6e336","_nodeVersion":"18.20.2","_npmVersion":"10.9.2","dist":{"integrity":"sha512-sL85OCbOkTGs4FEhaOL1AF/avU/XIZnnR0hG9XEGdEa+YUtn8UAcaikT6mx/BAFtH6kPP0WZtzGrbe8S1cPJhA==","shasum":"e4eb34477bac472fd87d3539c4ce1042fc18da58","tarball":"https://registry.npmjs.org/@curiouser/rxjs-rate-limit/-/rxjs-rate-limit-0.2.0.tgz","fileCount":4,"unpackedSize":3094,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIENYj9XeLGQmtfdQFXP9sPVc+JVWW1NEd87vnVZXg9fMAiEAjtn5y/nGYtdE/sFw51l5Jytio7FhxBZSUEwOUaBCw1Y="}]},"_npmUser":{"name":"winstonhoy","email":"winston@curiousercreative.com"},"directories":{},"maintainers":[{"name":"winstonhoy","email":"winston@curiousercreative.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rxjs-rate-limit_0.2.0_1766264577184_0.11410763107328914"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-11T00:29:23.403Z","modified":"2025-12-20T21:02:57.566Z","0.1.0":"2022-10-11T00:29:23.675Z","0.2.0":"2025-12-20T21:02:57.334Z"},"bugs":{"url":"https://github.com/curiousercreative/rxjs-rate-limit/issues"},"author":{"name":"Curiouser Creative Studio, LLC"},"license":"ISC","homepage":"https://github.com/curiousercreative/rxjs-rate-limit#readme","keywords":["rxjs","rate","limiting","ratelimit","operator"],"repository":{"type":"git","url":"git+https://github.com/curiousercreative/rxjs-rate-limit.git"},"description":"RxJS operator for complying with common rate limiting of x requests per y seconds","maintainers":[{"name":"winstonhoy","email":"winston@curiousercreative.com"}],"readme":"# RxJS Rate Limiter (mostly lossless)\n- RxJS 7 pipeline operator\n- Dead simple (40 lines)\n- No dependencies\n- Processes immediately, no delay to emissions\n\n## Beware\n- No retries, that's up to you\n- Currently only packaged for CommonJS. Open an issue if you'd like to consume an ESM.\n\n## Installation\n```bash\nnpm add @curiouser/rxjs-rate-limit\n```\n\n## Usage\n```javascript\nconst rateLimit = require('@curiouser/rxjs-rate-limit');\n\n// 20 per second w/ concurrency of 5\nsomeObservable.pipe(\n  rateLimit(20, 1000, 5),\n  // do something that should be rate limited\n);\n```\n\n## Examples\nSee [examples directory](./examples) for examples you can run from CLI.\n","readmeFilename":"README.md"}