1.2.9 • Published 6 years ago

traffic-splitter v1.2.9

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

traffic-splitter NPM version build status

traffic-splitter is a component that allows for HTTP traffic to be directed to an appropriate upstream depending on the request matching certain criteria.

How it really works? It's not magic..

architecture

Getting started

There are two ways you can use this package. Both need to be provided with a configuration.

Free configuration samples in here.

CLI

npm i traffic-splitter -g
traffic-splitter -c configuration.js

Provided configuration can be a json or a js file.

// in case config is a js file wrap it in:
module.exports = {}

API

npm i traffic-splitter
const TrafficSplitter = require('traffic-splitter')
const splitter = new TrafficSplitter(/*your configuration*/) // provide a configuration object
splitter.start()

And BOOM, splitter is running!

localhost:PORT/healthcheck

More... so much more

What about docs?

Sure thing! Here you go... trafficsplitter.io

1.2.9

6 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago