There are many extraneous files in the tsPEG tarball, including build files, tests, source code, and an assets directory containing several large images — none of which are needed by consumers of the package.
The code itself is < 100 KB, but the package size is ~ 2.8 MB. I suggest using the files array in your package.json to only include the files you intend to publish.
There are many extraneous files in the tsPEG tarball, including build files, tests, source code, and an
assets
directory containing several large images — none of which are needed by consumers of the package.The code itself is < 100 KB, but the package size is ~ 2.8 MB. I suggest using the
files
array in yourpackage.json
to only include the files you intend to publish.