From 663e2af81c371e1c8135b02dc4fabe9c4cf4aa18 Mon Sep 17 00:00:00 2001 From: Jordan Date: Mon, 12 Nov 2018 16:43:46 +0800 Subject: [PATCH] change "my-module" to "my-cool-module" As in examples, `require('depd')('my-cool-module')` using `my-cool-module` namespace rather than `my-module`. --- Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 043d1ca..cc1ef27 100644 --- a/Readme.md +++ b/Readme.md @@ -194,7 +194,7 @@ timestamp of message namespace | | location o ### Deprecating all calls to a function This will display a deprecated message about "oldfunction" being deprecated -from "my-module" on STDERR. +from "my-cool-module" on STDERR. ```js var deprecate = require('depd')('my-cool-module') @@ -214,7 +214,7 @@ exports.oldfunction = deprecate.function(function () { ### Conditionally deprecating a function call This will display a deprecated message about "weirdfunction" being deprecated -from "my-module" on STDERR when called with less than 2 arguments. +from "my-cool-module" on STDERR when called with less than 2 arguments. ```js var deprecate = require('depd')('my-cool-module') @@ -248,7 +248,7 @@ exports.weirdfunction = function () { ### Deprecating property access This will display a deprecated message about "oldprop" being deprecated -from "my-module" on STDERR when accessed. A deprecation will be displayed +from "my-cool-module" on STDERR when accessed. A deprecation will be displayed when setting the value and when getting the value. ```js