Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ape-asking

ape-repo6.7kMIT3.0.4

ape framework module for asking.

ape, asking

readme

ape-asking

Build Status npm Version JS Standard

ape framework module for asking.

Usage

Ask yes or not.

#!/usr/bin/env node
'use strict'

const apeAsking = require('ape-asking')

apeAsking.askYesNo('Are you sure to do that? [y/N]')
  .then((sure) => {
    /* ... */
  })

License

This software is released under the MIT License.