Skip to content

tumars/odonata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odonata

Odonata

🎉 CLI tool and lib to gather performance metrics


Install

npm i odonata -g

# or use local packages
# npm i odonata --save

Output

Odonata

Usage

CLI

odonata http://baidu.com

# or use with `npx`:
# npm i odonata --save
# npx odonata http://baidu.com

Node

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 <u>   use mobile or desktop ua (default: "mobile")
  -h, --help     output usage information

Examples:
  $ odonata http://baidu.com
  $ odonata -ua desktop http://baidu.com

Contact

License

MIT

About

a cli tool to get web performance quickly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published