( khiraly | 2017. 01. 11., sze – 14:50 )

node.js minimum verzioja node v0.12-nel nagyobb (az meg nem tamogatta a class contructot).

a package.json eleg egyszeru, igazabol npm install --save. Es kesz is.:)

Update:
valami ilyesmire gondolok:

$ cat package.json
{
"name": "ittotttv",
"version": "0.0.1",
"description": "Pure awesomeness",
"main": "engine/tv_servlet.js",
"dependencies": {
"jquery": "^3.1.1",
"jsdom": "^9.9.1",
"readline-sync": "^1.4.5",
"webpack": "^1.14.0"
},
"repository": {
"type": "git",
"url": "https://github.com/szabbenjamin/ittotttv"
},
"engines": {
"node": ">=7.3.0"
},
"scripts": {
"start": "node engine/tv_servlet.js"
},
"author": "",
"license": "ISC"
}

Es "npm start"-tal indul a cucc. Es a .gitignore-hoz hozzaadod a node_modules -t.
Az engine-nel csokkentheted a verzioszamot, de az "async function" abban lehet eloszor hasznalni
babel nelkul. Es a franc se akar szerveroldalon babel-lal sz*pni.
Foleg, hogyha "forever ... --watchDirectory ..." -val fejlesztesz.

De nem akarok partvonalrol beleokoskodni... :)

Ezt csak ugy itthagyom:
https://blog.risingstack.com/async-await-node-js-7-nightly/

---
Saying a programming language is good because it works on all platforms is like saying anal sex is good because it works on all genders....