npm.io
1.1.0 • Published 12 years ago

write-to-path

Licence
MIT
Version
1.1.0
Deps
0
Vulns
0
Weekly
0

write-to-path

Given a file path, return a function that will synchronously write to it

var writer = require('write-to-path')

var write = writer('./bundle.js', {debug: true})

write(null, src) // writes the file

Keywords