node-puka

Safely pass strings through shells - Node.js module

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://gitlab.com/rhendric/puka


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-puka

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more