Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Write File snippet
<snippet>
<content><![CDATA[
(function(n,c){require('fs').writeFile('/somePath/'+n+'.html',c);})('${1:c}',${1}); // @test
]]></content>
<tabTrigger>write</tabTrigger>
<description>fs.writeFile()</description>
<scope>source.js</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment