LZF provides LZF compression/decompression for JavaScript. It is compatible with the lzf_compress and lzf_decompress PHP functions (see LZF in PECL). It is based on the C source of LZF functions by Marc Alexander Lehmann and on the C source of the LZF PHP extension by Marcin Gibula.