restify-resourcify
Declarative bindings to restify service endpoint registration.
Getting Started
npm install restify-resourcify
Note: You need to have restify
installed. Take a look at the peerDependencies
in package.json
for version compatibility.
Usage
; @ @GET async { return data: await dbloadUsers ; } @GET @ async { return data: await db ; }