@danielhaim/titlecaser 1.2.65 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielhaim/titlecaser",
3
- "version": "1.2.65",
3
+ "version": "1.3.0",
4
4
  "description": "Converts a string to title case with multiple style options, ability to ignore certain words, and handle acronyms",
5
5
  "keywords": [
6
6
  "title case",
@@ -134,6 +134,8 @@ export const titleCaseDefaultOptionsList = Object.freeze({
134
134
  export const ignoredWordList = [];
135
135
  export const correctPhraseCasingList = {
136
136
  'the cybersmile foundation': 'The Cybersmile Foundation',
137
- 'co. by colgate': 'CO. by Colgate'
137
+ 'co. by colgate': 'CO. by Colgate',
138
+ "on & off": 'On & Off',
139
+ "on and off": 'On and Off'
138
140
  };
139
141