nodejs_io 0.2.2 copy "nodejs_io: ^0.2.2" to clipboard
nodejs_io: ^0.2.2 copied to clipboard

discontinued

An adapter between 'universal_io' and Node.JS. Makes a few 'dart:io' APIs work in Node.JS.

Pub Package Github Actions CI

Getting started #

In pubspec.yaml:

dependencies:
  nodejs_io: ^0.1.0

In main.dart:

import 'package:nodejs_io/nodejs_io.dart';
import 'package:universal_io/io.dart';

void main() async {
  nodeIODriver.enable();

  // 'dart:io' works now!
  final socket = await Socket.connect("localhost", 8080);
}
0
likes
25
pub points
0%
popularity

Publisher

verified publisherdint.dev

An adapter between 'universal_io' and Node.JS. Makes a few 'dart:io' APIs work in Node.JS.

Repository (GitHub)
View/report issues

License

Apache-2.0, BSD-2-Clause-Views (LICENSE)

Dependencies

meta, node_http, node_io, universal_io

More

Packages that depend on nodejs_io