Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
node-tool-utils
Advanced tools
Node Cross-Platform Tool Library
npm install node-tool-utils --save
const tool = require('node-tool-utils');
const ip = tool.getIP();
const host = tool.getHost(7001);
// http://100.10.196.1:7001
tool.kill(7001);
tool.kill([7001,7002]);
// return true or false
const isUsed = tool.checkPortUsed(7001);
When 7001 is occupied, it will automatically detect whether 7002 is occupied. If it is not occupied, it will return. Otherwise, it will continue to increment detection. The default check is 10 times.
const port = tool.getPort(7001);
const dir = path.join(__dirname, 'dist/index.html');
tool.deleteFile(dir);
const dir = path.join(__dirname, 'dist');
tool.rm(dir);
Open the Window or Finder or Browser of the specified path
tool.open('.'); // open Window or Finder
tool.openBrowser(); // open Browser
Default check HTML file as homepage
const dist = path.join(__dirname, 'dist');
tool.httpserver({ port: 8088, dist },() => {});
FAQs
node cross-platform tool library
The npm package node-tool-utils receives a total of 62 weekly downloads. As such, node-tool-utils popularity was classified as not popular.
We found that node-tool-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.