Mediany is a dependency-free library for JavaScript event listening with the same principles as underlies responsive web design: Declarative behaviour at different media query breakpoints.
Website: http://mediany.holst.io/
You can get it from npm:
npm install mediany
Or you can download the compressed version.
For usage information, consult the documentation.
responsive.js is copyright 2016 Jonathan Holst and is released under the MIT License. See LICENCE for more information.