# grunt-flats

Grunt task that renders static HTML pages from Mustache-style partials and layouts.

STUB. This software has no release or pre-release in four years, or its project site no longer shows it, so it is not part of the register, not counted and not indexed. It will be checked again.

Source: https://findsoftware.frbit.cloud/grunt-flats/
Last reviewed: 2026-10-22
Updated: 2026-10-25
Listed since: 2026-10-22

## Record

### Links

- repository: https://github.com/adamduncan/grunt-flats
- docs: https://github.com/adamduncan/grunt-flats/blob/master/README.md

### Identity

- status: stub
- maintainer: Adam Duncan
- maintainerType: individual
- parent: unknown
- firstRelease: 2014
- hqCountry: unknown

### Kind

- category: ssg
- hosting: static
- language: javascript
- runtime: node
- runtimeMin: node 0.10
- basedOn: grunt

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: mustache
- i18n: unknown

### Rendering and deploy

- runsAs: static
- renderingModes: static
- installMethod: npm install --save-dev

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2014-12-15

### Adoption

- githubStargazers: 12
- packagistDownloads: not applicable
- npmWeeklyDownloads: 3
- contributors: 1
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 3
- dependentPackages: 2

### Sources

- urls: https://api.github.com/repos/adamduncan/grunt-flats (read 2026-10-22)
- urls: https://github.com/adamduncan/grunt-flats/blob/master/README.md (read 2026-10-22)
- maintainer: https://raw.githubusercontent.com/adamduncan/grunt-flats/master/LICENSE (read 2026-10-22)
- language: https://api.github.com/repos/adamduncan/grunt-flats (read 2026-10-22)
- category: https://github.com/adamduncan/grunt-flats/blob/master/README.md (read 2026-10-22)
- basedOn: https://github.com/adamduncan/grunt-flats/blob/master/README.md (read 2026-10-22)
- runtime: https://raw.githubusercontent.com/adamduncan/grunt-flats/master/package.json (read 2026-10-22)
- runtimeMin: https://raw.githubusercontent.com/adamduncan/grunt-flats/master/package.json (read 2026-10-22)
- installMethod: https://github.com/adamduncan/grunt-flats/blob/master/README.md (read 2026-10-22)
- renderingModes: https://github.com/adamduncan/grunt-flats/blob/master/README.md (read 2026-10-22)
- runsAs: https://github.com/adamduncan/grunt-flats/blob/master/README.md (read 2026-10-22)
- templating: https://github.com/adamduncan/grunt-flats/blob/master/README.md (read 2026-10-22)
- license: https://api.github.com/repos/adamduncan/grunt-flats (read 2026-10-22)
- licenseModel: https://raw.githubusercontent.com/adamduncan/grunt-flats/master/LICENSE (read 2026-10-22)
- firstRelease: https://registry.npmjs.org/grunt-flats (read 2026-10-22)
- currentMajor: https://registry.npmjs.org/grunt-flats (read 2026-10-22)
- latestReleaseDate: https://registry.npmjs.org/grunt-flats (read 2026-10-22)
- githubStargazers: https://api.github.com/repos/adamduncan/grunt-flats (read 2026-10-22)
- contributors: https://api.github.com/repos/adamduncan/grunt-flats/contributors (read 2026-10-22)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/point/last-week/grunt-flats (read 2026-10-22)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/grunt-flats (read 2026-10-25)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/grunt-flats (read 2026-10-25)

## Notes

grunt-flats is a Grunt task that renders Mustache-style partials and layouts into static HTML pages. It reads a master page, layouts and partials from a `_templates` folder by default and compiles each layout into a destination directory. Partials can be nested, take their own data object, and carry default values. The task is installed as a development dependency of a project that already uses Grunt and is configured in the Gruntfile under a `flats` key.

## Worth knowing

On each build the task removes every `.html` file from the destination directory, except the master page when it sits there.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
