New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

alp-router

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alp-router

router for alp

latest
Source
npmnpm
Version
7.2.0
Version published
Weekly downloads
3
-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

alp-router

router for alp

router-segments

This package works with router-segments.

Install

yarn add alp-router router-segments
npm install --save alp-router router-segments

With Koa

import Koa from 'koa';
import config from 'alp-node-config';
import language from 'alp-node-language';
import router from 'alp-router';
import createRouter from './createRouter';

const app = new Koa();
// init
config(new URL('./config', import.meta.url))(app);
language(app);

// handlers
app.use(router(createRouter())(app));

With Alp (Node or Browser)

import Alp from 'alp';
import router from 'alp-router';
import createRouter from './createRouter';

const app = new Alp();

// handlers
app.use(router(createRouter())(app));

Keywords

alp

FAQs

Package last updated on 06 Jan 2024

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