How to use the fs-minipass.WriteStreamSync function in fs-minipass

To help you get started, we’ve selected a few fs-minipass 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 GoogleContainerTools / kpt / docsy / node_modules / fsevents / node_modules / tar / lib / replace.js View on Github external
const streamSync = (opt, p, position, fd, files) => {
  const stream = new fsm.WriteStreamSync(opt.file, {
    fd: fd,
    start: position
  })
  p.pipe(stream)
  addFilesSync(p, files)
}
github npm / node-tar / lib / create.js View on Github external
const createFileSync = (opt, files) => {
  const p = new Pack.Sync(opt)
  const stream = new fsm.WriteStreamSync(opt.file, {
    mode: opt.mode || 0o666
  })
  p.pipe(stream)
  addFilesSync(p, files)
}
github graalvm / graaljs / graal-nodejs / deps / npm / node_modules / tar / lib / replace.js View on Github external
const streamSync = (opt, p, position, fd, files) => {
  const stream = new fsm.WriteStreamSync(opt.file, {
    fd: fd,
    start: position
  })
  p.pipe(stream)
  addFilesSync(p, files)
}
github davidhealey / waistline / node_modules / npm / node_modules / tar / lib / replace.js View on Github external
const streamSync = (opt, p, position, fd, files) => {
  const stream = new fsm.WriteStreamSync(opt.file, {
    fd: fd,
    start: position
  })
  p.pipe(stream)
  addFilesSync(p, files)
}
github npm / node-tar / lib / replace.js View on Github external
const streamSync = (opt, p, position, fd, files) => {
  const stream = new fsm.WriteStreamSync(opt.file, {
    fd: fd,
    start: position
  })
  p.pipe(stream)
  addFilesSync(p, files)
}

fs-minipass

fs read and write streams based on minipass

ISC
Latest version published 1 year ago

Package Health Score

74 / 100
Full package analysis

Similar packages