Skip to content

Slayer95/sugar-deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sugar-Deprecated

Build Status

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.

Installation

npm install --save sugar-deprecated

Usage

Add to the very top of the application.

require('sugar-deprecated')(fn); // Pass a logger function to convenience.

License

MIT License

About

Compatibility layer to smoothly remove dependency on library Sugar.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published