Integer squareroot implemented for BigNumbers (bn.js) use bit-shift operations.
npm install bn-sqrt
Based on code from:https://en.wikipedia.org/wiki/Integer_square_root