a VERY unprofessional argsplitter you should better not touch!
npm install unprofessional-argsplitter
const argsplit = require("unprofessional-argsplitter")
console.log(argsplit('foo=babe "test a"=3 "berta"=hugo "alice loves"="bob very much"'))
{
foo: 'babe',
'test a': '3',
berta: hugo,
'alice loves': 'bob very much'
}