yahoo/serialize-javascript
View on GitHub ↗ ★ 2,925 JavaScript
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2019-12-31 · latest 2025-09-20
20082026
-
…https://github.com/jridgewell/sourcemaps https://github.com/jestjs/jest https://github.com/yahoo/serialize-javascript https://github.com/browserify/randombytes https://github.com/terser/terser https://github.com/tj/commander.js ht
comment by CMay · 2025-09-20 · in Less is safer: Reducing the risk of supply chain attacks -
▲ 2
Serialize JavaScript to a superset of JSON that includes regex and functionsstory by stareatgoats · 2020-02-23 · 0 comments
-
I've been recommended this library rather than figuring it for myself: https://github.com/yahoo/serialize-javascript You can use it in JSON mode like this: `serialize(obj, {isJSON: true});`
comment by andrewingram · 2019-12-31 · in Scaling React Server Side Rendering