function slashesToDashes( pkg ) {
	const namespace = '@stdlib/';
	return namespace + replace( pkg.substr( namespace.length ), '/', '-' );
}
Replaces backslashes in a `@sdtlib` package name with dashes.

@private
@param {string} pkg - package name
@returns {string} updated package name