@stryke/string-format 0.12.31 → 0.13.0

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  # Changelog for Stryke - String Format
4
4
 
5
+ ## [0.12.31](https://github.com/storm-software/stryke/releases/tag/string-format%400.12.31) (01/13/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **helpers** to **v0.9.33**
10
+ - Updated **types** to **v0.10.30**
11
+
5
12
  ## [0.12.30](https://github.com/storm-software/stryke/releases/tag/string-format%400.12.30) (12/30/2025)
6
13
 
7
14
  ### Documentation
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- const e=require(`./acronyms.cjs`),t=require(`./articles.cjs`),n=require(`./get-words.cjs`),r=require(`./camel-case.cjs`),i=require(`./combine.cjs`),a=require(`./conjunctions.cjs`),o=require(`./upper-case-first.cjs`),s=require(`./snake-case.cjs`),c=require(`./constant-case.cjs`),l=require(`./deburr.cjs`),u=require(`./decamelize.cjs`),d=require(`./escape.cjs`),f=require(`./prepositions.cjs`),p=require(`./special-cases.cjs`),m=require(`./format-special-cases.cjs`),h=require(`./kebab-case.cjs`),g=require(`./lower-case-first.cjs`),_=require(`./normalize-email.cjs`),v=require(`./package.cjs`),y=require(`./pad.cjs`),b=require(`./pascal-case.cjs`),x=require(`./period-split.cjs`),S=require(`./pretty-bytes.cjs`),C=require(`./start-case.cjs`),w=require(`./strip-indents.cjs`),T=require(`./title-case.cjs`),E=require(`./unescape.cjs`);exports.ACRONYMS=e.ACRONYMS,exports.ACRONYM_DESCRIPTION=e.ACRONYM_DESCRIPTION,exports.ACRONYM_DISPLAY=e.ACRONYM_DISPLAY,exports.ACRONYM_LIST=e.ACRONYM_LIST,exports.ARTICLES=t.ARTICLES,exports.CASE_SPLIT_PATTERN=n.CASE_SPLIT_PATTERN,exports.CONJUNCTIONS=a.CONJUNCTIONS,exports.PREPOSITIONS=f.PREPOSITIONS,exports.RELAXED_SPLIT_PATTERN=n.RELAXED_SPLIT_PATTERN,exports.SPECIAL_CASES=p.SPECIAL_CASES,exports.camelCase=r.camelCase,exports.combine=i.combine,exports.constantCase=c.constantCase,exports.deburr=l.deburr,exports.decamelize=u.decamelize,exports.escapeHtml=d.escapeHtml,exports.escapeRegExp=d.escapeRegExp,exports.formatSpecialCases=m.formatSpecialCases,exports.getPackageName=v.getPackageName,exports.getPackageVersion=v.getPackageVersion,exports.getWords=n.getWords,exports.hasPackageVersion=v.hasPackageVersion,exports.isCamelCase=r.isCamelCase,exports.isConstantCase=c.isConstantCase,exports.isKebabCase=h.isKebabCase,exports.isPascalCase=b.isPascalCase,exports.isPeriodSplit=x.isPeriodSplit,exports.isSnakeCase=s.isSnakeCase,exports.isStartCase=C.isStartCase,exports.kebabCase=h.kebabCase,exports.lowerCaseFirst=g.lowerCaseFirst,exports.normalizeEmail=_.normalizeEmail,exports.pad=y.pad,exports.pascalCase=b.pascalCase,exports.periodSplit=x.periodSplit,exports.prettyBytes=S.prettyBytes,exports.removePackageVersion=v.removePackageVersion,exports.snakeCase=s.snakeCase,exports.startCase=C.startCase,exports.stripIndents=w.stripIndents,exports.titleCase=T.titleCase,exports.toLocaleString=S.toLocaleString,exports.unescape=E.unescape,exports.upperCaseFirst=o.upperCaseFirst;
1
+ const e=require(`./acronyms.cjs`),t=require(`./articles.cjs`),n=require(`./get-words.cjs`),r=require(`./camel-case.cjs`),i=require(`./combine.cjs`),a=require(`./conjunctions.cjs`),o=require(`./upper-case-first.cjs`),s=require(`./snake-case.cjs`),c=require(`./constant-case.cjs`),l=require(`./deburr.cjs`),u=require(`./decamelize.cjs`),d=require(`./escape.cjs`),f=require(`./prepositions.cjs`),p=require(`./special-cases.cjs`),m=require(`./format-special-cases.cjs`),h=require(`./kebab-case.cjs`),g=require(`./lower-case-first.cjs`),_=require(`./normalize-email.cjs`),v=require(`./package.cjs`),y=require(`./pad.cjs`),b=require(`./pascal-case.cjs`),x=require(`./period-split.cjs`),S=require(`./pretty-bytes.cjs`),C=require(`./start-case.cjs`),w=require(`./strip-indents.cjs`),T=require(`./title-case.cjs`),E=require(`./unescape.cjs`),D=require(`./vowels.cjs`);exports.ACRONYMS=e.ACRONYMS,exports.ACRONYM_DESCRIPTION=e.ACRONYM_DESCRIPTION,exports.ACRONYM_DISPLAY=e.ACRONYM_DISPLAY,exports.ACRONYM_LIST=e.ACRONYM_LIST,exports.ARTICLES=t.ARTICLES,exports.CASE_SPLIT_PATTERN=n.CASE_SPLIT_PATTERN,exports.CONJUNCTIONS=a.CONJUNCTIONS,exports.PREPOSITIONS=f.PREPOSITIONS,exports.RELAXED_SPLIT_PATTERN=n.RELAXED_SPLIT_PATTERN,exports.SPECIAL_CASES=p.SPECIAL_CASES,exports.camelCase=r.camelCase,exports.combine=i.combine,exports.constantCase=c.constantCase,exports.deburr=l.deburr,exports.decamelize=u.decamelize,exports.escapeHtml=d.escapeHtml,exports.escapeRegExp=d.escapeRegExp,exports.formatSpecialCases=m.formatSpecialCases,exports.getIndefiniteArticle=D.getIndefiniteArticle,exports.getPackageName=v.getPackageName,exports.getPackageVersion=v.getPackageVersion,exports.getWords=n.getWords,exports.hasPackageVersion=v.hasPackageVersion,exports.isCamelCase=r.isCamelCase,exports.isConstantCase=c.isConstantCase,exports.isKebabCase=h.isKebabCase,exports.isPascalCase=b.isPascalCase,exports.isPeriodSplit=x.isPeriodSplit,exports.isSnakeCase=s.isSnakeCase,exports.isStartCase=C.isStartCase,exports.isVowel=D.isVowel,exports.kebabCase=h.kebabCase,exports.lowerCaseFirst=g.lowerCaseFirst,exports.normalizeEmail=_.normalizeEmail,exports.pad=y.pad,exports.pascalCase=b.pascalCase,exports.periodSplit=x.periodSplit,exports.prettyBytes=S.prettyBytes,exports.removePackageVersion=v.removePackageVersion,exports.snakeCase=s.snakeCase,exports.startCase=C.startCase,exports.stripIndents=w.stripIndents,exports.titleCase=T.titleCase,exports.toLocaleString=S.toLocaleString,exports.unescape=E.unescape,exports.upperCaseFirst=o.upperCaseFirst;
package/dist/index.d.cts CHANGED
@@ -25,4 +25,5 @@ import { stripIndents } from "./strip-indents.cjs";
25
25
  import { titleCase } from "./title-case.cjs";
26
26
  import { unescape } from "./unescape.cjs";
27
27
  import { upperCaseFirst } from "./upper-case-first.cjs";
28
- export { ACRONYMS, ACRONYM_DESCRIPTION, ACRONYM_DISPLAY, ACRONYM_LIST, ARTICLES, CASE_SPLIT_PATTERN, CONJUNCTIONS, FormatSpecialCasesOptions, GetWordsOptions, Options, PREPOSITIONS, RELAXED_SPLIT_PATTERN, SPECIAL_CASES, SnakeCaseOptions, camelCase, combine, constantCase, deburr, decamelize, escapeHtml, escapeRegExp, formatSpecialCases, getPackageName, getPackageVersion, getWords, hasPackageVersion, isCamelCase, isConstantCase, isKebabCase, isPascalCase, isPeriodSplit, isSnakeCase, isStartCase, kebabCase, lowerCaseFirst, normalizeEmail, pad, pascalCase, periodSplit, prettyBytes, removePackageVersion, snakeCase, startCase, stripIndents, titleCase, toLocaleString, unescape, upperCaseFirst };
28
+ import { getIndefiniteArticle, isVowel } from "./vowels.cjs";
29
+ export { ACRONYMS, ACRONYM_DESCRIPTION, ACRONYM_DISPLAY, ACRONYM_LIST, ARTICLES, CASE_SPLIT_PATTERN, CONJUNCTIONS, FormatSpecialCasesOptions, GetWordsOptions, Options, PREPOSITIONS, RELAXED_SPLIT_PATTERN, SPECIAL_CASES, SnakeCaseOptions, camelCase, combine, constantCase, deburr, decamelize, escapeHtml, escapeRegExp, formatSpecialCases, getIndefiniteArticle, getPackageName, getPackageVersion, getWords, hasPackageVersion, isCamelCase, isConstantCase, isKebabCase, isPascalCase, isPeriodSplit, isSnakeCase, isStartCase, isVowel, kebabCase, lowerCaseFirst, normalizeEmail, pad, pascalCase, periodSplit, prettyBytes, removePackageVersion, snakeCase, startCase, stripIndents, titleCase, toLocaleString, unescape, upperCaseFirst };
package/dist/index.d.mts CHANGED
@@ -25,4 +25,5 @@ import { stripIndents } from "./strip-indents.mjs";
25
25
  import { titleCase } from "./title-case.mjs";
26
26
  import { unescape } from "./unescape.mjs";
27
27
  import { upperCaseFirst } from "./upper-case-first.mjs";
28
- export { ACRONYMS, ACRONYM_DESCRIPTION, ACRONYM_DISPLAY, ACRONYM_LIST, ARTICLES, CASE_SPLIT_PATTERN, CONJUNCTIONS, FormatSpecialCasesOptions, GetWordsOptions, Options, PREPOSITIONS, RELAXED_SPLIT_PATTERN, SPECIAL_CASES, SnakeCaseOptions, camelCase, combine, constantCase, deburr, decamelize, escapeHtml, escapeRegExp, formatSpecialCases, getPackageName, getPackageVersion, getWords, hasPackageVersion, isCamelCase, isConstantCase, isKebabCase, isPascalCase, isPeriodSplit, isSnakeCase, isStartCase, kebabCase, lowerCaseFirst, normalizeEmail, pad, pascalCase, periodSplit, prettyBytes, removePackageVersion, snakeCase, startCase, stripIndents, titleCase, toLocaleString, unescape, upperCaseFirst };
28
+ import { getIndefiniteArticle, isVowel } from "./vowels.mjs";
29
+ export { ACRONYMS, ACRONYM_DESCRIPTION, ACRONYM_DISPLAY, ACRONYM_LIST, ARTICLES, CASE_SPLIT_PATTERN, CONJUNCTIONS, FormatSpecialCasesOptions, GetWordsOptions, Options, PREPOSITIONS, RELAXED_SPLIT_PATTERN, SPECIAL_CASES, SnakeCaseOptions, camelCase, combine, constantCase, deburr, decamelize, escapeHtml, escapeRegExp, formatSpecialCases, getIndefiniteArticle, getPackageName, getPackageVersion, getWords, hasPackageVersion, isCamelCase, isConstantCase, isKebabCase, isPascalCase, isPeriodSplit, isSnakeCase, isStartCase, isVowel, kebabCase, lowerCaseFirst, normalizeEmail, pad, pascalCase, periodSplit, prettyBytes, removePackageVersion, snakeCase, startCase, stripIndents, titleCase, toLocaleString, unescape, upperCaseFirst };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{ACRONYMS as e,ACRONYM_DESCRIPTION as t,ACRONYM_DISPLAY as n,ACRONYM_LIST as r}from"./acronyms.mjs";import{ARTICLES as i}from"./articles.mjs";import{CASE_SPLIT_PATTERN as a,RELAXED_SPLIT_PATTERN as o,getWords as s}from"./get-words.mjs";import{camelCase as c,isCamelCase as l}from"./camel-case.mjs";import{combine as u}from"./combine.mjs";import{CONJUNCTIONS as d}from"./conjunctions.mjs";import{upperCaseFirst as f}from"./upper-case-first.mjs";import{isSnakeCase as p,snakeCase as m}from"./snake-case.mjs";import{constantCase as h,isConstantCase as g}from"./constant-case.mjs";import{deburr as _}from"./deburr.mjs";import{decamelize as v}from"./decamelize.mjs";import{escapeHtml as y,escapeRegExp as b}from"./escape.mjs";import{PREPOSITIONS as x}from"./prepositions.mjs";import{SPECIAL_CASES as S}from"./special-cases.mjs";import{formatSpecialCases as C}from"./format-special-cases.mjs";import{isKebabCase as w,kebabCase as T}from"./kebab-case.mjs";import{lowerCaseFirst as E}from"./lower-case-first.mjs";import{normalizeEmail as D}from"./normalize-email.mjs";import{getPackageName as O,getPackageVersion as k,hasPackageVersion as A,removePackageVersion as j}from"./package.mjs";import{pad as M}from"./pad.mjs";import{isPascalCase as N,pascalCase as P}from"./pascal-case.mjs";import{isPeriodSplit as F,periodSplit as I}from"./period-split.mjs";import{prettyBytes as L,toLocaleString as R}from"./pretty-bytes.mjs";import{isStartCase as z,startCase as B}from"./start-case.mjs";import{stripIndents as V}from"./strip-indents.mjs";import{titleCase as H}from"./title-case.mjs";import{unescape as U}from"./unescape.mjs";export{e as ACRONYMS,t as ACRONYM_DESCRIPTION,n as ACRONYM_DISPLAY,r as ACRONYM_LIST,i as ARTICLES,a as CASE_SPLIT_PATTERN,d as CONJUNCTIONS,x as PREPOSITIONS,o as RELAXED_SPLIT_PATTERN,S as SPECIAL_CASES,c as camelCase,u as combine,h as constantCase,_ as deburr,v as decamelize,y as escapeHtml,b as escapeRegExp,C as formatSpecialCases,O as getPackageName,k as getPackageVersion,s as getWords,A as hasPackageVersion,l as isCamelCase,g as isConstantCase,w as isKebabCase,N as isPascalCase,F as isPeriodSplit,p as isSnakeCase,z as isStartCase,T as kebabCase,E as lowerCaseFirst,D as normalizeEmail,M as pad,P as pascalCase,I as periodSplit,L as prettyBytes,j as removePackageVersion,m as snakeCase,B as startCase,V as stripIndents,H as titleCase,R as toLocaleString,U as unescape,f as upperCaseFirst};
1
+ import{ACRONYMS as e,ACRONYM_DESCRIPTION as t,ACRONYM_DISPLAY as n,ACRONYM_LIST as r}from"./acronyms.mjs";import{ARTICLES as i}from"./articles.mjs";import{CASE_SPLIT_PATTERN as a,RELAXED_SPLIT_PATTERN as o,getWords as s}from"./get-words.mjs";import{camelCase as c,isCamelCase as l}from"./camel-case.mjs";import{combine as u}from"./combine.mjs";import{CONJUNCTIONS as d}from"./conjunctions.mjs";import{upperCaseFirst as f}from"./upper-case-first.mjs";import{isSnakeCase as p,snakeCase as m}from"./snake-case.mjs";import{constantCase as h,isConstantCase as g}from"./constant-case.mjs";import{deburr as _}from"./deburr.mjs";import{decamelize as v}from"./decamelize.mjs";import{escapeHtml as y,escapeRegExp as b}from"./escape.mjs";import{PREPOSITIONS as x}from"./prepositions.mjs";import{SPECIAL_CASES as S}from"./special-cases.mjs";import{formatSpecialCases as C}from"./format-special-cases.mjs";import{isKebabCase as w,kebabCase as T}from"./kebab-case.mjs";import{lowerCaseFirst as E}from"./lower-case-first.mjs";import{normalizeEmail as D}from"./normalize-email.mjs";import{getPackageName as O,getPackageVersion as k,hasPackageVersion as A,removePackageVersion as j}from"./package.mjs";import{pad as M}from"./pad.mjs";import{isPascalCase as N,pascalCase as P}from"./pascal-case.mjs";import{isPeriodSplit as F,periodSplit as I}from"./period-split.mjs";import{prettyBytes as L,toLocaleString as R}from"./pretty-bytes.mjs";import{isStartCase as z,startCase as B}from"./start-case.mjs";import{stripIndents as V}from"./strip-indents.mjs";import{titleCase as H}from"./title-case.mjs";import{unescape as U}from"./unescape.mjs";import{getIndefiniteArticle as W,isVowel as G}from"./vowels.mjs";export{e as ACRONYMS,t as ACRONYM_DESCRIPTION,n as ACRONYM_DISPLAY,r as ACRONYM_LIST,i as ARTICLES,a as CASE_SPLIT_PATTERN,d as CONJUNCTIONS,x as PREPOSITIONS,o as RELAXED_SPLIT_PATTERN,S as SPECIAL_CASES,c as camelCase,u as combine,h as constantCase,_ as deburr,v as decamelize,y as escapeHtml,b as escapeRegExp,C as formatSpecialCases,W as getIndefiniteArticle,O as getPackageName,k as getPackageVersion,s as getWords,A as hasPackageVersion,l as isCamelCase,g as isConstantCase,w as isKebabCase,N as isPascalCase,F as isPeriodSplit,p as isSnakeCase,z as isStartCase,G as isVowel,T as kebabCase,E as lowerCaseFirst,D as normalizeEmail,M as pad,P as pascalCase,I as periodSplit,L as prettyBytes,j as removePackageVersion,m as snakeCase,B as startCase,V as stripIndents,H as titleCase,R as toLocaleString,U as unescape,f as upperCaseFirst};
@@ -0,0 +1 @@
1
+ function e(e){return!!(e?.toLowerCase().startsWith(`a`)||e.toLowerCase().startsWith(`e`)||e.toLowerCase().startsWith(`i`)||e.toLowerCase().startsWith(`o`)||e.toLowerCase().startsWith(`u`))}function t(t){return e(t)?`an`:`a`}exports.getIndefiniteArticle=t,exports.isVowel=e;
@@ -0,0 +1,34 @@
1
+ //#region src/vowels.d.ts
2
+ /**
3
+ * Checks if a given string starts with a vowel (a, e, i, o, u).
4
+ *
5
+ * @example
6
+ * ```ts
7
+ * isVowel("apple"); // true
8
+ * isVowel("Banana"); // false
9
+ * isVowel("orange"); // true
10
+ * isVowel("grape"); // false
11
+ * ```
12
+ *
13
+ * @param value - The string to check.
14
+ * @returns True if the string starts with a vowel, false otherwise.
15
+ */
16
+ declare function isVowel(value: string): boolean;
17
+ /**
18
+ * Returns the appropriate indefinite article ("a" or "an") for a given string.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * getIndefiniteArticle("apple"); // "an"
23
+ * getIndefiniteArticle("Banana"); // "a"
24
+ * getIndefiniteArticle("orange"); // "an"
25
+ * getIndefiniteArticle("grape"); // "a"
26
+ * ```
27
+ *
28
+ * @param value - The string to check.
29
+ * @returns "a" if the string starts with a consonant, "an" if it starts with a vowel.
30
+ */
31
+ declare function getIndefiniteArticle(value: string): "a" | "an";
32
+ //#endregion
33
+ export { getIndefiniteArticle, isVowel };
34
+ //# sourceMappingURL=vowels.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vowels.d.cts","names":[],"sources":["../src/vowels.ts"],"sourcesContent":[],"mappings":";;AAgCA;AAwBA;;;;;;;;;;;;iBAxBgB,OAAA;;;;;;;;;;;;;;;iBAwBA,oBAAA"}
@@ -0,0 +1,34 @@
1
+ //#region src/vowels.d.ts
2
+ /**
3
+ * Checks if a given string starts with a vowel (a, e, i, o, u).
4
+ *
5
+ * @example
6
+ * ```ts
7
+ * isVowel("apple"); // true
8
+ * isVowel("Banana"); // false
9
+ * isVowel("orange"); // true
10
+ * isVowel("grape"); // false
11
+ * ```
12
+ *
13
+ * @param value - The string to check.
14
+ * @returns True if the string starts with a vowel, false otherwise.
15
+ */
16
+ declare function isVowel(value: string): boolean;
17
+ /**
18
+ * Returns the appropriate indefinite article ("a" or "an") for a given string.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * getIndefiniteArticle("apple"); // "an"
23
+ * getIndefiniteArticle("Banana"); // "a"
24
+ * getIndefiniteArticle("orange"); // "an"
25
+ * getIndefiniteArticle("grape"); // "a"
26
+ * ```
27
+ *
28
+ * @param value - The string to check.
29
+ * @returns "a" if the string starts with a consonant, "an" if it starts with a vowel.
30
+ */
31
+ declare function getIndefiniteArticle(value: string): "a" | "an";
32
+ //#endregion
33
+ export { getIndefiniteArticle, isVowel };
34
+ //# sourceMappingURL=vowels.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vowels.d.mts","names":[],"sources":["../src/vowels.ts"],"sourcesContent":[],"mappings":";;AAgCA;AAwBA;;;;;;;;;;;;iBAxBgB,OAAA;;;;;;;;;;;;;;;iBAwBA,oBAAA"}
@@ -0,0 +1,2 @@
1
+ function e(e){return!!(e?.toLowerCase().startsWith(`a`)||e.toLowerCase().startsWith(`e`)||e.toLowerCase().startsWith(`i`)||e.toLowerCase().startsWith(`o`)||e.toLowerCase().startsWith(`u`))}function t(t){return e(t)?`an`:`a`}export{t as getIndefiniteArticle,e as isVowel};
2
+ //# sourceMappingURL=vowels.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vowels.mjs","names":[],"sources":["../src/vowels.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Checks if a given string starts with a vowel (a, e, i, o, u).\n *\n * @example\n * ```ts\n * isVowel(\"apple\"); // true\n * isVowel(\"Banana\"); // false\n * isVowel(\"orange\"); // true\n * isVowel(\"grape\"); // false\n * ```\n *\n * @param value - The string to check.\n * @returns True if the string starts with a vowel, false otherwise.\n */\nexport function isVowel(value: string): boolean {\n return !!(\n value?.toLowerCase().startsWith(\"a\") ||\n value.toLowerCase().startsWith(\"e\") ||\n value.toLowerCase().startsWith(\"i\") ||\n value.toLowerCase().startsWith(\"o\") ||\n value.toLowerCase().startsWith(\"u\")\n );\n}\n\n/**\n * Returns the appropriate indefinite article (\"a\" or \"an\") for a given string.\n *\n * @example\n * ```ts\n * getIndefiniteArticle(\"apple\"); // \"an\"\n * getIndefiniteArticle(\"Banana\"); // \"a\"\n * getIndefiniteArticle(\"orange\"); // \"an\"\n * getIndefiniteArticle(\"grape\"); // \"a\"\n * ```\n *\n * @param value - The string to check.\n * @returns \"a\" if the string starts with a consonant, \"an\" if it starts with a vowel.\n */\nexport function getIndefiniteArticle(value: string): \"a\" | \"an\" {\n return isVowel(value) ? \"an\" : \"a\";\n}\n"],"mappings":"AAgCA,SAAgB,EAAQ,EAAwB,CAC9C,MAAO,CAAC,EACN,GAAO,aAAa,CAAC,WAAW,IAAI,EACpC,EAAM,aAAa,CAAC,WAAW,IAAI,EACnC,EAAM,aAAa,CAAC,WAAW,IAAI,EACnC,EAAM,aAAa,CAAC,WAAW,IAAI,EACnC,EAAM,aAAa,CAAC,WAAW,IAAI,EAkBvC,SAAgB,EAAqB,EAA2B,CAC9D,OAAO,EAAQ,EAAM,CAAG,KAAO"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/string-format",
3
- "version": "0.12.31",
3
+ "version": "0.13.0",
4
4
  "type": "module",
5
5
  "description": "A package containing utility functions to transform strings into various formats.",
6
6
  "repository": {
@@ -118,10 +118,14 @@
118
118
  "require": "./dist/upper-case-first.cjs",
119
119
  "import": "./dist/upper-case-first.mjs"
120
120
  },
121
+ "./vowels": {
122
+ "require": "./dist/vowels.cjs",
123
+ "import": "./dist/vowels.mjs"
124
+ },
121
125
  "./*": "./*"
122
126
  },
123
127
  "types": "./dist/index.d.cts",
124
128
  "devDependencies": { "tsdown": "^0.17.2" },
125
129
  "publishConfig": { "access": "public" },
126
- "gitHead": "39561a587f720280def647651f4aad70bca3333b"
130
+ "gitHead": "696645e15f5c4d04afda9a674a8838bdd688d573"
127
131
  }