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