Installations
npm install @chapeaux/cpx-reporter
Developer Guide
Typescript
Yes
Module System
ESM
Node Version
18.14.2
NPM Version
9.5.0
Score
74.8
Supply Chain
86.6
Quality
78.4
Maintenance
100
Vulnerability
80.8
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (51.17%)
TypeScript (31.27%)
HTML (17.24%)
Makefile (0.24%)
CSS (0.04%)
Dockerfile (0.04%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
chapeaux
Download Statistics
Total Downloads
36,808
Last Day
31
Last Week
143
Last Month
638
Last Year
17,986
GitHub Statistics
1 Stars
283 Commits
1 Forks
4 Branches
4 Contributors
Bundle Size
5.54 kB
Minified
2.13 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.14.0
Package Id
@chapeaux/cpx-reporter@0.14.0
Unpacked Size
77.64 kB
Size
18.98 kB
File Count
13
NPM Version
9.5.0
Node Version
18.14.2
Publised On
08 Mar 2023
Total Downloads
Cumulative downloads
Total Downloads
36,808
Last day
121.4%
31
Compared to previous day
Last week
-39.1%
143
Compared to previous week
Last month
-6.2%
638
Compared to previous month
Last year
33.7%
17,986
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
CPX-REPORTER
Goals
Allow developers and content creators a consolidated mechanism to interact with the Event-Driven Data Layer (EDDL). The ReporterEvent
is used to attach meaningful data to the event and forward it on to the Newsdesk listening for event reports. The CPXReporter
component is used as a declarative means to listen for specific events or to fire off specific EDDL events automatically.
Installation
npm install @chapeaux/cpx-reporter
- {FUTURE CDN URL}
Usage
ReporterEvent
<script type="module" src="path/to/@chapeaux/cpx-reporter/reporter.js"></script>
import { ReporterEvent } from "path/to/@chapeaux/cpx-reporter/reporter.js";
<script type="module" data-emit="cpx-report" data-event="Page Load Started" src="path/to/@chapeaux/cpx-reporter/reporter.js"></script>
cpx-reporter
<script type="module" src="path/to/@chapeaux/cpx-reporter/cpx-reporter.js></script>
import {CPXReporter} from "path/to/@chapeaux/cpx-reporter/cpx-reporter.js;
<cpx-reporter debug auto event="Page Load Completed"></cpx-reporter>
<cpx-reporter event="User Signed In" beat="kc-token-ready">...</cpx-reporter>
Contributing
- Provide feedback on usage
- Submit an issue or PR
- Feature requests flow through CPCORE Jira Project
- Use "chapeaux" component
- Priority will be reviewed against all other requests
- No timeframe promised upon submission
To-Do
- Sync all data structures with formal EDDL declarations
Events
- Page Load Start
- Page Load Complete
- Click Events (using
data-analytics-*
attributes)- Navigation Links
- Download Links
- Footer Links
- Social Links
- Tab Links
- Internal Campaign Links
- Form Viewed
- Form Submission Succeeded
- Form Submission Failed
- User Signed In
- User Detected
- Content Listing Displayed
- Content Listing Item Clicked
- Internal Campaign Clicked
- Internal Campaigns Displayed
- CTA Link Clicked
- Download Complete
- Video Started
- Video Milestone Reached
- Video Completed
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 5/14 approved changesets -- score normalized to 3
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/auto-label.yml:1
- Info: no jobLevel write permissions found
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
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/auto-label.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/chapeaux/cpx-components/auto-label.yml/main?enable=pin
- Info: 0 out of 1 GitHub-owned GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 21 are checked with a SAST tool
Score
3
/10
Last Scanned on 2025-02-03
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