Examples on how to use arccore.discriminator.
Discriminator provides a way to build a router function in JavaScript.
A router function is a function that routes to other functions based on the shape of the request object passed to the function as a single argument.
Discriminator can be used to build extensible API's in JavaScript that can be used for a variety of applications.
yarn install
will install dependencies.
node index.js
to run the example code.