Gathering detailed insights and metrics for anywhere-plus
Gathering detailed insights and metrics for anywhere-plus
Gathering detailed insights and metrics for anywhere-plus
Gathering detailed insights and metrics for anywhere-plus
npm install anywhere-plus
Typescript
Module System
Node Version
NPM Version
66.8
Supply Chain
85.1
Quality
67.5
Maintenance
50
Vulnerability
99.3
License
JavaScript (69.79%)
CSS (16.84%)
HTML (13.37%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
2 Stars
14 Commits
1 Watchers
2 Branches
1 Contributors
Updated on May 21, 2024
Latest Version
1.1.0
Package Id
anywhere-plus@1.1.0
Unpacked Size
110.92 kB
Size
69.03 kB
File Count
103
NPM Version
6.9.0
Node Version
10.16.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Running static file server anywhere. 随时随地将你的当前目录变成一个静态文件服务器的根目录。
Install it as a command line tool via npm -g
.
1npm install anywhere -g
1$ anywhere 2// or with port 3$ anywhere -p 8000 4// or start it but silent(don't open browser) 5$ anywhere -s 6// or with hostname 7$ anywhere -h localhost -p 8888 8// or with folder 9$ anywhere -d ~/git/anywhere 10// or enable html5 history 11$ anywhere -f /index.html
1$ anywhere --help 2Usage: 3 anywhere --help // print help information 4 anywhere // 8000 as default port, current folder as root 5 anywhere 8888 // 8888 as port 6 anywhere -p 8989 // 8989 as port 7 anywhere -s // don't open browser 8 anywhere -h localhost // localhost as hostname 9 anywhere -d /home // /home as root 10 anywhere -f /index.html // Enable html5 history,the index is /index.html 11 anywhere --proxy http://localhost:7000/api // Support shorthand URL, webpack.config.js or customize config file
Shorthand URL
anywhere --proxy http://localhost:7000/api
\___________________/\___/
| |
target context
More about the shorthand configuration.
Webpack conofig
1// webpack.conofig.js 2module.exports = { 3 devServer: { 4 proxy: { 5 '/api': { 6 target: 'http://localhost:7000', 7 changeOrigin: true 8 } 9 } 10 } 11}
Customize config
1// proxy.config.js 2module.exports = { 3 '/api': { 4 target: 'http://localhost:7000', 5 changeOrigin: true 6 } 7}
More proxy http-proxy-middleware help.
http://localhost:8000
Automatically open default browser. 执行命令后,默认浏览器将为您自动打开主页。
The MIT license.
No vulnerabilities found.
Reason
binaries present in source code
Details
Reason
license file detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
10 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More