Skip to content
Sections
>> Trisquel >> Packages >> nabia >> javascript >> node-puka
nabia  ] [  aramo  ]
[ Source: node-puka  ]

Package: node-puka (1.0.0+dfsg-1build1)

Safely pass strings through shells - Node.js module

A Node.js module that provides a simple and platform-agnostic way to build shell commands with arguments that pass through your shell unaltered and with no unsafe side effects, whether you are running on Windows or a Unix-based OS.

It is useful when launching a child process from Node.js using a shell (as with child_process.exec); in that case you have to construct your command as a single string instead of using an array of arguments. And doing that can be buggy (if not dangerous) if you don't take care to quote any arguments correctly for the shell you're targeting, and the quoting has to be done differently on Windows and non-Windows shells.

Node.js is an event-based server-side JavaScript engine.

Other Packages Related to node-puka

  • depends
  • recommends
  • suggests
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    also a virtual package provided by node-pegjs

Download node-puka

Download for all available architectures
Architecture Package Size Installed Size Files
all 17.6 kB48 kB [list of files]