portpreview 0.0.1

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 ADDED
@@ -0,0 +1,9 @@
1
+ # PortPreview
2
+
3
+ Instant secure previews for localhost apps.
4
+
5
+ ## Usage
6
+
7
+ ```bash
8
+ npx portpreview 3000
9
+ ```
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+
3
+ const port = process.argv[2];
4
+
5
+ console.log("PortPreview CLI is coming soon.");
6
+ console.log("Usage: npx portpreview <port>");
7
+ console.log("Example: npx portpreview 3000");
8
+ console.log("Website: https://portpreview.com");
9
+
10
+ if (port) {
11
+ console.log(`Requested local port: ${port}`);
12
+ }
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ name: "portpreview",
3
+ description: "Instant secure previews for localhost apps.",
4
+ website: "https://portpreview.com"
5
+ };
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "portpreview",
3
+ "version": "0.0.1",
4
+ "description": "Instant secure previews for localhost apps.",
5
+ "main": "index.js",
6
+ "type": "commonjs",
7
+ "bin": {
8
+ "portpreview": "./bin/portpreview.js"
9
+ },
10
+ "files": [
11
+ "bin",
12
+ "README.md",
13
+ "index.js",
14
+ "package.json"
15
+ ],
16
+ "keywords": [
17
+ "tunnel",
18
+ "localhost",
19
+ "preview",
20
+ "webhook",
21
+ "devtools",
22
+ "cli"
23
+ ],
24
+ "engines": {
25
+ "node": ">=18"
26
+ },
27
+ "license": "Apache-2.0"
28
+ }