NodeJS version of the PHP Aptoma plugin API