template-api

2.9.3 • Public • Published

template-api

  • interface - the set of methods for a plugin
  • handler - incoming HTTP request / WebSocket / CLI method
  • server - using an interface, connect a transport to models
  • model - execute backend business logic
  • transport - method of getting messages between clients and servers

auth

  • auth.load
    • id
  • auth.login
    • username
    • password
  • auth.register
    • data
  • auth.update
    • id
    • data

/template-api/

    Package Sidebar

    Install

    npm i template-api

    Weekly Downloads

    5

    Version

    2.9.3

    License

    none

    Unpacked Size

    310 kB

    Total Files

    76

    Last publish

    Collaborators

    • binocarlos