@commonshost/static-directories

List of output directories of most static site generators.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@commonshost/static-directories
Minified + gzip package size for @commonshost/static-directories in KB

Readme

@commonshost/static-directories 📁

List of output directories of most static site generators.

These are the default directories into which static sites are generated. This can be useful when detecting the presence of a static site.

Usage

Simply an array of strings.

const { staticDirectories } =
  require('@commonshost/static-directories')

// [ 'dist', 'public', '_site', ... ]

Caveat

Scan the list in-order. Some frameworks use one directory for output (e.g. dist) and another directory for source assets (e.g. site). The list is carefully maintained to find the output directory before matching a false-positive source directory.

Colophon

Made with 💗 by Sebastiaan Deckers for Commons Host.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.