0.0.1-alpha.2 • Published 5 months ago

madi-plg-semantic-scholar v0.0.1-alpha.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

madi-plg-semantic-scholar

NPM

npm

GitHub Workflow Status

Libraries.io dependency status for latest release

This library is a FeathersJS middleware to allow simple Remote Procedure Calls (RPCs) to interact with Feathers Services and custom methods.

Installation

service(options)

Options:

  • disableHeader (optional, default: false) - Set to true to prevent the x-service-method header from being overwritten by the middleware. The RPC verb can still get captured and used from the Feathers hook ctx object.
  • allowedRpcVerbs (optional. default: any) - Accepts a string or an array of strings. Defaults to fully open, allowing any verb. Setting to [] will disallow any verb. In order to use the x-service-method automatic call, the custom method of the service must be named exactly the same as the verb sent.

Using this Template

git checkout -B main; git branch --set-upstream-to=origin/main;
git checkout -B beta; git branch --set-upstream-to=origin/beta;
git checkout -B alpha; git branch --set-upstream-to=origin/alpha;
gh secret set NPM_TOKEN --repo nasa-madi/madi-plg-semantic-scholar

Extending an existing Service

Contributing

Please see https://github.com/nasa-madi/madi-plg-semantic-scholar/blob/main/.github/contributing.md

Credit

Inspired by work by Ben Zelinski.

0.0.1-alpha.4

5 months ago

0.0.1-alpha.3

5 months ago

0.0.1-alpha.2

5 months ago