Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

limiter

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

limiter - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

0

bower.json

@@ -0,0 +0,0 @@ {

1

index.d.ts

@@ -21,2 +21,3 @@ export type TokenBucketError = string

tryRemoveTokens(count: number): boolean
getTokensRemaining(): number
}
exports.RateLimiter = require('./lib/rateLimiter');
exports.TokenBucket = require('./lib/tokenBucket');

@@ -0,0 +0,0 @@ var getMilliseconds = function() {

@@ -0,0 +0,0 @@ var TokenBucket = require('./tokenBucket');

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ Copyright (C) 2011 by John Hurliman

2

package.json
{
"name": "limiter",
"description": "A generic rate limiter for node.js. Useful for API clients, web crawling, or other tasks that need to be throttled",
"version": "1.1.4",
"version": "1.1.5",
"author": "John Hurliman <jhurliman@jhurliman.org>",

@@ -6,0 +6,0 @@ "scripts": {

@@ -0,0 +0,0 @@ # limiter #

@@ -0,0 +0,0 @@ var vows = require('vows');

@@ -0,0 +0,0 @@ var vows = require('vows');

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc