1.7.0 • Published 8 months ago

npm-ioservice v1.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Description

  • An NPM package that simplies the readline and IO service.

Documentation

// Note: This works well in node version 18.
Import IOService from 'npm-ioservice'

(async function() {
  // Create and IO instance.
  const io = IOService.instance();

  // Ask for input.
  // Always await this process.
  const input = await io.question("Value: ");

  // Log the output.
  console.log(input);

  // Exit the io instance.
  io.close();
})();
1.7.0

8 months ago

1.6.0

8 months ago

1.5.0

8 months ago

1.4.0

8 months ago

1.3.0

8 months ago

1.2.0

8 months ago

1.1.0

8 months ago

1.0.0

8 months ago