server stub, npm package, better Edge constructor