libj-flags
v2.0.0
Published
``` npm i libj-flags ``` ``` import 'libj-flags' libj.flagsPath = '/flags' or some other public path to flags directory; libj.countries // returns an object with keys like "en", "fa", "ar", "fr", ... and values like array of this: { "code
Downloads
3
Readme
libj-flags
Part of libj tools
Usage
npm i libj-flags
import 'libj-flags'
libj.flagsPath = '/flags' or some other public path to flags directory;
libj.countries // returns an object with keys like "en", "fa", "ar", "fr", ... and values like array of this:
{
"code":"AD",
"name":"Andorra"
}