made npm cli to module too