About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
core
pablosabater.dev
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Monorepo for Tangled
forked from
tangled.org/core
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
core
/
ogre
/
src
/
lib
/
pluralize.ts
90 B
1 line
TypeScript
at
master
Blame
Download
Open raw file
t1c.dev
ogre: pluralize files changed count in PR og image
4mo ago
f7f09c9f
1
2
export
const
pluralize
=
(label
:
string
,
n
:
number
)
=>
(
`
${
label
}${
n
===
1
?
""
:
"s"
}
`
);