@peron_js/web-cli 0.1.0
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 +20 -0
- package/dist/index.js +507 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# web-cli
|
|
2
|
+
|
|
3
|
+
A CLI to search and fetch the web.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun install -g @peron_js/web-cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
web search <query> # search the web for a query
|
|
15
|
+
web fetch <url> # fetch a URL and print its main content as Markdown
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
`fetch` honors the `HTTP_PROXY` / `HTTPS_PROXY` / `NO_PROXY` environment variables.
|
|
19
|
+
|
|
20
|
+
Run `web --help` or `web <command> --help` for details.
|