Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

taketalk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taketalk

Ever wanted a bin for your node module?

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
329K
increased by0.9%
Maintainers
1
Weekly downloads
 
Created
Source

taketalk

Ever wanted a bin for your node module?

Install

$ npm install --save taketalk

Usage

#!/usr/bin/env node

require('taketalk')({
  init: function (input, options) {
    console.log('This is the input from the CLI:', input);
    console.log('These are the options passed:', options);
  },

  help: 'Help yaself!' || function () {
    console.log('Print this when a user wants help.');
  },

  version: '0.1.1' || function () {
    console.log('Print this when a user asks for the version.');
  }
});

License

MIT © Stephen Sawchuk

Keywords

FAQs

Package last updated on 20 Jan 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc