Socket
Socket
Sign inDemoInstall

askconfig

Package Overview
Dependencies
23
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    askconfig

Node.js module to ask for configuration via interactive shell


Version published
Weekly downloads
1.7K
decreased by-31.49%
Maintainers
1
Install size
1.20 MB
Created
Weekly downloads
 

Readme

Source

askconfig

Build Status Code Climate Code Coverage npm Version JS Standard

Node.js module to ask for configuration via interactive shell

Installation

npm install askconfig --save

Usage

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

const askconfig = require('askconfig')

askconfig({
  name: 'default-name',
  description: ''
}).then((result) => {
  if (err) {
    console.error(err)
    process.exit(1)
  } else {
    console.log(`Result: ${result}`)
    process.exit(0)
  }
})


License

This software is released under the MIT License.

FAQs

Last updated on 05 Jul 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc