Skip to content

Commit f405ade

Browse files
authored
docs: remove broken links to deleted examples directory (#1026)
The README references example files in ./examples/node/ (app.js, worker.js, stdout.js) that no longer exist in the repository. The examples directory was removed and is not included in the package.json files field. Since the example code is already shown inline in the README, the dead links are unnecessary. Fixes #927
1 parent 6704cea commit f405ade

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $ npm install debug
1717

1818
`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole.
1919

20-
Example [_app.js_](./examples/node/app.js):
20+
Example _app.js_:
2121

2222
```js
2323
var debug = require('debug')('http')
@@ -40,7 +40,7 @@ http.createServer(function(req, res){
4040
require('./worker');
4141
```
4242

43-
Example [_worker.js_](./examples/node/worker.js):
43+
Example _worker.js_:
4444

4545
```js
4646
var a = require('debug')('worker:a')
@@ -249,7 +249,7 @@ In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScrip
249249

250250
By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method:
251251

252-
Example [_stdout.js_](./examples/node/stdout.js):
252+
Example _stdout.js_:
253253

254254
```js
255255
var debug = require('debug');

0 commit comments

Comments
 (0)