Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tumars/odonata
a cli tool to get web performance quickly
https://github.com/tumars/odonata
Last synced: 3 months ago
JSON representation
a cli tool to get web performance quickly
- Host: GitHub
- URL: https://github.com/tumars/odonata
- Owner: tumars
- License: mit
- Created: 2019-02-25T03:10:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-25T06:25:30.000Z (almost 6 years ago)
- Last Synced: 2024-10-01T07:41:32.786Z (3 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Odonata
πΒ CLI tool and lib to gather performance metrics
----
## Install
```bash
npm i odonata -g# or use local packages
# npm i odonata --save
```## Output
![Odonata](http://www.ferecord.com/wp-content/uploads/2019/02/odonata-cli-screenshot.png)
## Usage
### CLI
```bash
odonata http://baidu.com# or use with `npx`:
# npm i odonata --save
# npx odonata http://baidu.com
```### Node
```js
const odonata = require('odonata');odonata({url: 'http://baidu.com', ua: 'mobile'})
.then(data => console.log(data));
```### Help
```
β°β odonata
Usage: odonata [options] [url]CLI tool and lib to gather performance metrics
Options:
-V, --version output the version number
-u, --ua use mobile or desktop ua (default: "mobile")
-h, --help output usage informationExamples:
$ odonata http://baidu.com
$ odonata -ua desktop http://baidu.com
```## Contact
- Mail: [email protected]
- Twitter: [@Tumars](https://twitter.com/Tumars)## License
MIT