grim

Log usage of deprecated methods

Usage no npm install needed!

<script type="module">
  import grim from 'https://cdn.skypack.dev/grim';
</script>

README

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()