rguerreiro / device

Device type detection library based on the useragent string. Refactored from my express-device repo.
MIT License
79 stars 27 forks source link

Refactor npm package #34

Closed kelp404 closed 4 years ago

kelp404 commented 4 years ago

Hello,

Thank you for the project. I use it on my website.

I do something at package.json.

  1. remove unused node modules In the project, we didn't use yamlparser, request and diff. So I removed that.
  2. added files property We have over 3MB test files, and we publish that to npm.
    But test files are useless for developers download device from npm. ref: How to ignore files from your npm package

Have a nice day.