This libary can convert FiveM ESX scripts to Qbus and Qbus to ESX
const converter = require('fivem-script-converter');
// to convert a qbus script to esx
converter.qbustoesx('path/to/qbus/script.lua');
// ===============================
// to convert a esx script to qbus
converter.esxtoqbus('path/to/esx/script.lua');
// ===============================