log2 now working on npm.