npm init & npm install
ported from icedcoffeescript and mongodb to vanilla javascript and nedb