Anywhere is a Node.js command-line utility that turns any local directory into a static file server. Running the command without arguments serves the current folder on port 8000. Users can select another port, hostname, or document root through simple command-line options. The tool normally opens the default browser automatically, while silent mode starts the server without launching a window. An HTML5 history fallback can redirect client-side application routes to a selected index file. Anywhere also supports API proxying through shorthand URLs, webpack-style settings, or a custom configuration file. It is useful for quickly previewing static sites, prototypes, documentation, and front-end builds without creating a dedicated server project.
Features
- Instant static directory serving
- Custom port and hostname settings
- Selectable document root
- Automatic or silent browser startup
- HTML5 history fallback
- Configurable development proxy support