Skip to content
This repository was archived by the owner on Feb 4, 2018. It is now read-only.

Commit 5a2840c

Browse files
author
blond
committed
docs(deprecation): add deprecation section
1 parent 8190d88 commit 5a2840c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Contents
2828
* [API](#api)
2929
* [TypeScript support](#typescript-support)
3030
* [Debuggability](#debuggability)
31+
* [Deprecation](#deprecation)
3132

3233
Install
3334
-------
@@ -360,6 +361,19 @@ console.log(JSON.stringify(name));
360361
// ➜ {"block":"input","mod":{"name":"available","val":true}}
361362
```
362363

364+
Deprecation
365+
-----------
366+
367+
Deprecation is performed with [depd](https://github.com/dougwilson/nodejs-depd).
368+
369+
To silencing deprecation warnings from being output use the `NO_DEPRECATION` environment variable.
370+
371+
> More [details](https://github.com/dougwilson/nodejs-depd#processenvno_deprecation) in `depd` documentation
372+
373+
```
374+
NO_DEPRECATION=@bem/entity-name node app.js
375+
```
376+
363377
License
364378
-------
365379

0 commit comments

Comments
 (0)