]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/packages/vim-mode/node_modules/event-kit/node_modules/grim/README.md
Adds atom
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / event-kit / node_modules / grim / README.md
CommitLineData
24c7594d
BB
1# Grim [![Build Status](https://travis-ci.org/atom/grim.svg)](https://travis-ci.org/atom/grim)
2
3Log deprecate calls
4
5## Installing
6
7```sh
8npm install grim
9```
10
11## Usage
12
13```javascript
14Grim = require('grim')
15
16function someOldMethod() {
17 Grim.deprecate("Use theNewMethod instead.")
18}
19```
20
21To view all calls to deprecated methods use `Grim.logDeprecations()` or get direct access to the deprecated calls by using `Grim.getDeprecations()`