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

@geexcode/geex-angular

v10.0.11

Published

Geex Angular core: HTTP, Apollo, i18n, Delon page bases, startup, headless platform modules.

Readme

@geexcode/geex-angular

Geex Angular Core: headless signal modules + Delon page bases.

Delon / ng-zorro are required peer dependencies (not an optional side package). Align versions with the admin template (Delon / ng-zorro 20.x).

Install

npm install @geexcode/geex-angular

Peers (excerpt): @angular/*, @delon/abc|acl|form|theme|util, ng-zorro-antd, apollo-angular, extract-files, graphql, graphql-ws, kiwi-intl, rxjs.

Providers

import {
  provideGeexCommon,
  provideGeexDelonBase,
  provideGeexApollo,
  provideGeexI18n,
  provideGeexStartup,
  GeexI18nService,
  GeexStartupService,
  GeexHttpInterceptor,
  GeexTranslateLoader,
  loadEnvironmentOverrides,
  GEEX_APP_PERMISSION,
  GEEX_API_BASE_URL,
  GEEX_AFTER_LOGIN_NAVIGATE,
} from "@geexcode/geex-angular";
import { ALAIN_I18N_TOKEN } from "@delon/theme";

await loadEnvironmentOverrides(environment);

bootstrapApplication(AppComponent, {
  providers: [
    provideGeexCommon(),
    ...provideGeexI18n(hostI18nPacks),
    { provide: ALAIN_I18N_TOKEN, useExisting: GeexI18nService },
    { provide: GEEX_APP_PERMISSION, useValue: AppPermission },
    { provide: GEEX_API_BASE_URL, useValue: environment.api.baseUrl },
    { provide: GEEX_AFTER_LOGIN_NAVIGATE, useValue: () => window.clearHistory() },
    GeexHttpInterceptor,
    { provide: HTTP_INTERCEPTORS, useExisting: GeexHttpInterceptor, multi: true },
    ...provideGeexStartup({ /* getOAuthConfig, defaultMenus, settingKeys, onDebuggerInit */ }),
    provideAppInitializer(() => inject(GeexStartupService).load()),
    provideReuseTabConfig({ /* ... */ }),
    ...provideGeexDelonBase(),
    ...provideGeexApollo({
      baseUrl: environment.api.baseUrl,
      possibleTypes: introspection.possibleTypes,
    }),
  ],
});
  • provideGeexCommon() — headless modules only.
  • provideGeexI18n(packs) — GeexI18nService + GEEX_I18N / GEEX_I18N_PACKS; host owns zh-CN/en-US dictionary data; also wire ALAIN_I18N_TOKEN → GeexI18nService and TranslateLoader → GeexTranslateLoader.
  • provideGeexStartup / GeexStartupService — inject Core service directly (no host facade).
  • provideGeexDelonBase() — GeexRouter + GeexReuseTabStrategy (call after provideReuseTabConfig).
  • GeexHttpInterceptor — default zh-CN status messages + /authentication/login; override via GEEX_HTTP_STATUS_MESSAGES / GEEX_LOGIN_PATH / hooks.
  • provideGeexApollo — default typePolicies + error/silent/WS links + multipart upload (extract-files); host must pass baseUrl + possibleTypes. Opt out: enableUpload: false or custom createHttpLinkInstance.
  • loadEnvironmentOverrides — merges /assets/environment.override.js into host environment.

Delon surface

| Export | Role | |--------|------| | BusinessComponentBase / RoutedComponent / RoutedListComponent / RoutedEditComponent | Page bases (Template Method hooks for override) | | ModalComponentBase / TreeTableComponentBase | Modal / tree-table bases | | GeexRouter / GeexReuseTabStrategy | Router + reuse-tab harden | | ListPageLayoutComponent | Generic list layout | | rison | Query-param encoding | | GEEX_* tokens | Host i18n / permission / HTTP / blob / org / exception injection |

Override: subclass protected hooks (handleRouteReload, onTableSort, filterBatchIds, afterClose, getNodeKey, ...). No Page-Token ladder.

Tenant type

Hosts should use Core Tenant from @geexcode/geex-angular. For legacy ITenant imports, export type ITenant = Tenant is available from the package.

P2 UI (provide-layer)

| Area | Exports | |------|---------| | Approve | ApproveButtonComponent, ApproveBadge, GEEX_APPROVE_STATUS_OPTIONS | | Permissions | PermissionTransferWidget, PermissionsComponent, GEEX_PERMISSION_FILTER | | Org tree | OrgTreeSelectWidget, OrgTreeSelectPickerDirective, GEEX_ORG_OWNERSHIP_FILTER, GEEX_SUPER_ADMIN_USER_ID | | Upload | GeexUploadComponent, GeexUploadWidget, GEEX_BLOB_* tokens | | Guards | CurrentPlatformRedirectGuard, GEEX_MOBILE_PATH_SUFFIX | | Exception | Exception403/404/500Component, geexExceptionRoutes, provideGeexExceptionRoutes() | | Header chrome | HeaderUserComponent (GeexAuthLogout + GEEX_PROFILE_PATH / GEEX_PROFILE_LABEL), HeaderI18nComponent, fullscreen/search/clear-storage | | i18n | GeexI18nService, LangObject, provideGeexI18n, GeexTranslateLoader |

Host must provide blob GraphQL documents via GEEX_BLOB_CREATE_DOCUMENT, GEEX_BLOB_LIST_DOCUMENT, GEEX_BLOB_DELETE_DOCUMENT (from generated mutations.gql / queries.gql).

Host-only (not in Core)

  • debugger-blocker (product policy + eval) — keep in app shared/services
  • i18n packs (zh-CN / en-US with permissions / module-registry merge) — provide via provideGeexI18n
  • environment values and generated introspection.possibleTypes
  • optional clearHistory via GEEX_AFTER_LOGIN_NAVIGATE
  • peer extract-files installed in host (used by Core default upload link)
  • full-page LayoutBasic / LayoutAuth assembly (logo / watermark / PDF)

Business UI (modules/*) and identity widgets stay in the app source.