serialize-javascript

Serialize JavaScript to a superset of JSON that includes regular expressions and functions.

pbf

a low-level, lightweight protocol buffers implementation in JavaScript