Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
17
node_modules/titleize/index.d.ts
generated
vendored
Normal file
17
node_modules/titleize/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`.
|
||||
|
||||
@param string - The string to titleize.
|
||||
|
||||
@example
|
||||
```
|
||||
import titleize from 'titleize';
|
||||
|
||||
titleize('foo bar');
|
||||
//=> 'Foo Bar'
|
||||
|
||||
titleize('foo-bar');
|
||||
//=> 'Foo-Bar'
|
||||
```
|
||||
*/
|
||||
export default function titleize(string: string): string;
|
7
node_modules/titleize/index.js
generated
vendored
Normal file
7
node_modules/titleize/index.js
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
export default function titleize(string) {
|
||||
if (typeof string !== 'string') {
|
||||
throw new TypeError('Expected a string');
|
||||
}
|
||||
|
||||
return string.toLowerCase().replace(/(?:^|\s|-)\S/g, x => x.toUpperCase());
|
||||
}
|
9
node_modules/titleize/license
generated
vendored
Normal file
9
node_modules/titleize/license
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
42
node_modules/titleize/package.json
generated
vendored
Normal file
42
node_modules/titleize/package.json
generated
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"name": "titleize",
|
||||
"version": "3.0.0",
|
||||
"description": "Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/titleize",
|
||||
"funding": "https://github.com/sponsors/sindresorhus",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "https://sindresorhus.com"
|
||||
},
|
||||
"type": "module",
|
||||
"exports": "./index.js",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"keywords": [
|
||||
"titleize",
|
||||
"title",
|
||||
"capitalize",
|
||||
"uppercase",
|
||||
"case",
|
||||
"dash",
|
||||
"hyphen",
|
||||
"string",
|
||||
"text",
|
||||
"convert"
|
||||
],
|
||||
"devDependencies": {
|
||||
"ava": "^3.15.0",
|
||||
"tsd": "^0.14.0",
|
||||
"xo": "^0.39.1"
|
||||
}
|
||||
}
|
25
node_modules/titleize/readme.md
generated
vendored
Normal file
25
node_modules/titleize/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
# titleize
|
||||
|
||||
> Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install titleize
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import titleize from 'titleize';
|
||||
|
||||
titleize('foo bar');
|
||||
//=> 'Foo Bar'
|
||||
|
||||
titleize('foo-bar');
|
||||
//=> 'Foo-Bar'
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
- [camelcase](https://github.com/sindresorhus/camelcase) - Convert a dash/dot/underscore/space separated string to camelcase
|
Loading…
Add table
Add a link
Reference in a new issue