// package
extend
type: "module"
// preferences
// replacements (2)
structuredClone
Available nativelyThis feature is available natively by using structuredClone. No third-party package needed.
→ docs: MDN
// engine support
browsers
| engine | min version |
|---|---|
| chrome | 98 |
| chrome_android | 98 |
| edge | 98 |
| firefox | 94 |
| firefox_android | 94 |
| safari | 15.4 |
| safari_ios | 15.4 |
| opera | 84 |
| opera_android | 68 |
| samsunginternet_android | 18.0 |
| webview_android | 98 |
| webview_ios | 15.4 |
runtimes
| engine | min version |
|---|---|
| bun | 1.0.0 |
| deno | 1.14 |
| nodejs | 17.0.0 |
other
| engine | min version |
|---|---|
| oculus | 20.0 |
defu
Community choiceThis package provides equivalent functionality and has been flagged as more performant.
→ npmx: defu