nport 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# **NPort**
|
|
2
2
|
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
![Logo][Logo]
|
|
6
|
+

|
|
3
7
|
NPort is a **Node.js-based tool** that tunnels HTTP connections through **Socket.IO** streams, enabling you to expose local servers via public URLs easily and securely. It is particularly useful for **development environments**, testing webhooks, and sharing projects on local servers.
|
|
4
8
|
|
|
5
9
|
---
|
|
@@ -35,9 +39,9 @@ npm install -g git+https://github.com/tuanngocptn/nport.git # global install
|
|
|
35
39
|
## **How to use**
|
|
36
40
|
|
|
37
41
|
```sh
|
|
38
|
-
npx nport
|
|
42
|
+
npx nport -s xxx -p 3000 # https://xxx.nport.link (local install)
|
|
39
43
|
|
|
40
|
-
nport
|
|
44
|
+
nport -s xxx -p 3000 # https://xxx.nport.link (global install)
|
|
41
45
|
```
|
|
42
46
|
**OR**
|
|
43
47
|
|
|
@@ -49,8 +53,10 @@ nport --server https://nport.link --subdomain xxx --hostname 127.0.0.1 --port 30
|
|
|
49
53
|
|
|
50
54
|
# Source from socket-tunnel
|
|
51
55
|
|
|
52
|
-
Tunnel HTTP connections via socket.io streams. Inspired by [
|
|
56
|
+
Tunnel HTTP connections via socket.io streams. Inspired by [Socket Tunnel](https://github.com/ericbarch/socket-tunnel).
|
|
53
57
|
|
|
54
58
|
## Blog Post
|
|
55
59
|
|
|
56
|
-
[Read all about it](https://ericbarch.com/post/sockettunnel/)
|
|
60
|
+
[Read all about it](https://ericbarch.com/post/sockettunnel/)
|
|
61
|
+
|
|
62
|
+
[Logo]: https://img.shields.io/badge/🌶️_nport-FDC753?style=for-the-badge
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nport",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Tunnel HTTP Connections via socket.io streams.",
|
|
5
5
|
"keywords": ["tunnel", "socket.io", "http", "streaming", "networking", "proxy"],
|
|
6
6
|
"homepage": "https://github.com/tuanngocptn/nport#readme",
|