Package Exports
- drop-sudo
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (drop-sudo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
drop-sudo
npm package that drops root privileges
Use when you wish to release the privileges you no longer need.
Example usage
var http = require("http");
var dropsudo = require("drop-sudo");
// this call requires root privileges
http.createServer().listen(80, function() {
// root privileges not needed anymore
dropsudo();
})