This package has been deprecated

Author message:

THIS PROJECT IS NO LONGER MAINTAINED by clebert

nodeio

0.2.3 • Public • Published

nodeio

A collection of asynchronous Node.js functions.

license npm build

Installation

npm install nodeio --save

API

askQuestionAsync(query[, options])

This function returns a Promise object.

import askQuestionAsync from 'nodeio/lib/askQuestionAsync';

options default value: {input: process.stdin, output: process.stdout}

listDirectoryAsync(path)

This function returns a Promise object.

import listDirectoryAsync from 'nodeio/lib/listDirectoryAsync';

readFileAsync(path[, encoding])

This function returns a Promise object.

import readFileAsync from 'nodeio/lib/readFileAsync';

encoding default value: 'utf8'

readRemoteFileAsync(url)

This function returns a Promise object.

import readRemoteFileAsync from 'nodeio/lib/readRemoteFileAsync';

testExistenceAsync(path)

This function returns a Promise object.

import testExistenceAsync from 'nodeio/lib/testExistenceAsync';

Package Sidebar

Install

npm i nodeio

Weekly Downloads

1

Version

0.2.3

License

MIT

Last publish

Collaborators

  • clebert