Skip to content

Commit

Permalink
add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
waleed samy committed Dec 20, 2015
1 parent 90a5b46 commit 628ed07
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: node_js
node_js:
- "0.10"
- "0.12"
- "4.0"
services:
- redis-server
install:
- npm install
script:
- make test
4 changes: 3 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Rate limiter for Node.js backed by Redis.

[![Build Status](https://travis-ci.org/tj/node-ratelimiter.svg)](https://travis-ci.org/tj/node-ratelimiter)

## Release Notes
[v2.1.1](https://github.com/tj/node-ratelimiter/tree/v2.1.1) - [#13](/../../pull/13) by [@kwizzn](https://github.com/kwizzn) - Fixes out-of-sync TTLs after running decr()

Expand Down Expand Up @@ -49,7 +51,7 @@ limit.get(function(err, limit){

## Result Object
- `total` - `max` value
- `remaining` - number of calls left in current `duration` without decreasing current `get`
- `remaining` - number of calls left in current `duration` without decreasing current `get`
- `reset` - time in milliseconds until the end of current `duration`

## Options
Expand Down

0 comments on commit 628ed07

Please sign in to comment.