intoli / user-agents

A JavaScript library for generating random user agents with data that's updated daily.
Other
981 stars 51 forks source link

Please use `files` in `package.json` #49

Open shellscape opened 2 years ago

shellscape commented 2 years ago

By not using files, you're publishing the entire directory to NPM. Here's a screenshot of the contents of the package tar.

Screen Shot 2022-10-31 at 1 25 15 PM

Please use this https://docs.npmjs.com/cli/v8/configuring-npm/package-json#files. The published size is a whopping 2.6mb.