Implementing TLV in javascript

I was able to use this NPM package npm i --save @axenda/zatca to solve the problem. For more info, visit this page https://github.com/axenda/zatca