npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

mknod

1.1.0

@mafintosh

npmHomeRepoSnykSocket
Downloads:0
$ npm install mknod
DailyWeeklyMonthlyYearly

mknod

Node bindings for mknod

npm install mknod

Usage

var mknod = require('mknod')

mknod('some-path', modeInteger, deviceInteger, function (err) {
  if (err) throw err
  console.log('mknod worked!')
})

API

mknod(path, mode, dev, [callback])

Runs the mknod syscall with the given parameters. See man 2 mknod for more info.

License

MIT