node_io 2.1.0 node_io: ^2.1.0 copied to clipboard
Like dart:io but with Node.js.
import 'package:node_io/node_io.dart';
void main() {
print(Directory.current);
print('Current directory exists: ${Directory.current.existsSync()}');
print('Current directory contents: ');
Directory.current.list().listen(print);
stderr.writeln('This is error');
}