A minimal example of a pmp-installable Pike module.
pmp init
pmp install github.com/TheSmuks/pmp-example-moduleOr add manually to your pike.json:
{
"dependencies": {
"Hello": "github.com/TheSmuks/pmp-example-module"
}
}Then run pmp install.
import Hello;
write(Hello.greet() + "\n"); // "Hello from pmp!"