cread

0.0.3 • Public • Published

cread

Prompt in and read from console.

If links in this document not avaiable, please access README on GitHub directly.

Description

ToC

Links

Get Started

const cread = require('cread');
cread.line({
    prompt: 'How old are you?',
	pattern: /^\d+$/,
}).then(answer => {
    // ...
});

API

Readme

Keywords

Package Sidebar

Install

npm i cread

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

7.7 kB

Total Files

9

Last publish

Collaborators

  • youngoat