UNPKG

abn

Version:

Expressjs middleware for testing multiple route handlers (think A/B testing). Middleware will round-robin each route handler for a given test, setting a cookie for each new request in order to match the user to the same handler on subsequent requests.

35 lines (34 loc) 595 B
{ "name": "abn", "version": "0.0.1", "description": "", "main": "index.js", "scripts": { "test": "make test" }, "repository": { "type": "git", "url": "https://github.com/NoumanSaleem/abn" }, "keywords": [ "a/b", "abn", "ab testing", "ab middleware", "multivariant", "express", "middleware" ], "author": "", "license": "ISC", "dependencies": { "underscore": "^1.6.0" }, "devDependencies": { "cookies": "^0.4.1", "express": "^4.3.2", "mocha": "^1.20.0", "should": "^4.0.0", "supertest": "^0.13.0" } }