Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> javascript >> node-puka
nabia  ] [  aramo  ]
[ 源代码: node-puka  ]

软件包: node-puka (1.0.1+dfsg-2)

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.

其他与 node-puka 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable

下载 node-puka

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 28.5 kB135 kB [文件列表]