Nomenclature Predictably Misunderstood
Miss any of our Open RFC calls?Watch the recordings here! »

sugar-deprecated

0.0.1 • Public • Published

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

Install

npm i sugar-deprecated

DownloadsWeekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • avatar