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>
Written by Jason Denizac
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Nodejs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#