Gathering detailed insights and metrics for browserslist-ga-export
Gathering detailed insights and metrics for browserslist-ga-export
Gathering detailed insights and metrics for browserslist-ga-export
Gathering detailed insights and metrics for browserslist-ga-export
npm install browserslist-ga-export
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
69 Stars
38 Commits
8 Forks
3 Watching
2 Branches
9 Contributors
Updated on 15 Aug 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-63%
1,112
Compared to previous day
Last week
-3.7%
8,334
Compared to previous week
Last month
18.5%
35,968
Compared to previous month
Last year
24.6%
332,306
Compared to previous year
4
1
browserslist-ga-export
allows you to generate a browserslist-stats.json
file for Google Analytics data using the Browserslist-GA parser without requiring you to log into a Google Account. Instead of logging into a Google Account, you must provide a CSV export of Google Analytics data.
1npm install browserslist-ga-export --save-dev
Create a blank Exploration with the specifications listed below:
Press the Export Data button and select the CSV option.
browserslist-stats.json
Use the browserslist-ga-export
CLI to generate a browserslist-stats.json
file based on the CSV file. See CLI documentation for more details.
1browserslist-ga-export --reportPath {String} [options]
Ensure that language is set to "English (United States)" in user language settings. See #5 and #14 for an explanation of why this is necessary.
Create a custom report with the specifications listed below. You will be able to use this custom report for one or more desired Google Analytics view(s) associated with a Google Analytics account.
For each desired view, follow these steps to export the custom report as a CSV file:
browserslist-stats.json
file based on CSV file(s)Use the browserslist-ga-export CLI to generate a browserslist-stats.json
file based on the CSV file(s). See CLI documentation for more details.
1browserslist-ga-export --reportPath {String} --firstRowIndex 7 [options]
browserslist-ga-export
Generate a browserslist-stats.json
file based on one or more Google Analytics data CSV files (see usage instructions).
--reportPath
(-r
)Path or glob path pattern of CSV file(s) to process. If a glob path pattern is provided that resolves to multiple files, the browserslist-stats.json
file will represent the merged data of those files.
--firstRowIndex
(-f
)Zero-based index of first data row in CSV file. Default value is based on the default format of Google Analytics 4 CSV exports.
8
--outputPath
(-o
)Output path for generated browserslist-stats.json
file. If a file already exists at the path, that file will be overwritten.
'browserslist-stats.json'
Generate browserslist-stats.json
from a Google Analytics 4 CSV file called browserslist-report.csv
:
1browserslist-ga-export --reportPath browserslist-report.csv
Generate browserslist-stats.json
from a Universal Analytics CSV file called browserslist-report.csv
:
1browserslist-ga-export --reportPath browserslist-report.csv --firstRowIndex 7
Generate browserslist-stats.json
from multiple CSV files in a folder called browserslist-reports
:
1browserslist-ga-export -r browserslist-reports/*.csv
Generate custom usage data file called browser-stats.json
instead of browserslist-stats.json
:
1browserslist-ga-export -r browserslist-report.csv -o browser-stats.json
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 4/27 approved changesets -- score normalized to 1
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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
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