Search packages, repositories and app categories

Package detailsv2.3.0

node_io

Like dart:io but with Node.js.

30-day downloads
80.4K
Likes
6
Pub points
50

Install package

flutter pub add node_io

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The node_io package provides a Dart implementation of the dart:io library tailored for use with Node.js. It enables Flutter applications to access system-level functionality such as file I/O, networking, and process management within a Node.js runtime environment. Designed as a drop-in replacement for dart:io, it allows developers to write platform-agnostic code that runs seamlessly on both Flutter and Node.js. This makes it ideal for shared business logic or server-side Dart execution. The package is particularly useful in hybrid environments where Dart code needs to operate across different execution contexts.

Use cases

  • Server-side Dart applications
  • Cross-platform file and network operations
  • Shared logic between Flutter and Node.js
  • Dart-based backend services
  • Testing Dart code in Node.js

Key features

  • dart:io compatibility
  • Node.js runtime support
  • File and stream handling
  • Networking utilities
  • Process and child process management

Suitable for

  • Developers targeting Node.js with Dart
  • Projects requiring shared codebases
  • Backend services using Dart
  • Hybrid Flutter and server applications
  • Environment-agnostic Dart development

Considerations

  • Limited to Node.js runtime
  • Not compatible with Flutter mobile platforms
  • Requires Node.js setup
  • No native Flutter UI integration
  • May need additional configuration for production use

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Node interop libraries for Dart

Package Description
node_interop Node API bindings and utilities.
node_io Wrapper around Node I/O APIs designed to server as direct replacement for dart:io.
node_http HTTP client which uses Node I/O and implements package:http interface.
build_node_compilers DDC and dart2js builders to use with build_runner for compiling to Node.

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package

Rankings