Get all MAC & IP addresses of all devices on network

I’m stuck to get the MAC and IP list addresses of all devices that are connected on the same network as me.
Running “arp -a” on windows cmd gives me exactly what I need BUT I haven’t found how can I do it in my ionic app.