Converted repository to a nodejs module