NPM is a package manager. It acts as a dependency provider. Likewise, YERN is one more example of this type. NPM handles various packages and modules and ng is one of these modules. It is a core module of Angular.