Rich-Harris/devalue

Gets the job done when JSON.stringify can't

JavaScript
This is stars and forks stats for /Rich-Harris/devalue repository. As of 20 Apr, 2024 this repository has 1790 stars and 47 forks.

devalue Like JSON.stringify, but handles cyclical references (obj.self = obj) repeated references ([value, value]) undefined, Infinity, NaN, -0 regular expressions dates Map and Set BigInt custom types via replacers, reducers and revivers Try it out here. Goals: Performance Security (see XSS mitigation) Compact output Non-goals: Human-readable output Stringifying functions Usage There are two ways to use devalue: uneval This function takes a JavaScript value and returns the JavaScript code to create...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
uparrows/LANraragi_cnPerlHTMLJavaScript2300120
nunomaduro/collisionPHPBladeJavaScript4.4k01540
nordtheme/nordSCSSCSSStylus5.8k01740
RVCC-IDMX/poem-site-cynthiateetersSCSSHTMLJavaScript00190
JijaProGamer/Youtube-View-BotSvelteJavaScriptTypeScript56017+1
yudaocode/yudao-ui-admin-vue3VueTypeScriptJavaScript601+12225+4
jbrooksuk/artisan.pageVueJavaScript348+3340
ordinals-wallet/ordinals-collectionsRustJavaScript63901.2k0
michael-andreuzza/astrosaasAstroJavaScriptCSS1400410
brightsign/ez-asset-pool-brs-generatorBrightscriptJavaScriptCSS3010