Compatibility layer to smoothly remove dependency on the library Sugar.js
I have nothing against said library, but I found myself in the need to remove it from a project.
This solution deprecates Sugar.js extensions, but they still work should you forget to remove any of them. Optionally, warns will be emitted whenever such calls are unexpectedly performed.
npm install --save sugar-deprecated
Add to the very top of the application.
fn; // Pass a logger function to convenience.