MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / formatEventsCount

Function formatEventsCount

packages/payments/src/prices.ts:3–7  ·  view source on GitHub ↗
(events: number)

Source from the content-addressed store, hash-verified

1export type { ProductPrice } from '@polar-sh/sdk/models/components/productprice.js';
2
3function formatEventsCount(events: number) {
4 return new Intl.NumberFormat('en-gb', {
5 notation: 'compact',
6 }).format(events);
7}
8
9export type IPrice = {
10 price: number;

Callers 1

getRecommendedPlanFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected