less npm dependencies

see https://github.com/gritzko/swarm/commit/d5d1081762c51fb1a7a4a5c10d8d2efd766d6b25#commitcomment-7551285