1.1.0 • Published 10 years ago
write-to-path v1.1.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