axios 1.0.1+1
axios: ^1.0.1+1 copied to clipboard

Simple, zero-configuration command-line http server

axios #

axios is a simple, zero-configuration command-line http server. Inspired by npm's http-server. In fact this package's API tries to closely match that of the API of http-server.

Install #

dart pub global activate axios

Usage #

axios [options] [path]

Options #

OptionAbbreviationDescriptionDefault
--address-aDefines address to listen on0.0.0.0
--port-pDefines which port to listen on8080
--silent-sSuppress log messages from outputfalse
--directory-dAllows directory listingtrue
--version-vPrints current axios version

The path defaults to current directory ./ unless otherwise specified.

Upcoming features #

  • CORS
  • TLS/SSL
17
likes
60
pub points
75%
popularity

Simple, zero-configuration command-line http server

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ansicolor, args, http_server

More

Packages that depend on axios