Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Node.js static site generator and developer framework for rapid prototyping, building websites, docs, and scaffolds from templates.
Assemble is an open-source Node.js command line tool and developer framework for rapid prototyping, static site generation, and project scaffolding, built on the base and templates libraries by Jon Schlinkert and Brian Woodward.
Assemble is a command line tool and Node.js developer framework for rapid prototyping and static site generation. It takes template files (Markdown, HTML, Handlebars, etc.) and data, renders them through pluggable template engines, and outputs static files to a destination directory. It is developed primarily by Jon Schlinkert and Brian Woodward, has over 4,000 stars on GitHub, and is MIT-licensed.
assemble generates a basic one.Install assemble locally with npm, create an assemblefile.js, define tasks using .src/.dest, and run them via the assemble CLI. For example, a default task pipes templates/*.hbs through a rendering stream to a site/ destination. Tasks can be run individually or together, and the CLI supports dot-notation options like --cwd or --file to specify config and directories.
Assemble is free and open source under the MIT License (Copyright © 2017, Jon Schlinkert). No paid tiers or commercial licenses are mentioned.
Yes, Assemble is open source under the MIT License. You can install it with npm and use it in commercial projects without a paid license.
No. Assemble v0.6.0 was completely rewritten as a standalone Node.js library. The grunt plugin is maintained separately as grunt-assemble; the current website assemble.io only documents that older grunt plugin.
Install locally with npm install -D assemble to add it to your project devDependencies. You can also install the CLI globally with npm install --global assemble, but local installation is recommended to isolate projects from breaking changes.
Assemble adds a CLI, built-in view collections for pages, layouts, and partials, middleware for parsing front-matter, and other defaults on top of assemble-core. If you don't need tasks or file system methods, the templates library alone might be enough.
Yes. Assemble templates are vinyl files and it uses vinyl-fs, so any gulp plugin can be used in an assemble pipeline. However, running assemble inside gulp is not recommended because assemble does things gulp doesn't, like middleware handling.
