freeport 0.0.1
freeport: ^0.0.1 copied to clipboard
A Dart library for finding available network ports. Supports preferred ports, custom hostnames and port availability checking.
import 'package:freeport/freeport.dart';
main() async {
final port = await freePort();
print('Free port: $port');
}