
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
node-hotspot
Advanced tools
Manage, Add & Remove infrastructure mode hotspots on Windows 7+ for Node.js apps.
Node-hotspot
$ npm install node-hotspot --save
var hotspot = require('node-hotspot');
var opts = {
ssid: 'hotspot name',
password: '66ahhhs641jk',
force: true, // (optional) if hosting a network already turn it off and run ours.
adaptor: 'Ethernet' // (optional / false) name of adaptor to have ICS (Internet Connection Sharing) share internet from, passing false disables ICS all together - if non givin node-hotspot will attempt to find currently connected adaptor automatically
};
hotspot.enable(opts)
.then(function() {
console.log('Hotspot Enabled')
})
.catch(function(e) {
Console.log('Something went wrong; Perms?', e)
});
hotspot.disable(opts)
.then(function() {
console.log('Hotspot disabled')
})
.catch(function(e) {
Console.log('Something went wrong; Perms?', e)
});
hotspot.status(opts)
.then(function(status) {
console.log('Hotspot status: ' + status) //status contains clients object and state
});
If you're having any problem, please raise an issue on GitHub and I'll be happy to help.
The project is licensed under the GPL-3.0 license.
FAQs
Manage, Add & Remove infrastructure mode hotspots on Windows 7+
We found that node-hotspot 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.