joyent/node — Issue #2327: Feature request: node.exe to unpack and run scripts attached to the tail of the binary
Author: Mithgol
Created: 2011-12-14 06:36:42+00:00
State: open

[JSDB engine](http://www.jsdb.org/), based on Mozilla SpiderMonkey, can be used to produce «standalone» look of JavaScript applications for Windows; JSDB accepts scripts packed and attached to the tail of its `jsbd.exe` binary, according to [the tutorial](http://www.jsdb.org/tutorial.html):

```
c:\temp>pkzip program.zip main.js
c:\temp>copy /b jsdb.exe+program.zip program.exe
```

I wonder if some very similar feature can be implemented in `node.exe` engine as well. (Of course, with `index.js` instead of `main.js`, according to Node's conventions.)