JSPM

  • Created
  • Published
  • Downloads 46006
  • Score
    100M100P100Q151310F
  • License MIT

Utilities library for Angular

Package Exports

  • ngxtension
  • ngxtension/active-element
  • ngxtension/assert-injector
  • ngxtension/auto-effect
  • ngxtension/call-apply
  • ngxtension/click-outside
  • ngxtension/computed
  • ngxtension/computed-async
  • ngxtension/computed-from
  • ngxtension/computed-previous
  • ngxtension/connect
  • ngxtension/control-error
  • ngxtension/control-value-accessor
  • ngxtension/create-effect
  • ngxtension/create-injectable
  • ngxtension/create-injection-token
  • ngxtension/create-notifier
  • ngxtension/create-repeat
  • ngxtension/create-signal
  • ngxtension/debug
  • ngxtension/derive-loading
  • ngxtension/derived-async
  • ngxtension/derived-from
  • ngxtension/effect-once-if
  • ngxtension/explicit-effect
  • ngxtension/filter-array
  • ngxtension/filter-nil
  • ngxtension/form-events
  • ngxtension/gestures
  • ngxtension/host-binding
  • ngxtension/if-validator
  • ngxtension/inject-destroy
  • ngxtension/inject-document-visibility
  • ngxtension/inject-inputs
  • ngxtension/inject-is-intersecting
  • ngxtension/inject-lazy
  • ngxtension/inject-local-storage
  • ngxtension/inject-network
  • ngxtension/inject-params
  • ngxtension/inject-query-params
  • ngxtension/inject-route-data
  • ngxtension/inject-route-fragment
  • ngxtension/inject-text-selection
  • ngxtension/intl
  • ngxtension/linked-query-param
  • ngxtension/map-array
  • ngxtension/map-skip-undefined
  • ngxtension/merge-from
  • ngxtension/merge-http-context
  • ngxtension/navigation-end
  • ngxtension/not-pattern
  • ngxtension/package.json
  • ngxtension/poll
  • ngxtension/reduce-array
  • ngxtension/repeat
  • ngxtension/repeat-pipe
  • ngxtension/resize
  • ngxtension/rx-effect
  • ngxtension/shared
  • ngxtension/signal-history
  • ngxtension/signal-slice
  • ngxtension/singleton-proxy
  • ngxtension/svg-sprite
  • ngxtension/take-latest-from
  • ngxtension/to-lazy-signal
  • ngxtension/to-observable-signal
  • ngxtension/trackby-id-prop
  • ngxtension/when-document-visible

Readme

ngxtension - Angular Extensions

NPM Version NPM Downloads All Contributors

A modern collection of utilities for Angular – signals, forms, effects, DOM helpers, and more.


✨ Features

  • Signal Utilities: Advanced computed, derived, and async signals, signal history, lazy signals, and more.
  • DOM & Event Helpers: Click outside, gestures, resize observer, active element, host binding, and more.
  • Forms: Control value accessor helpers, control error, form events, if-validator, etc.
  • RxJS & Effects: Auto effects, explicit effects, create effect, rx-effect, take-latest-from, etc.
  • Injection & DI: Create injectable, create injection token, assert injector, inject-destroy, inject-lazy, inject-network, and more.
  • Array & Object Utilities: Filter array, map array, reduce array, merge-from, not-pattern, etc.
  • Routing: Inject params, inject query params, inject route data/fragment, navigation-end, linked-query-param.
  • Internationalization: Utilities for i18n and formatting.
  • SVG & UI: SVG sprite helpers, repeat pipe, trackBy helpers, and more.

See the full documentation for a complete list and usage examples.


🚀 Installation

npm install ngxtension
# or with pnpm
pnpm add ngxtension

For Angular CLI or Nx workspaces

After installing, run the init schematic:

ng generate ngxtension-plugin:init
# or with Nx
nx generate ngxtension-plugin:init

📦 Usage

Import the utilities you need:

import { linkedQueryParam } from 'ngxtension/linked-query-param';
import { injectParams } from 'ngxtension/inject-params';

All utilities are tree-shakable and designed for Angular 16+.


📚 Documentation


🤝 Contributors

Thanks to all these amazing people (emoji key):

All Contributors

Want to contribute? Read our contributing guide and join us!


📄 License

MIT


Ready to supercharge your Angular app? Get started with ngxtension!