kswedberg / jquery-smooth-scroll

Automatically make same-page links scroll smoothly
MIT License
1.97k stars 427 forks source link

Duplicate npm packages? #77

Closed MiniGod closed 8 years ago

MiniGod commented 9 years ago

Why is this module published to multiple npm packages with different names?

https://www.npmjs.com/package/smooth-scroll https://www.npmjs.com/package/jquery.smooth-scroll https://www.npmjs.com/package/jquery-smooth-scroll

The latter one is the most downloaded one (10x more than the others combined), and most up to date.

How about unpublishing the others?

kswedberg commented 9 years ago

Thanks a lot for the report! And sorry about the confusion. This note from https://docs.npmjs.com/cli/unpublish gives me pause:

It is generally considered bad behavior to remove versions of a library that others are depending on!

Consider using the deprecate command instead, if your intent is to encourage users to upgrade.

What do you think? Should I just deprecate them?

MiniGod commented 9 years ago

Deprecation definitely sounds best, if that also hides it from search results.

kswedberg commented 8 years ago

I deprecated https://www.npmjs.com/package/jquery.smooth-scroll and updated its readme. I also removed https://www.npmjs.com/package/smooth-scroll entirely. I hope that helps avoid the confusion.