Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including rubber-duck with all npm packages installed. Try it out:

var rubberDuck = require("rubber-duck")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

rubber-duck v1.0.0

Tool for implementing "Rubber Duck" debugging.

Rubber Duck

Build Status

Module and CLI tool for "Rubber Duck" debugging. Yeah, its not that smart. More work is needed.

Module

var RubberDuck = require('..');

var duck = new RubberDuck();

console.log(duck.exchange('So whats up duck?'));
// I don't know much about ducks, tell me more?
console.log(duck.exchange('Making an example for this project'));
// Have you tried to not that?
console.log(duck.exchange('Well it would be helpful for people if I actually did do that.'));
// Is there an alternative to project?
console.log(duck.exchange('Probably, I have not looked much for things like rubber duck.'));
// Have you tried to not be?
console.log(duck.exchange('This conversation is getting more existential than I would like.'));
// Is there an alternative to duck?
console.log(duck.exchange('Probably, I could always talk to Fred'));
// it should learn more about conversations?
console.log(duck.exchange('Yes, it definitely and obviously should'));

CLI

bin/rubber-duck
> Whatcha working on?
Making an example for this project
> Have you tried to not that?
Well it would be helpful for people if I actually did do that
> Can you get into project or people a little more?
Probably, I have not looked much for things like rubber duck.
> I don't know much about examples, tell me more?
So people can see how things are done
> Is there an alternative to rubber?
You mean this project, sure probably?
> I don't know much about is, tell me more?
nope
> it should learn more about rubbers?
bye
> See ya

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free