class NpmMetadataUtils {

  public static String createRepositoryPath(final String name, final String version) {
    NpmPackageId packageId = NpmPackageId.parse(name);
    String tarballName = createTarballName(packageId.name(), version);
    return String.format("%s/-/%s", packageId.id(), tarballName);
  }

  private  NpmMetadataUtils();

}