Skip to content

Example of how to build a function router in JavaScript using arccore.discriminator.

Notifications You must be signed in to change notification settings

phil-kahrl/discriminator-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discriminator-demo

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.

System Requirements

Yarn package manager

Node.js

Usage

yarn install will install dependencies.

node index.js to run the example code.

About

Example of how to build a function router in JavaScript using arccore.discriminator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published