0.2.3 • Published 9 years ago

nodeio v0.2.3

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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';
0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago