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

yiti-server

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yiti-server - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

bin/http-server

2

lib/core/show-dir/index.js

@@ -129,3 +129,3 @@ 'use strict';

process.version
}/ <a href="https://github.com/http-party/yiti-server">yiti-server</a> ` +
}/ <a href="https://github.com/http-party/http-server">http-server</a> ` +
`server running @ ${

@@ -132,0 +132,0 @@ he.encode(req.headers.host || '')}</address>\n` +

{
"name": "yiti-server",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple zero-configuration command-line http server",
"main": "./lib/yiti-server",
"main": "./lib/http-server",
"repository": {
"type": "git",
"url": "git://github.com/http-party/yiti-server.git"
"url": "git://github.com/http-party/http-server.git"
},

@@ -16,3 +16,3 @@ "keywords": [

"https",
"yiti-server",
"http-server",
"https-server",

@@ -22,3 +22,3 @@ "server"

"scripts": {
"start": "node ./bin/yiti-server",
"start": "node ./bin/http-server",
"test": "tap --reporter=spec test/*.test.js",

@@ -32,3 +32,3 @@ "test-watch": "tap --reporter=spec --watch test/*.test.js"

],
"man": "./doc/yiti-server.1",
"man": "./doc/http-server.1",
"engines": {

@@ -39,4 +39,51 @@ "node": ">=6"

{
"name": "GXC",
"email": "55503903@qq.com"
"name": "Charlie Robbins",
"email": "charlie.robbins@gmail.com"
},
{
"name": "Marak Squires",
"email": "marak.squires@gmail.com"
},
{
"name": "Charlie McConnell",
"email": "charlie@charlieistheman.com"
},
{
"name": "Joshua Holbrook",
"email": "josh.holbrook@gmail.com"
},
{
"name": "Maciej Małecki",
"email": "maciej.malecki@notimplemented.org"
},
{
"name": "Matthew Bergman",
"email": "mzbphoto@gmail.com"
},
{
"name": "brad dunbar",
"email": "dunbarb2@gmail.com"
},
{
"name": "Dominic Tarr"
},
{
"name": "Travis Person",
"email": "travis.person@gmail.com"
},
{
"name": "Jinkwon Lee",
"email": "master@bdyne.net"
},
{
"name": "BigBlueHat",
"email": "byoung@bigbluehat.com"
},
{
"name": "Daniel Dalton",
"email": "daltond2@hawkmail.newpaltz.edu"
},
{
"name": "Jade Michael Thornton",
"email": "jademichael@jmthornton.net"
}

@@ -48,3 +95,2 @@ ],

"corser": "^2.0.1",
"ecstatic": "^4.1.4",
"he": "^1.1.0",

@@ -69,3 +115,3 @@ "http-proxy": "^1.18.0",

"bugs": {
"url": "https://github.com/http-party/yiti-server/issues"
"url": "https://github.com/http-party/http-server/issues"
},

@@ -75,4 +121,4 @@ "license": "MIT",

"bin": {
"yiti-server": "./bin/yiti-server"
"yiti-server": "./bin/http-server"
}
}

@@ -1,10 +0,10 @@

[![GitHub Workflow Status (master)](https://img.shields.io/github/workflow/status/http-party/yiti-server/Node.js%20CI/master?style=flat-square)](https://github.com/http-party/yiti-server/actions)
[![npm](https://img.shields.io/npm/v/yiti-server.svg?style=flat-square)](https://www.npmjs.com/package/yiti-server) [![homebrew](https://img.shields.io/homebrew/v/yiti-server?style=flat-square)](https://formulae.brew.sh/formula/yiti-server) [![npm downloads](https://img.shields.io/npm/dm/yiti-server?color=blue&label=npm%20downloads&style=flat-square)](https://www.npmjs.com/package/yiti-server)
[![license](https://img.shields.io/github/license/http-party/yiti-server.svg?style=flat-square)](https://github.com/http-party/yiti-server)
[![GitHub Workflow Status (master)](https://img.shields.io/github/workflow/status/http-party/http-server/Node.js%20CI/master?style=flat-square)](https://github.com/http-party/http-server/actions)
[![npm](https://img.shields.io/npm/v/http-server.svg?style=flat-square)](https://www.npmjs.com/package/http-server) [![homebrew](https://img.shields.io/homebrew/v/http-server?style=flat-square)](https://formulae.brew.sh/formula/http-server) [![npm downloads](https://img.shields.io/npm/dm/http-server?color=blue&label=npm%20downloads&style=flat-square)](https://www.npmjs.com/package/http-server)
[![license](https://img.shields.io/github/license/http-party/http-server.svg?style=flat-square)](https://github.com/http-party/http-server)
# yiti-server: a simple static HTTP server
# http-server: a simple static HTTP server
`yiti-server` is a simple, zero-configuration command-line static HTTP server. It is powerful enough for production usage, but it's simple and hackable enough to be used for testing, local development and learning.
`http-server` is a simple, zero-configuration command-line static HTTP server. It is powerful enough for production usage, but it's simple and hackable enough to be used for testing, local development and learning.
![Example of running yiti-server](https://github.com/http-party/yiti-server/raw/master/screenshots/public.png)
![Example of running http-server](https://github.com/http-party/http-server/raw/master/screenshots/public.png)

@@ -17,21 +17,21 @@ ## Installation:

npx yiti-server [path] [options]
npx http-server [path] [options]
#### Globally via `npm`
npm install --global yiti-server
npm install --global http-server
This will install `yiti-server` globally so that it may be run from the command line anywhere.
This will install `http-server` globally so that it may be run from the command line anywhere.
#### Globally via Homebrew
brew install yiti-server
brew install http-server
#### As a dependency in your `npm` package:
npm install yiti-server
npm install http-server
## Usage:
yiti-server [path] [options]
http-server [path] [options]

@@ -83,3 +83,3 @@ `[path]` defaults to `./public` if the folder exists, and `./` otherwise.

```
yiti-server --proxy http://localhost:8080?
http-server --proxy http://localhost:8080?
```

@@ -104,3 +104,3 @@

``` sh
yiti-server -S -C cert.pem
http-server -S -C cert.pem
```

@@ -111,5 +111,5 @@

``` sh
Starting up yiti-server, serving ./ through https
Starting up http-server, serving ./ through https
yiti-server settings:
http-server settings:
CORS: disabled

@@ -116,0 +116,0 @@ Cache: 3600 seconds

Sorry, the diff of this file is not supported yet

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