node/deps/npm/node_modules/fstream/examples/symlink-write.js

10 lines
222 B
JavaScript

var fstream = require("../fstream.js")
fstream
.Writer({ path: "path/to/symlink"
, linkpath: "./file"
, isSymbolicLink: true
, mode: "0755" // octal strings supported
})
.end()