Question: Is it possible to use `require()` (or something similar) on client side?

**Example**

```
var myClass = require('./js/myclass.js');

```

Answer: 
I asked myself the very same questions. When I looked into it I found the choices overwhelming. 

Fortunately I found this excellent spreadsheet that helps you choice the best loader based on your requirements:

<https://spreadsheets.google.com/lv?key=tDdcrv9wNQRCNCRCflWxhYQ>
Yes it is very easy to use, but you need to load javascript file in browser by script tag 

```
<script src="module.js"></script> 

```

and then user in js file like 

```
var moduel = require('./module');

```

I am making a app using electron and it works as expected.