How to use the fs-temp.writeFileSync function in fs-temp

To help you get started, we’ve selected a few fs-temp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LinusU / fs-xattr / test / xattr.js View on Github external
before(function () {
    path = temp.writeFileSync('')
  })
github LinusU / fs-xattr / test / xattr.js View on Github external
before(function () {
    path = temp.writeFileSync('')
  })
github LinusU / node-alias / test / basics.js View on Github external
before(function () {
    aliasFile = temp.writeFileSync(new Buffer('626f6f6b000000006d61726b00000000', 'hex'))
    garbageFile = temp.writeFileSync(new Buffer('Hello my name is Linus!'))
  })
github LinusU / node-alias / test / basics.js View on Github external
before(function () {
    aliasFile = temp.writeFileSync(new Buffer('626f6f6b000000006d61726b00000000', 'hex'))
    garbageFile = temp.writeFileSync(new Buffer('Hello my name is Linus!'))
  })

fs-temp

`fs-temp` is a quick and simple way to create temporary files and directories.

MIT
Latest version published 3 years ago

Package Health Score

47 / 100
Full package analysis

Similar packages