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

@koex/static

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@koex/static

static cache for koa extend

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
41
1950%
Maintainers
1
Weekly downloads
 
Created
Source

static

NPM version Coverage Status Dependencies Build Status license issues

static for koa extend. used as public assets or static assets.

Install

$ npm install @koex/static

Usage

// See more in test
import staticCache from '@koex/static';

import * as Koa from 'koa';
const app = new Koa();

app.use(staticCache('/static', {
  dir: path.join(__dirname, './public'),
}));

app.listen(8000, '0.0.0.0', () => {
  console.log('koa server start at port: 8000');
});

FAQs

Package last updated on 25 Apr 2022

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