bn.js icon indicating copy to clipboard operation
bn.js copied to clipboard

Split into different modules

Open DevSide opened this issue 6 years ago • 1 comments

bn.js is used by a lot of packages but some of them does not use all bn's features and are meant to be run in a browser where package size is important in terms of downloading and parsing time.

I suggest splitting into different modules, objects and operators extending bn, in order to get the optimizer tools removing dead code (tree-shaking).

What do you think ?

DevSide avatar Oct 23 '17 14:10 DevSide

I don't mind!

indutny avatar Oct 31 '17 15:10 indutny