Skip to content

Instantly share code, notes, and snippets.

@interactivellama
Created March 15, 2016 20:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save interactivellama/7e94d8d582aa40d6917d to your computer and use it in GitHub Desktop.
Save interactivellama/7e94d8d582aa40d6917d to your computer and use it in GitHub Desktop.
Snippet for NodeJS's util library that inspects all levels of a variable
<snippet>
<!-- Snippet for https://nodejs.org/api/util.html -->
<!-- Put this file in `Sublime Text 3/packages/User/ then restart. -->
<!-- Don't forget to import `const util = require('util');` -->
<content><![CDATA[console.log(util.inspect($1,false, null));$0]]></content>
<tabTrigger>util</tabTrigger>
<scope>text.html,source.js</scope>
<description>console.log(util.inspect())</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment