UNPKG
firewall
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Add or remove system firewall rules from Node.js. Currently only Windows.
firewall
/
lib
/
darwin.js
8 lines
(6 loc)
•
174 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
exports
.
add_rule
=
function
(
opts, cb
) {
return
cb
(
new
Error
(
'Not implemented.'
)) }
exports
.
remove_rule
=
function
(
opts, cb
) {
return
cb
(
new
Error
(
'Not implemented.'
)) }