---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# spike

> A fully featured static website generator written in JavaScript.
> More information: <https://spike.js.org>.

- Create a new project using the default template:

`spike new {{project_name}}`

- Compile your project, watch for changes, and auto-reload the browser:

`spike watch`

- Compile your project once to the "public" directory:

`spike compile`

- Remove the output directory:

`spike clean`
