Usage const lcmd = require("localhostjsmd"); module.exports = `${lcmd.version}` Or const lcmd = require("localhostjsmd"); console.log(`My version is ${lcmd.getName}`) Install npm install localhostjsmd@latest changelog Removed errors of module localhost.js@latest