# Install static-server with npm

A simple http server to serve static resource files from a local directory. Version 2.2.1 via npm; verified 2018-04-03.

## Install

```sh
sudo av install npm:static-server
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g static-server
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:static-server
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/static-server>
- **Version:** 2.2.1
- **Source summary:** A simple http server to serve static resource files from a local directory.
- **Homepage:** <https://github.com/nbluis/static-server#readme>
- **Repository:** <https://github.com/nbluis/static-server>
- **Upstream docs:** <https://github.com/nbluis/static-server#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/static-server/-/static-server-2.2.1.tgz>
- **Issue tracker:** <https://github.com/nbluis/static-server/issues>
- **Published:** 2018-04-03T14:23:43.285Z
- **Last updated:** 2018-04-03T14:23:43.285Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- static-server (cli)
- static-server (alias)

## Dependencies

- chalk
- commander
- file-size
- mime
- opn

## Build dependencies

- istanbul
- mocha
- should
- supertest

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.2.1
- Package-manager updated: 2018-04-03
- Local data: ok
- Upstream repository: https://github.com/nbluis/static-server
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for static-server. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.2.1
- **Version Count:** 14
- **Maintainers:** nbluis
- **Author:** Eduardo Bohrer
- **Publisher:** nbluis
- **Engines:** Node: >=4
- **Integrity:** sha512-j5eeW6higxYNmXMIT8iHjsdiViTpQDthg7o+SHsRtqdbxscdHqBHXwrXjHC8hL3F0Tsu34ApUpDkwzMBPBsrLw==
- **Shasum:** 49e3cae2a001736b0ee9e95d21d3d843fc95efaa
- **Unpacked Size:** 29,410
- **File Count:** 0
- **Created At:** 2013-09-19T14:41:06.721Z
- **Latest Published At:** 2018-04-03T14:23:43.285Z
- **Modified At:** 2022-06-27T00:04:19.585Z

## Other Package-Manager Records

- Nix - static-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/static-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [serve](https://www.automicvault.com/pkg/npm/serve/) - Local metadata places this package in an adjacent workflow. Shared terms: chalk, directory, file, http, serve.
- [budo](https://www.automicvault.com/pkg/npm/budo/) - Local metadata places this package in an adjacent workflow. Shared terms: local, opn, serve, server, simple.
- [http-server](https://www.automicvault.com/pkg/npm/http-server/) - Local metadata places this package in an adjacent workflow. Shared terms: chalk, http, mime, server, simple.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
