Node SDK for Anvil Connect
$ npm install anvil-connect-sdk --save
var anvil = ;anvil;
Anvil Connect SDK includes Connect/Express/Restify compatible middleware for authenticating access tokens issued by Anvil Connect and enforcing authorization based on OAuth 2.0 scope.
This middleware can be used as route specific middleware...
var authorize = anvil;server;
...or to protect the entire server: