0.0.1 • Published 10 years ago
functionserializer v0.0.1
functionserializer
A micro library for serializing and deserializing functions to strings
function greet(){
return "Hello World!";
}Sometimes you need to pass this across boundries that are JSON only.
var o = functionserializer.serialize(greet);
var f = functionserializer.deserialize(o);
f(); // "Hello World!"0.0.1
10 years ago