UNPKG

koa-better-ratelimit

Version:

Better, smaller, faster - koa middleware for limit request by ip, store in-memory.

56 lines (54 loc) 1.68 kB
{ "name": "koa-better-ratelimit", "description": "Better, smaller, faster - koa middleware for limit request by ip, store in-memory.", "version": "2.1.2", "scripts": { "lint": "npm install && node_modules/.bin/jshint . && node_modules/.bin/jscs . --reporter inline --esnext", "test": "npm run lint && node_modules/.bin/mocha --harmony-generators --require should", "test-cov": "npm run lint && node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --require should", "test-travis": "npm run lint && node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --require should", "coveralls": "npm run test-travis && cat coverage/lcov.info | node_modules/.bin/coveralls" }, "author": { "name": "Charlike Make Reagent", "email": "mameto_100@mail.bg", "url": "https://github.com/tunnckoCore" }, "keywords": [ "koa", "middleware", "ratelimit", "requestlimit", "limit", "in-memory", "memorystore", "rate" ], "repository": { "type": "git", "url": "git://github.com/tunnckoCore/koa-better-ratelimit.git" }, "license": { "type": "MIT", "url": "https://github.com/tunnckoCore/koa-better-ratelimit/blob/master/license.md" }, "dependencies": { "ipchecker": "*" }, "devDependencies": { "koa": "*", "should": "*", "supertest": "*", "coveralls": "^2.11.2", "istanbul-harmony": "^0.3.1", "jscs": ">=1.8.0", "jscs-jsdoc": ">=0.2.0", "jshint": "^2.5.10", "mocha": "^2.0.1", "mocha-lcov-reporter": "0.0.1" }, "engines": { "node": ">= 0.11.14", "npm": ">= 1.4.28" } }