cowboy / jquery-throttle-debounce

jQuery throttle / debounce: Sometimes, less is more!

Home Page:http://benalman.com/projects/jquery-throttle-debounce-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add to bower and npm

MickL opened this issue · comments

Can't use this script because its not available in Bower nor npm

I use it with Bower.

//bower.json
{                                                                                                              
  "name": "my-project",                                                                            
  "dependencies": {
    "jquery-throttle-debounce": "git@github.com:cowboy/jquery-throttle-debounce.git"
  }
}

Can you add the bower.json file in the next release ?
Best regards,

@MickL @wysman bower can consume this library.

see the docs: https://bower.io/docs/api/#install

how about npm then?

@wstoettinger have not tested it but this looks promising: https://www.npmjs.com/package/throttle-debounce-fn

I know it's not the ideal method of managing dependencies but since the lib is so small and the last commit was 8+years ago I manually added this to my project.

Failing a new maintainer, it's probably safe to assueme the project is dead so no updates would be coming anyway.