Better HN
topnewbestaskshowjobs
Log inSign up

sigilworks

2 karma · joined Dec 12, 2013 (12y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

You have been able to do that for a few years now, e.g.: `npm i https://github.com/user_name/node_project_name`

...or with `npm i git+ssh:...`, and npm will git clone it locally, as long as it has a `package.json`

You can install a certain commit, or even from a Gist!

comment 12y ago · link · parent

I think there are some errors in the final solution code, as it doesn't do what you describe.

Were you aiming at something like this?

var generated = function(value) { return new Function( "return (" + function(valueToSwap) { return { prop: valueToSwap }; } + ")(" + value + ");" ); };

comment 12y ago · link · parent

Hired.com?