Description
Hammer is a command-line build tool for browser and Node.js applications. You create an index.html file, and Hammer can serve it with live reload, run a Node process that restarts on save, or run a compiler watch process on its own. A monitor command runs shell commands whenever files change. The tool takes esbuild as its only dependency, and it is meant to replace several development tools such as nodemon, Parcel, Lerna and Gulp. A built-in task runner lets you write tasks as functions in a hammer.mjs file, and each exported function becomes a command in the terminal. Tasks can run shell commands with a global shell helper and use ordinary ES module imports. Hammer is designed for rapid development and needs little or no configuration to start. It is also meant to support monorepo workflows. The project is MIT licensed. It suits front-end and Node developers who want a small, quick setup for running and rebuilding a project while they work.…
Highlights
- Dev server with live reload
- Node process that restarts on save
- File watch and shell command monitoring
- Task runner driven by a hammer.mjs file
- esbuild as its only dependency
Ratings & Reviews
No ratings yet
Be the first to rate Hammer.
People also visit
Modd
A flexible developer tool that runs processes and responds to filesystem changes
Hammer FAQ
What is Hammer for?
Building and running browser and Node applications during development, with live reload and watch modes.
Does it need much configuration?
The README says little to no configuration is needed. You can start from an index.html file and run the serve command.
What commands does it have?
serve, run, watch and monitor, plus a task runner that reads a hammer.mjs file.
What does it depend on?
According to the README, only esbuild.
What license is it under?
MIT.
What are the best Hammer alternatives?
Popular alternatives to Hammer include Poltergeist, Tox and Fleet. See all Hammer alternatives








