miyako
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Miyako

Simple api framework

Constant

  • Schema types
    • NUMBER
    • STRING
    • BOOLEAN
    • NULL
    • OBJECT
    • ARRAY
    • AND
    • OR
    • NOT

Validator

  • Custom json schema

Logger

  • Level
    • fatal
    • error
    • warn
    • info
    • debug
    • trace

Error

  • Validation error
  • Http status code errors
    • 400
    • 401
    • 403
    • 404
    • 405
    • 409
    • 415
    • 418
    • 429
    • 500
    • 501

Router

  • Radix tree based
  • Static path caching

Server

  • Http methods
    • POST
    • GET
    • PATCH
    • DELETE
  • Jsend formatting
  • Nginx-style logging

Package Sidebar

Install

npm i miyako

Weekly Downloads

6

Version

0.0.5

License

MIT

Unpacked Size

21.5 kB

Total Files

12

Last publish

Collaborators

  • h2owater425