1.0.0 • Published 9 years ago

phpfn v1.0.0

Weekly downloads
161
License
MIT
Repository
github
Last release
9 years ago

phpfn

Get selected function from phpjs.org.

USAGE

var phpfn = require("phpfn");
phpfn("trim", function(error, trim) {
	if (error) throw error;
	console.log(trim("xABCx", "x")); // ABC
});

Synchronous version

var phpfn = require("phpfn");
var ucfirst = phpfn("ucfirst");
console.log(ucfirst("abc")); // Abc

TODO

  • dependent functions
1.0.0

9 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago