Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 766 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 766 Bytes

node-ether-xtoy

a ether_aton, ether_ntoa bindings for Node.js

Node.js CI

Node.js Package

installation

npm install ether-xtoy

examples

const {ether_ntoa,ether_aton} = require('ether-xtoy');
//on amd64 linux
ether_ntoa(Buffer.from([-85, 11, 28, 13, 62, -17]);//returns ab:b:1c:d:3e:ef
ether_aton("ab:0b:1c:d:3e:ef");// returns Buffer.from([-85, 11, 28, 13, 62, -17]);