Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ formatEventsCount
Function
formatEventsCount
packages/payments/scripts/create-products.ts:7–11 ·
view source on GitHub ↗
(events: number)
Source
from the content-addressed store, hash-verified
5
import
{ PRICING } from
'../'
;
6
7
export
function
formatEventsCount(events: number) {
8
return
new
Intl.NumberFormat(
'en-gb'
, {
9
notation:
'compact'
,
10
}).format(events);
11
}
12
13
interface
Answers {
14
isProduction: boolean;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected