Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
metrics-stripe-charges
Advanced tools
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 charges todaystripe charged
- the amount charged todayand 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 9 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.