npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aem-kit/templates

v2.1.0

Published

AEM project templates emitted by create-aem-enterprise (Monolith, Multi-repo, React, Angular, Spring Boot, AEMaaCS overlay).

Downloads

1,541

Readme

@aem-kit/templates

The AEM project templates emitted by @aem-kit/create-project. Each is a complete, buildable-shaped multi-module Maven project. The wizard picks the tree(s) to scaffold from your answers.

Part of the AEM Enterprise Engineering Kit.

What's inside

There are two base repo types; frontend and backend are choices applied as overlays, not separate templates.

monorepo/            Base unified AEM repo — traditional baseline (HTL + JS Use-API, UnoCSS)
multirepo/
  general/           Foundation repo (common components, styles, utils, base template)
  backend/           API repo (bin-API servlets, integrations)
  child/             Cloned by `aem multirepo create <category>` (dynamic child)
frontends/
  react/  angular/   Frontend OVERLAYS — swap ui.frontend + the page component
backends/
  spring-boot-proxy/ Backend OVERLAY — turns the bin API into a Spring Boot proxy
springboot/service/  Spring Boot 3 microservice, cloned by `aem springboot create service <name>`
overlays/
  aemaacs/           ui.config (runmode OSGi) + dispatcher.cloud (added when opted in)

Every AEM tree mirrors the same module shape (core / ui.apps / ui.content / ui.frontend / all) plus config/ (Checkstyle), .githooks/, and .github/.

Target: AEM 6.5 (uber-jar apis 6.5.5), Core Components 2.24.x, Java 11; the Spring Boot service targets Java 17 / Spring Boot 3.

How templates compose

resolveTemplate(answers) returns { baseJobs, removals, overlayJobs }:

  1. Basemonorepo/, or multirepo/general + multirepo/backend.
  2. Removals — for a react/angular frontend, the base's ui.frontend, page component and default clientlib are deleted first.
  3. Overlays — the chosen frontends/<fe> (onto the site repo), then backends/spring-boot-proxy (onto the API repo) when backend = spring-boot, then overlays/aemaacs when opted in. A starter springboot/service is also copied to services/<artifact>-service.

| architecture | frontend | backend | result | |--------------|----------|---------|--------| | monorepo | traditional | servlet | monorepo/ | | monorepo | react | spring-boot | monorepo/ + frontends/react + backends/spring-boot-proxy + starter service | | multirepo | angular | servlet | general + backend, frontends/angular → general |

reposToInit(answers) lists the directories that each get their own git init (multi-repo repos and Spring Boot services are independent repos).

Usage

This package is a template payload, not a runnable tool. Use it via the wizard, which rewrites the identifiers to your project:

npm create aem-enterprise

Programmatic access to the templates:

import { templates, resolveTemplate, templateDefaults } from "@aem-kit/templates";
// templates.monolith, templates.react, templates.multirepoGeneral, ...
// resolveTemplate(answers) → { jobs: [{from, to}], primaryTo }

Note: the template ships its .gitignore as a file named gitignore (npm strips literal .gitignore from tarballs); the scaffolder restores the dot on generation.

Related packages

| Package | Purpose | |---------|---------| | @aem-kit/create-project | Scaffold a new AEM project (consumes this template) | | aem-kit | The aem CLI — generators, doctor, deploy | | @aem-kit/generators | Component / model / servlet / service generators | | @aem-kit/templates | The project template (this package) | | @aem-kit/shared | Shared utilities |

License

MIT