Just a small thing to bring up not related to functionality.
If you npm pack you should notice that test.js gets packaged with the final package you upload to npm. If you change the /*.js entry in package.json's files to /index.js instead, you can avoid this.
Just a small thing to bring up not related to functionality.
If you
npm packyou should notice thattest.jsgets packaged with the final package you upload to npm. If you change the/*.jsentry inpackage.json'sfilesto/index.jsinstead, you can avoid this.