npm cleanup
strong typing node definitions