Last Updated: February 25, 2016
·
1.116K
· denizac

sublimetext snippet for node.js requires

save as ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/JavaScript/req.sublime-snippet

<snippet>
  <content><![CDATA[
var ${1:m} = require('${1:m}')

]]></content>
  <tabTrigger>require</tabTrigger>
  <scope>source.js</scope>
</snippet>