interface-management provides nodejs implementation to get list of network interfaces, modify the network interface name using udev
Currently the following is supported.
Get list of network interfaces
Get Network Interface MAC address
Rename a network Interface
Tested on Ubuntu and should work on all unix like systems.
Rename of the network interface done using udev commands.
Refer to examples for usage.