[nodejs] Copy/Paste in node

2012-08-24 Thread Xavi Ramirez
I was recently doing a lot of work in REPL and I found myself constantly needing to copy/paste various bits of input/output from my text editor to the REPL and vise versa. Using the mouse got pretty tedious, so I created a quick module called node-copy-paste that wraps pbpaste/pbcopy (as well as x

Re: [nodejs] Re: Copy/Paste in node

2012-08-25 Thread Xavi Ramirez
Good first point, I'll make the change. As for the second point, I expose `copy` and `paste` globally for the sake of connivence. When I'm in the REPL, I simply what to type `require("copy-paste)` and be done with it. Connivence is also why `paste` synchronously returns a value instead of using

Re: [nodejs] Re: Multiple problems installing on 10.5

2012-02-12 Thread Xavi Ramirez
Any progress on this issue? I'm running into the same thing. Is there any way to build node with just GCC and *without* installing all of XCode? On Thu, Jan 5, 2012 at 1:31 AM, Tane Piper wrote: > This machine is a fresh install of 10.6, was done just before Christmas. > > Most likely because I

Re: [nodejs] Re: recommended flow control library?

2012-05-28 Thread Xavi Ramirez
Aync certainly has everything you'd ever want (and more), but I personally find the API a bit overwhelming and at times verbose. For example I dislike having to manually deconstruct an array to get the results of two callbacks executed in parallell. Because of this, I tend to use Step: https://git

Re: [nodejs] JSON REPL?

2014-05-06 Thread Xavi Ramirez
I usually use node's repl to explore json: > obj = require("./myfile") > obj["k3"] > obj["k3"] = "foo" etc... On Tue, May 6, 2014 at 7:27 AM, // ravi wrote: > > Anyone know if there exists a tool that provides a REPL-like interface > (i.e., interactive CLI) to JSON? Something using which I can