UNPKG
jsdoc-75lb
Version:
latest (3.6.0)
3.6.0
3.5.6
3.5.5
3.5.4
3.5.3
3.5.2
3.5.1
3.5.0
3.4.1
3.4.0-dev-6
3.4.0-dev-5
3.4.0-dev-4
3.4.0-dev-3
3.4.0-dev-2
3.4.0-dev-1
3.4.0-dev.9
3.4.0-dev.8
3.4.0-2
3.4.0-1
3.3.0-dev-2
3.3.0-dev
3.3.0-alpha13-3
3.3.0-alpha13-2
An API documentation generator for JavaScript.
github.com/jsdoc2md/jsdoc
jsdoc2md/jsdoc
jsdoc-75lb
/
node_modules-3.4.0
/
vinyl-fs
/
lib
/
dest
/
writeContents
/
writeBuffer.js
14 lines
(9 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict'
;
var
fs =
require
(
'graceful-fs'
);
function
writeBuffer
(
writePath, file, cb
) {
var
opt = {
mode
: file.
stat
.
mode
}; fs.
writeFile
(writePath, file.
contents
, opt, cb); }
module
.
exports
= writeBuffer;