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

nxt-flags

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nxt-flags

Angular component to show country flags.

latest
Source
npmnpm
Version
21.0.0
Version published
Maintainers
1
Created
Source

nxt-flags

GitHub license npm scope

Angular component to show flags based on country ISO code.

Installing

npm install --save nxt-flags

Import flags component

import { FlagComponent } from 'nxt-flags'

@Component({
    ...
    imports: [
        ...
        FlagComponent
    ]
})

Add flags SVGs to Angular compilation

{
    ...
    "assets": [
        ...,
        {
            "glob": "**/*",
            "input": "./node_modules/nxt-flags/assets/flags",
            "output": "./assets/flags"
        }
    ]
}

Include it in HTML template

Use the tag nxt-flag with attribute country="xx" (where xx is the ISO 3166-1-alpha-2 code of a country):

<nxt-flag country="br"></nxt-flag>

Keywords

nxt-flags

FAQs

Package last updated on 16 Jan 2026

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