number-to-bn

A simple method that will convert numbers, hex, BN or bignumber.js object into a BN.js object.