@bccampus/utils 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2141,6 +2141,8 @@ function slugify$1(string, options) {
|
|
|
2141
2141
|
}
|
|
2142
2142
|
//#endregion
|
|
2143
2143
|
//#region src/string/slugify/index.ts
|
|
2144
|
-
|
|
2144
|
+
function slugify(text) {
|
|
2145
|
+
return slugify$1(text, { customReplacements: [["BCcampus", "bccampus"]] });
|
|
2146
|
+
}
|
|
2145
2147
|
//#endregion
|
|
2146
2148
|
exports.slugify = slugify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function slugify(text: string): string;
|
|
@@ -2140,6 +2140,8 @@ function slugify$1(string, options) {
|
|
|
2140
2140
|
}
|
|
2141
2141
|
//#endregion
|
|
2142
2142
|
//#region src/string/slugify/index.ts
|
|
2143
|
-
|
|
2143
|
+
function slugify(text) {
|
|
2144
|
+
return slugify$1(text, { customReplacements: [["BCcampus", "bccampus"]] });
|
|
2145
|
+
}
|
|
2144
2146
|
//#endregion
|
|
2145
2147
|
export { slugify };
|