Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> javascript >> node-puka
nabia  ] [  aramo  ]
[ 原始碼: node-puka  ]

套件: 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.

其他與 node-puka 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    同時作為一個虛擬套件由這些套件提供: node-pegjs

下載 node-puka

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 17.6 kB48 kB [文件列表]