Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Commit 5f20660

Browse files
more console functions
1 parent 6eff539 commit 5f20660

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ _For ES6_: const util = require('util');
8383
- `cd` console.dir()
8484
- `ci` console.info()
8585
- `ce` console.error()
86+
- `cg` console.group()
87+
- `cge` console.groupEnd()
8688

8789
**assert Module**
8890
- `assert.equal`

snippets/nodejs-snippet.cson

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@
189189
'console.warn':
190190
'prefix':'cw'
191191
'body':'console.warn(${1:});'
192+
'console.group':
193+
'prefix':'cg'
194+
'body':'console.group(${1:});'
195+
'console.groupEnd':
196+
'prefix':'cge'
197+
'body':'console.groupEnd(${1:});'
192198
#node - assert module
193199
'assert.equal':
194200
'prefix':'assert.equal'

0 commit comments

Comments
 (0)