
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
metrics-stripe-charges
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
A Stripe charges plugin for segmentio/metrics.
Use this plugin to visualize Stripe charges over time.
$ npm install metrics-stripe-charges
Here's a full example of a Geckoboard dashboard showing Stripe charge metrics:
var Metrics = require('metrics');
var charges = require('metrics-stripe-charges');
var geckoboard = require('geckoboard')('api-key');
new Metrics()
.every('10m', charges('stripe-key'))
.use(function (metrics) {
metrics.on('stripe charged', function (metric) {
geckoboard('widget-id').number(metric.latest());
});
});
You can further filter
customers using stripe-charges filters:
new Metrics()
.every('10m', charges('stripe-key', { filter: filter }));
function filter (charge) {
return charge.customer !== 'cus_8239d2jd9j'; // filter enterprise customer X
}
The metrics exposed by this plugin are:
stripe charges
- the number of chargesstripe charged
- the dollar amount chargedand are calculated for the last 30 days, last 52 weeks, and last 10 years.
MIT
FAQs
Stripe charges plugin for segmentio/metrics
The npm package metrics-stripe-charges receives a total of 0 weekly downloads. As such, metrics-stripe-charges popularity was classified as not popular.
We found that metrics-stripe-charges demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.