Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@weeb_services/wapi-core

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@weeb_services/wapi-core

Weeb API core

  • 1.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-40%
Maintainers
2
Weekly downloads
 
Created
Source

awoo

wapi-core

Utility module for weeb.sh apis

js-standard-style

How to use it:

  1. Install via yarn (or npm if u are a pleb)
yarn add @weeb_services/wapi-core

npm i @weeb_services/wapi-core
  1. Require the module and use its stuff
const { BaseMiddleware, BaseRouter, Constants, GenericRouter, WildcardRouter } = require('@weeb_services/wapi-core');

How to develop with it

  • When adding a new middleware extend the BaseMiddleware. To add your middleware to the app itself, add it via it's .middleware() function
  • When adding a new router extend the BaseRouter, to add your router to the app itself, add it via it's .router() function

FAQs

Package last updated on 28 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc