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

@keonai/primeng-standalone

v1.2.11

Published

A collection of Angular schematics for setting up a standalone Angular application with PrimeNG and TailwindCSS.

Readme


Overview

A production-ready Angular 21 preset that configures:

  • ✅ Standalone Architecture
  • ✅ PrimeNG 21 auto-install
  • ✅ TailwindCSS 4 integration
  • ✅ Environment automation
  • ✅ Spanish / English support
  • ✅ Enterprise folder structure
  • ✅ Admin layout starter

Installation

ng add @keonai/primeng-standalone

Installation Modes

You can install different configuration levels:


Structure Only

Creates folder architecture without modifying configuration.

ng add @keonai/primeng-standalone --mode=structure

Includes:

  • core/
  • modules/
  • shared/
  • base folder layout

No PrimeNG or Tailwind configuration.


Full Setup

Creates structure + base Angular configuration.

ng add @keonai/primeng-standalone --mode=full

Includes:

  • Folder structure
  • app rewrite
  • base routes
  • environment setup
  • gitignore updates

Enterprise (Default)

Full enterprise configuration:

ng add @keonai/primeng-standalone

Includes:

  • PrimeNG 21 installation
  • TailwindCSS 4 setup
  • PostCSS config
  • Angular.json updates
  • Admin layout starter
  • Shared PrimeNG module
  • Environment auto-generation
  • Spanish / English option
  • App rewrite
  • Locale configuration

Language Support

During installation you can choose:

  • English (default)
  • Spanish (es-CO)
  • Multilingual + internationalization (English / Spanish)

If Spanish is selected:

  • Angular LOCALE_ID configured
  • PrimeNG translations applied
  • primeng-es.config.ts generated

If Multilingual + internationalization is selected:

  • App i18n service generated
  • Standalone translate pipe generated
  • Standalone translateContent pipe generated for manually mapped database content
  • Reusable language switcher generated
  • English and Spanish app translation dictionaries generated
  • Angular locales registered for en-US and es-CO
  • LOCALE_ID connected to the i18n service
  • PrimeNG translations switch with the active language
  • Generated admin layout uses app translations
  • Language switcher uses English and Spanish flag buttons

Optional Modules

During installation the schematic asks which feature modules should be created:

  • Public module with layout and home example
  • Admin module with layout and dashboard example
  • Auth module with login example
  • Enterprise module for business workflows
  • Customers module for customer-focused projects

Selected modules are wired into src/app/modules/modules.routes.ts and include standalone example pages so you can verify routing immediately.

The auth module generates standalone full-screen pages:

  • Login
  • Register
  • Forgot password
  • Recover password

Core Services

The preset generates:

  • BaseHttpService with JSON headers, bearer token support, client IP header support, and typed HTTP helpers.
  • UtilsService with router navigation and localStorage helpers.

The installer asks for a data access strategy:

  • REST API only: generates BaseHttpService
  • GraphQL only: generates BaseHttpGraphqlService
  • REST API + GraphQL: generates both services

If GraphQL is selected, the environment generator adds GRAPHQL_URL.


Tailwind Integration

Automatically configures:

  • tailwindcss
  • @tailwindcss/postcss
  • tailwindcss-primeui
  • SCSS integration
  • Custom breakpoints

Environment Automation

Generates:

  • .env
  • .env.template
  • scripts/envs.js
  • scripts/keonai-health.js

Runs automatically on:

npm start
npm run build

Manual automation commands:

npm run keonai:env
npm run keonai:health

keonai:env validates required environment variables before writing Angular environment files. keonai:health checks that the generated files and required dependencies are present.

Required environment variables:

  • API_URL
  • IP_URL
  • GRAPHQL_URL when GraphQL is selected

Generated Structure

src/
 ├── app/
 │   ├── core/
 │   ├── modules/
 │   ├── shared/
 │   └── app.config.ts
 │
 ├── assets/
 │   ├── styles.scss
 │   └── tailwind.css
 │
 ├── environments/
 │
scripts/
 └── envs.js

Requirements

  • Angular 21+
  • Standalone project

License

MIT