I'm curious if there are any options outside of npm for serializing complex JavaScript objects into a string, including functions and regex.
I've found a few libraries that can do this, but they all seem to depend on npm. Are there any good serialization tools out there that don't require npm and are built with pure vanilla JS?