Skip to content

richardanaya/functionserializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!"

About

A microlibrary for serializing functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published