Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
w3av
Extract URLs, strings, and more from JavaScript code using tree-sitter.
Moved to https://pypi.org/project/sawari
Features
- URLs Mode - Extract API endpoints, URLs, and paths with intelligent variable resolution
- Strings Mode - Extract all string literals and template strings
- Tree Mode - Visualize Abstract Syntax Tree structure
- Inspect Mode - Discover node types and code patterns
- Query Mode - Custom tree-sitter queries for pattern matching
Installation
w3av requires at least Python 3.11
pip install w3av
Usage
Read more in the documentation
Extract URLs and API endpoints
w3av urls app.js --include-templates
w3av urls bundle.js --context '{"API_URL":"https://api.example.com"}'
Find potential secrets
w3av strings app.js --min 20 | grep -i "key\|token\|secret"
Visualize code structure
w3av tree app.js --only-named
Custom pattern matching
w3av query app.js --query '(function_declaration name: (identifier) @name)'
Related Tools
License
Metadata
Release files for w3av 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| w3av-1.0.6.tar.gz | 54.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| w3av-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 117.7 kB
Release files / w3av-1.0.6.tar.gz
| Download URL | w3av-1.0.6.tar.gz |
|---|---|
| Size | 54.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32b105595ce59ef5255c9c7eca03c36ae6bae5f8dd9888487032cd9d83e1bea1
|
|
BLAKE2b-256 checksum How to use checksums |
6353a9d43880c490ba4ee714b55eb7feda3cb85528af877c16f0e0144cdbf110
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Darwin/21.6.0
|
Release files / w3av-1.0.6-py3-none-any.whl
| Download URL | w3av-1.0.6-py3-none-any.whl |
|---|---|
| Size | 63.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8fb445453f784d916aa6990fbbc4a67a7a2ada882f173c3f0fb76bbeb38eff4
|
|
BLAKE2b-256 checksum How to use checksums |
2c8005e22b734705d0937d6d9f2ecf15d533db00293d2fc08970ae1a8ea2d11c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Darwin/21.6.0
|