Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
clapper
like
26
Running
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
main
clapper
/
packages
/
engine
/
src
/
utils
/
deduplicate.ts
shaw
move packages and add file links
3e03786
9 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
140 Bytes
export
function
deduplicate
(
items:
string
[]
):
string
[] {
return
Object
.
keys
(items.
reduce
(
(
acc, item
) =>
({ ...acc, [item]: item }), {}))
}