@solidexpert/ngx-country-helper
TypeScript icon, indicating that this package has built-in type declarations

15.0.0 • Public • Published

Angular helper to get current country by TimeZone

Versions

Angular version package version
14.x 14.x
15.x 15.x

Installation

npm install --save @solidexpert/ngx-country-helper

Usage

Add ClickOutsideModule to your list of module imports:

import * as helper from "@solidexpert/ngx-country-helper";

You can then use the directive in your templates:

@Component({
  selector: 'app',
  template: `
    <div>{{data.country}} -- {{data.code}}</div>
  `
})
export class AppComponent {
  
  data:{}
  constructor() {
   this.data = helper.getCountry();
  }
}

Package Sidebar

Install

npm i @solidexpert/ngx-country-helper

Weekly Downloads

1

Version

15.0.0

License

MIT

Unpacked Size

130 kB

Total Files

9

Last publish

Collaborators

  • ilunts
  • siarhei.shchypanau