New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@lamnhan/ngx-useful

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lamnhan/ngx-useful

A collection of helpful Angular services, pipes, ....

latest
Source
npmnpm
Version
0.0.35
Version published
Maintainers
1
Created
Source

@lamnhan/ngx-useful

A collection of helpful Angular services, pipes, ....

  • Getting started
  • Modules
  • Components
  • Services
  • Pipes
  • Detail API reference

Getting started

Install ngx-useful:

npm i @lamnhan/ngx-useful

You may also want to install Unistylus.

npm i @unistylus/core @unistylus/bootstrap

Basic usage, three steps to use a service:

// 1. provide services in ---> app.module.ts
{ ..., providers: [AppService], ... }

// 2. init services in ---> app.component.ts
this.appService.init(...);

// 3. inject where needed
constructor(private appService: AppService) {}

See guides for more articles. Also see the list of: services, pipes, directives, guards.

Modules

ClassDescription
RouterExternalActiveDirectiveModule
RouterLinkDirectiveModule
UsefulModule

Components

Services

ClassDescription
AlertService
AppServiceGeneral app related methods
AuthService
CacheService
CartService(DON'T USE YET) Shopping cart related actions
CurrencyService(DON'T USE YET) Currency service
DatabaseService
DateService(DON'T USE YET) Date service
ErrorService
FetchService
GuardService
HelperService
LocalstorageService
MetaService
ModalService
NavServiceAdvanced navigation
NetworkService
NotifyService(DON'T USE YET) Notify service
PersonaService
PlayerService
PwaService
SettingService
StorageService
UserService

Pipes

ClassDescription
AgoPipe
CurrencyxPipe
DatexPipe
FilterPipe
ListPipe
O1iPipeSelect the 1st item in an object
O2aPipeTurn an object of items into an array
SafePipeMark an url or a HTML content as safe from XSS

License

@lamnhan/ngx-useful is released under the MIT license.

Keywords

angular

FAQs

Package last updated on 28 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts