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

pebocccc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pebocccc

静态资源服务

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

pebocc

创建一个简单资源服务器的基本模型

getting started

注意点:

此库需要node高版本的支持  因为使用了大量的es6语法

安装

npm i pebocc -g
npm i pebocc -save

使用:

全局:
    pebo [--port/-p] 端口 [--host/-h] 主机  [--root/-r]  根目录
    默认情况下:
           端口:1111
           主机:127.0.0.1
           根目录: damu命令的运行目录
本地
    const Server = require("damulaopzdy");
    const  server = new Server({port:port,host:host,root:root});
    server.start();

FAQs

Package last updated on 23 Oct 2018

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