checkdeps as external npm module