Gathering detailed insights and metrics for flagpack-core
Gathering detailed insights and metrics for flagpack-core
Gathering detailed insights and metrics for flagpack-core
Gathering detailed insights and metrics for flagpack-core
Flagpack contains 250+ flag icons to easily use within your code project.
npm install flagpack-core
Typescript
Module System
Node Version
NPM Version
TypeScript (66.35%)
JavaScript (33.65%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
611 Stars
147 Commits
130 Forks
10 Watchers
17 Branches
6 Contributors
Updated on Jun 30, 2025
Latest Version
2.0.0
Package Id
flagpack-core@2.0.0
Unpacked Size
9.57 MB
Size
2.43 MB
File Count
3,051
NPM Version
7.19.1
Node Version
14.15.4
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
28
Flagpack contains 260+ flag icons to easily use within your code project. Flagpack is an open source project and available for JavaScript frameworks/libraries Angular, Vue and React.
View documentation on flagpack.xyz
Normally if you'll use any component the core will be automatically installed as peer dependency. If you want to test the core, you'll need to install one of the components and install the core as local module.
1# install local module to one of the components 2npm install ../path/to/flagpack-core
You'll need an .env
file with a SPREADSHEET_KEY
and API_KEY
to be able to build the generateCodeList.js
script to make the request to the GoogleAPI to fetch the flags data.
If you just want to make changes to the generateFlags.js
, the .env
is not needed, just use the current countryCodeList.json
.
1# install dependencies 2npm install 3 4# build for prod 5npm run build 6 7# build with watcher for dev 8npm run dev
To release a new version you'll need to make sure all changes commits are done and pushed. After that you'll need to decide which release type you want to use. The release types are; patch (0.0.1), minor (0.1.0), or major (1.0.0).
npm version <release_type>
This will update the version number in the package.json
, and will add a git tag automatically. Next you'll need to push the git tag to the remote.
git push --tags origin master
After that you'll need to publish to npm.
npm publish
When you're confident with the release, make sure the version tag is also released at GitHub.
You can find a changelog of Flagpack's releases on the Releases page on GitHub.
If you're interested in contributing to this project, great! Please see the contributing document.
Flagpack is an open source project published under a MIT license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 4/12 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
27 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More