Detalhes do pacote

grim

atom10.8k2.0.3

Log usage of deprecated methods

readme (leia-me)

Grim

OS X Build Status Windows Build Status Dependency Status

Log deprecate calls

Installing

npm install grim

Usage

Grim = require('grim')

function someOldMethod() {
  Grim.deprecate("Use theNewMethod instead.")
}

To view all calls to deprecated methods use Grim.logDeprecations() or get direct access to the deprecated calls by using Grim.getDeprecations()