Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages