@danielhaim/titlecaser 1.2.23 → 1.2.24

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.
Files changed (2) hide show
  1. package/README.md +5 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,11 +4,9 @@ Transform any text to proper title case format using popular style guides such a
4
4
 
5
5
  ## Demo
6
6
 
7
- <a target="_blank" href="https://danielhaim1.github.io/titlecaser/"><img src="dist/demo.png" width="100%" height="auto"></a>
7
+ <a target="_blank" href="https://danielhaim1.github.io/TitleCaser/"><img src="dist/demo.png" width="100%" height="auto"></a>
8
8
 
9
- [![npm version](https://badge.fury.io/js/titlecaser.svg?t=1623701119)](https://badge.fury.io/js/titlecaser)
10
- [![Downloads](https://img.shields.io/npm/dt/titlecaser.svg)](https://www.npmjs.com/package/titlecaser)
11
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
+ ![GitHub](https://img.shields.io/github/license/danielhaim1/titlecaser)
12
10
 
13
11
  The Language Conventions and Style Module is a comprehensive library designed to help web content developers adhere to the latest style guides and English language conventions. It offers a wide range of features, including support for various style guides such as AP, APA, Chicago, NY Times, Wikipedia, and British styles, and customizable preferences to suit your specific needs.
14
12
 
@@ -32,7 +30,7 @@ Command-line interface for building, testing, and minimizing the module
32
30
  You can install this module via npm:
33
31
 
34
32
  ```bash
35
- npm i @danielhaim/titlecaser
33
+ $ npm i @danielhaim/titlecaser
36
34
  ```
37
35
 
38
36
  ## Usage
@@ -65,12 +63,12 @@ console.log(output); // 'The Book of Life'
65
63
 
66
64
  ## Usage in the Browser
67
65
 
68
- The function can also be used in a browser environment by including the `titlecase.browser.js` script in your HTML file:
66
+ The function can also be used in a browser environment by including the `titlecaser.browser.js` script in your HTML file:
69
67
 
70
68
  Here's an example of how to use the modulate function:
71
69
 
72
70
  ```html
73
- <script src="./path/to/titlecase.browser.js"></script>
71
+ <script src="./path/to/titlecaser.browser.js"></script>
74
72
  ```
75
73
 
76
74
  After that, the `toTitleCase()` function can be accessed in your JavaScript code like this:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielhaim/titlecaser",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
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
  "titlecase",