node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

21
server/node_modules/change-case/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.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.

323
server/node_modules/change-case/README.md generated vendored Normal file
View File

@@ -0,0 +1,323 @@
# Change Case
[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
Convert strings between `camelCase`, `PascalCase`, `Title Case`, `snake_case`, `lowercase`, `UPPERCASE`, `CONSTANT_CASE` and more.
All methods support Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will result in an empty string.
**Methods are also available on npm as an individual packages.**
## Installation
```
npm install change-case --save
```
## Usage
```js
var changeCase = require('change-case')
//=> { isUpperCase: [Function], camelCase: [Function], ... }
```
**Available methods** (short-hand shown below, long-hand available in examples):
* [`camel`](#camelcase)
* [`constant`](#constantcase)
* [`dot`](#dotcase)
* [`header`](#headercase)
* [`isLower`](#islowercase)
* [`isUpper`](#isuppercase)
* [`lower`](#lowercase)
* [`lcFirst`](#lowercasefirst)
* [`no`](#nocase)
* [`param`](#paramcase)
* [`pascal`](#pascalcase)
* [`path`](#pathcase)
* [`sentence`](#sentencecase)
* [`snake`](#snakecase)
* [`swap`](#swapcase)
* [`title`](#titlecase)
* [`upper`](#uppercase)
* [`ucFirst`](#uppercasefirst)
All methods accept two arguments, the string to change case and an optional locale.
### [camelCase](https://github.com/blakeembrey/camel-case)
[![NPM version](https://img.shields.io/npm/v/camel-case.svg?style=flat)](https://npmjs.org/package/camel-case)
[![NPM downloads](https://img.shields.io/npm/dm/camel-case.svg?style=flat)](https://npmjs.org/package/camel-case)
[![Build status](https://img.shields.io/travis/blakeembrey/camel-case.svg?style=flat)](https://travis-ci.org/blakeembrey/camel-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/camel-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/camel-case?branch=master)
Return as a string with the separators denoted by having the next letter capitalized.
```js
changeCase.camelCase('test string')
//=> "testString"
```
### [constantCase](https://github.com/blakeembrey/constant-case)
[![NPM version](https://img.shields.io/npm/v/constant-case.svg?style=flat)](https://npmjs.org/package/constant-case)
[![NPM downloads](https://img.shields.io/npm/dm/constant-case.svg?style=flat)](https://npmjs.org/package/constant-case)
[![Build status](https://img.shields.io/travis/blakeembrey/constant-case.svg?style=flat)](https://travis-ci.org/blakeembrey/constant-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/constant-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/constant-case?branch=master)
Return as an upper case, underscore separated string.
```js
changeCase.constantCase('test string')
//=> "TEST_STRING"
```
### [dotCase](https://github.com/blakeembrey/dot-case)
[![NPM version](https://img.shields.io/npm/v/dot-case.svg?style=flat)](https://npmjs.org/package/dot-case)
[![NPM downloads](https://img.shields.io/npm/dm/dot-case.svg?style=flat)](https://npmjs.org/package/dot-case)
[![Build status](https://img.shields.io/travis/blakeembrey/dot-case.svg?style=flat)](https://travis-ci.org/blakeembrey/dot-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/dot-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/dot-case?branch=master)
Return as a lower case, period separated string.
```js
changeCase.dotCase('test string')
//=> "test.string"
```
### [headerCase](https://github.com/blakeembrey/header-case)
[![NPM version](https://img.shields.io/npm/v/header-case.svg?style=flat)](https://npmjs.org/package/header-case)
[![NPM downloads](https://img.shields.io/npm/dm/header-case.svg?style=flat)](https://npmjs.org/package/header-case)
[![Build status](https://img.shields.io/travis/blakeembrey/header-case.svg?style=flat)](https://travis-ci.org/blakeembrey/header-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/header-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/header-case?branch=master)
Return as a title cased, dash separated string.
```js
changeCase.headerCase('test string')
//=> "Test-String"
```
### [isLowerCase](https://github.com/blakeembrey/is-lower-case)
[![NPM version](https://img.shields.io/npm/v/is-lower-case.svg?style=flat)](https://npmjs.org/package/is-lower-case)
[![NPM downloads](https://img.shields.io/npm/dm/is-lower-case.svg?style=flat)](https://npmjs.org/package/is-lower-case)
[![Build status](https://img.shields.io/travis/blakeembrey/is-lower-case.svg?style=flat)](https://travis-ci.org/blakeembrey/is-lower-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/is-lower-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/is-lower-case?branch=master)
Return a boolean indicating whether the string is lower cased.
```js
changeCase.isLowerCase('test string')
//=> true
```
### [isUpperCase](https://github.com/blakeembrey/is-upper-case)
[![NPM version](https://img.shields.io/npm/v/is-upper-case.svg?style=flat)](https://npmjs.org/package/is-upper-case)
[![NPM downloads](https://img.shields.io/npm/dm/is-upper-case.svg?style=flat)](https://npmjs.org/package/is-upper-case)
[![Build status](https://img.shields.io/travis/blakeembrey/is-upper-case.svg?style=flat)](https://travis-ci.org/blakeembrey/is-upper-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/is-upper-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/is-upper-case?branch=master)
Return a boolean indicating whether the string is upper cased.
```js
changeCase.isUpperCase('test string')
//=> false
```
### [lowerCase](https://github.com/blakeembrey/lower-case)
[![NPM version](https://img.shields.io/npm/v/lower-case.svg?style=flat)](https://npmjs.org/package/lower-case)
[![NPM downloads](https://img.shields.io/npm/dm/lower-case.svg?style=flat)](https://npmjs.org/package/lower-case)
[![Build status](https://img.shields.io/travis/blakeembrey/lower-case.svg?style=flat)](https://travis-ci.org/blakeembrey/lower-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/lower-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/lower-case?branch=master)
Return the string in lower case.
```js
changeCase.lowerCase('TEST STRING')
//=> "test string"
```
### [lowerCaseFirst](https://github.com/blakeembrey/lower-case-first)
[![NPM version](https://img.shields.io/npm/v/lower-case-first.svg?style=flat)](https://npmjs.org/package/lower-case-first)
[![NPM downloads](https://img.shields.io/npm/dm/lower-case-first.svg?style=flat)](https://npmjs.org/package/lower-case-first)
[![Build status](https://img.shields.io/travis/blakeembrey/lower-case-first.svg?style=flat)](https://travis-ci.org/blakeembrey/lower-case-first)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/lower-case-first.svg?style=flat)](https://coveralls.io/r/blakeembrey/lower-case-first?branch=master)
Return the string with the first character lower cased.
```js
changeCase.lowerCaseFirst('TEST')
//=> "tEST"
```
### [noCase](https://github.com/blakeembrey/no-case)
[![NPM version](https://img.shields.io/npm/v/no-case.svg?style=flat)](https://npmjs.org/package/no-case)
[![NPM downloads](https://img.shields.io/npm/dm/no-case.svg?style=flat)](https://npmjs.org/package/no-case)
[![Build status](https://img.shields.io/travis/blakeembrey/no-case.svg?style=flat)](https://travci.org/blakeembrey/no-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/no-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/no-case?branch=master)
Return the string without any casing (lower case, space separated).
```js
changeCase.noCase('test string')
//=> "test string"
```
### [paramCase](https://github.com/blakeembrey/param-case)
[![NPM version](https://img.shields.io/npm/v/param-case.svg?style=flat)](https://npmjs.org/package/param-case)
[![NPM downloads](https://img.shields.io/npm/dm/param-case.svg?style=flat)](https://npmjs.org/package/param-case)
[![Build status](https://img.shields.io/travis/blakeembrey/param-case.svg?style=flat)](https://travis-ci.org/blakeembrey/param-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/param-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/param-case?branch=master)
Return as a lower case, dash separated string.
```js
changeCase.paramCase('test string')
//=> "test-string"
```
### [pascalCase](https://github.com/blakeembrey/pascal-case)
[![NPM version](https://img.shields.io/npm/v/pascal-case.svg?style=flat)](https://npmjs.org/package/pascal-case)
[![NPM downloads](https://img.shields.io/npm/dm/pascal-case.svg?style=flat)](https://npmjs.org/package/pascal-case)
[![Build status](https://img.shields.io/travis/blakeembrey/pascal-case.svg?style=flat)](https://travis-ci.org/blakeembrey/pascal-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/pascal-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/pascal-case?branch=master)
Return as a string denoted in the same fashion as `camelCase`, but with the first letter also capitalized.
```js
changeCase.pascalCase('test string')
//=> "TestString"
```
### [pathCase](https://github.com/blakeembrey/path-case)
[![NPM version](https://img.shields.io/npm/v/path-case.svg?style=flat)](https://npmjs.org/package/path-case)
[![NPM downloads](https://img.shields.io/npm/dm/path-case.svg?style=flat)](https://npmjs.org/package/path-case)
[![Build status](https://img.shields.io/travis/blakeembrey/path-case.svg?style=flat)](https://travis-ci.org/blakeembrey/path-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/path-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/path-case?branch=master)
Return as a lower case, slash separated string.
```js
changeCase.pathCase('test string')
//=> "test/string"
```
### [sentenceCase](https://github.com/blakeembrey/sentence-case)
[![NPM version](https://img.shields.io/npm/v/sentence-case.svg?style=flat)](https://npmjs.org/package/sentence-case)
[![NPM downloads](https://img.shields.io/npm/dm/sentence-case.svg?style=flat)](https://npmjs.org/package/sentence-case)
[![Build status](https://img.shields.io/travis/blakeembrey/sentence-case.svg?style=flat)](https://travis-ci.org/blakeembrey/sentence-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/sentence-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/sentence-case?branch=master)
Return as a lower case, space separated string with the first letter upper case.
```js
changeCase.sentenceCase('testString')
//=> "Test string"
```
### [snakeCase](https://github.com/blakeembrey/snake-case)
[![NPM version](https://img.shields.io/npm/v/snake-case.svg?style=flat)](https://npmjs.org/package/snake-case)
[![NPM downloads](https://img.shields.io/npm/dm/snake-case.svg?style=flat)](https://npmjs.org/package/snake-case)
[![Build status](https://img.shields.io/travis/blakeembrey/snake-case.svg?style=flat)](https://travis-ci.org/blakeembrey/snake-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/snake-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/snake-case?branch=master)
Return as a lower case, underscore separated string.
```js
changeCase.snakeCase('test string')
//=> "test_string"
```
### [swapCase](https://github.com/blakeembrey/swap-case)
[![NPM version](https://img.shields.io/npm/v/swap-case.svg?style=flat)](https://npmjs.org/package/swap-case)
[![NPM downloads](https://img.shields.io/npm/dm/swap-case.svg?style=flat)](https://npmjs.org/package/swap-case)
[![Build status](https://img.shields.io/travis/blakeembrey/swap-case.svg?style=flat)](https://travis-ci.org/blakeembrey/swap-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/swap-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/swap-case?branch=master)
Return as a string with every character case reversed.
```js
changeCase.swapCase('Test String')
//=> "tEST sTRING"
```
### [titleCase](https://github.com/blakeembrey/title-case)
[![NPM version](https://img.shields.io/npm/v/title-case.svg?style=flat)](https://npmjs.org/package/title-case)
[![NPM downloads](https://img.shields.io/npm/dm/title-case.svg?style=flat)](https://npmjs.org/package/title-case)
[![Build status](https://img.shields.io/travis/blakeembrey/title-case.svg?style=flat)](https://travis-ci.org/blakeembrey/title-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/title-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/title-case?branch=master)
Return as a space separated string with the first character of every word upper cased.
```js
changeCase.titleCase('a simple test')
//=> "A Simple Test"
```
### [upperCase](https://github.com/blakeembrey/upper-case)
[![NPM version](https://img.shields.io/npm/v/upper-case.svg?style=flat)](https://npmjs.org/package/upper-case)
[![NPM downloads](https://img.shields.io/npm/dm/upper-case.svg?style=flat)](https://npmjs.org/package/upper-case)
[![Build status](https://img.shields.io/travis/blakeembrey/upper-case.svg?style=flat)](https://travci.org/blakeembrey/upper-case)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/upper-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/upper-case?branch=master)
Return the string in upper case.
```js
changeCase.upperCase('test string')
//=> "TEST STRING"
```
### [upperCaseFirst](https://github.com/blakeembrey/upper-case-first)
[![NPM version](https://img.shields.io/npm/v/upper-case-first.svg?style=flat)](https://npmjs.org/package/upper-case-first)
[![NPM downloads](https://img.shields.io/npm/dm/upper-case-first.svg?style=flat)](https://npmjs.org/package/upper-case-first)
[![Build status](https://img.shields.io/travis/blakeembrey/upper-case-first.svg?style=flat)](https://travis-ci.org/blakeembrey/upper-case-first)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/upper-case-first.svg?style=flat)](https://coveralls.io/r/blakeembrey/upper-case-first?branch=master)
Return the string with the first character upper cased.
```js
changeCase.upperCaseFirst('test')
//=> "Test"
```
## Related
* [Meteor](https://github.com/Konecty/change-case)
* [Atom](https://github.com/robhurring/atom-change-case)
* [VSCode](https://github.com/wmaurer/vscode-change-case)
## TypeScript
Includes a [TypeScript definition](change-case.d.ts).
## License
MIT
[npm-image]: https://img.shields.io/npm/v/change-case.svg?style=flat
[npm-url]: https://npmjs.org/package/change-case
[downloads-image]: https://img.shields.io/npm/dm/change-case.svg?style=flat
[downloads-url]: https://npmjs.org/package/change-case
[travis-image]: https://img.shields.io/travis/blakeembrey/change-case.svg?style=flat
[travis-url]: https://travis-ci.org/blakeembrey/change-case
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/change-case.svg?style=flat
[coveralls-url]: https://coveralls.io/r/blakeembrey/change-case?branch=master

39
server/node_modules/change-case/change-case.d.ts generated vendored Normal file
View File

@@ -0,0 +1,39 @@
import noCase = require('no-case')
import dotCase = require('dot-case')
import swapCase = require('swap-case')
import pathCase = require('path-case')
import upperCase = require('upper-case')
import lowerCase = require('lower-case')
import camelCase = require('camel-case')
import snakeCase = require('snake-case')
import titleCase = require('title-case')
import paramCase = require('param-case')
import headerCase = require('header-case')
import pascalCase = require('pascal-case')
import constantCase = require('constant-case')
import sentenceCase = require('sentence-case')
import isUpperCase = require('is-upper-case')
import isLowerCase = require('is-lower-case')
import upperCaseFirst = require('upper-case-first')
import lowerCaseFirst = require('lower-case-first')
export { noCase, noCase as no }
export { dotCase, dotCase as dot }
export { swapCase, swapCase as swap }
export { pathCase, pathCase as path }
export { upperCase, upperCase as upper }
export { lowerCase, lowerCase as lower }
export { camelCase, camelCase as camel }
export { snakeCase, snakeCase as snake }
export { titleCase, titleCase as title }
export { paramCase, paramCase as param }
export { paramCase as kebabCase, paramCase as kebab }
export { paramCase as hyphenCase, paramCase as hyphen }
export { headerCase, headerCase as header }
export { pascalCase, pascalCase as pascal }
export { constantCase, constantCase as constant }
export { sentenceCase, sentenceCase as sentence }
export { isUpperCase, isUpperCase as isUpper }
export { isLowerCase, isLowerCase as isLower }
export { upperCaseFirst, upperCaseFirst as ucFirst }
export { lowerCaseFirst, lowerCaseFirst as lcFirst }

20
server/node_modules/change-case/change-case.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
exports.no = exports.noCase = require('no-case')
exports.dot = exports.dotCase = require('dot-case')
exports.swap = exports.swapCase = require('swap-case')
exports.path = exports.pathCase = require('path-case')
exports.upper = exports.upperCase = require('upper-case')
exports.lower = exports.lowerCase = require('lower-case')
exports.camel = exports.camelCase = require('camel-case')
exports.snake = exports.snakeCase = require('snake-case')
exports.title = exports.titleCase = require('title-case')
exports.param = exports.paramCase = require('param-case')
exports.kebab = exports.kebabCase = exports.paramCase
exports.hyphen = exports.hyphenCase = exports.paramCase
exports.header = exports.headerCase = require('header-case')
exports.pascal = exports.pascalCase = require('pascal-case')
exports.constant = exports.constantCase = require('constant-case')
exports.sentence = exports.sentenceCase = require('sentence-case')
exports.isUpper = exports.isUpperCase = require('is-upper-case')
exports.isLower = exports.isLowerCase = require('is-lower-case')
exports.ucFirst = exports.upperCaseFirst = require('upper-case-first')
exports.lcFirst = exports.lowerCaseFirst = require('lower-case-first')

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.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.

View File

@@ -0,0 +1,3 @@
declare function camelCase (value: string, locale?: string, mergeNumbers?: boolean): string;
export = camelCase;

View File

@@ -0,0 +1,23 @@
var upperCase = require('upper-case')
var noCase = require('no-case')
/**
* Camel case a string.
*
* @param {string} value
* @param {string} [locale]
* @return {string}
*/
module.exports = function (value, locale, mergeNumbers) {
var result = noCase(value, locale)
// Replace periods between numeric entities with an underscore.
if (!mergeNumbers) {
result = result.replace(/ (?=\d)/g, '_')
}
// Replace spaces between words with an upper cased character.
return result.replace(/ (.)/g, function (m, $1) {
return upperCase($1, locale)
})
}

View File

@@ -0,0 +1,56 @@
{
"name": "camel-case",
"version": "3.0.0",
"description": "Camel case a string",
"main": "camel-case.js",
"typings": "camel-case.d.ts",
"files": [
"camel-case.js",
"camel-case.d.ts",
"LICENSE"
],
"scripts": {
"lint": "standard",
"test-spec": "mocha -- -R spec --bail",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
"test": "npm run lint && npm run test-cov"
},
"repository": {
"type": "git",
"url": "git://github.com/blakeembrey/camel-case.git"
},
"keywords": [
"camel",
"case",
"camelcase",
"camel-case",
"dash",
"hyphen",
"dot",
"underscore",
"lodash",
"separator",
"string",
"text",
"convert"
],
"author": {
"name": "Blake Embrey",
"email": "hello@blakeembrey.com",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/blakeembrey/camel-case/issues"
},
"homepage": "https://github.com/blakeembrey/camel-case",
"devDependencies": {
"istanbul": "^0.4.3",
"mocha": "^2.2.1",
"standard": "^7.1.2"
},
"dependencies": {
"no-case": "^2.2.0",
"upper-case": "^1.1.1"
}
}

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.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.

View File

@@ -0,0 +1,45 @@
# Param Case
[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
Param case a string.
Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will result in an empty string.
## Installation
```
npm install param-case --save
```
## Usage
```javascript
var paramCase = require('param-case')
paramCase('string') //=> "string"
paramCase('camelCase') //=> "camel-case"
paramCase('sentence case') //=> "sentence-case"
paramCase('MY STRING', 'tr') //=> "my-strıng"
```
## Typings
Includes a [TypeScript definition](param-case.d.ts).
## License
MIT
[npm-image]: https://img.shields.io/npm/v/param-case.svg?style=flat
[npm-url]: https://npmjs.org/package/param-case
[downloads-image]: https://img.shields.io/npm/dm/param-case.svg?style=flat
[downloads-url]: https://npmjs.org/package/param-case
[travis-image]: https://img.shields.io/travis/blakeembrey/param-case.svg?style=flat
[travis-url]: https://travis-ci.org/blakeembrey/param-case
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/param-case.svg?style=flat
[coveralls-url]: https://coveralls.io/r/blakeembrey/param-case?branch=master

View File

@@ -0,0 +1,46 @@
{
"name": "param-case",
"version": "2.1.1",
"description": "Param case a string",
"main": "param-case.js",
"typings": "param-case.d.ts",
"files": [
"param-case.js",
"param-case.d.ts",
"LICENSE"
],
"scripts": {
"lint": "standard",
"test-std": "mocha -- -R spec --bail",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
"test": "npm run lint && npm run test-cov"
},
"repository": {
"type": "git",
"url": "git://github.com/blakeembrey/param-case.git"
},
"keywords": [
"param",
"case",
"dash",
"hyphen"
],
"author": {
"name": "Blake Embrey",
"email": "hello@blakeembrey.com",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/blakeembrey/param-case/issues"
},
"homepage": "https://github.com/blakeembrey/param-case",
"devDependencies": {
"istanbul": "^0.4.3",
"mocha": "^3.2.0",
"standard": "^9.0.1"
},
"dependencies": {
"no-case": "^2.2.0"
}
}

View File

@@ -0,0 +1,3 @@
declare function paramCase (value: string, locale?: string): string;
export = paramCase;

View File

@@ -0,0 +1,12 @@
var noCase = require('no-case')
/**
* Param case a string.
*
* @param {string} value
* @param {string} [locale]
* @return {string}
*/
module.exports = function (value, locale) {
return noCase(value, locale, '-')
}

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.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.

View File

@@ -0,0 +1,45 @@
# Pascal Case
[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
Pascal case a string. Explicitly adds a single underscore between groups of numbers to keep readability (E.g. `1.20.5` becomes `1_20_5`, not `1205`).
Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will result in an empty string.
## Installation
```
npm install pascal-case --save
```
## Usage
```javascript
var pascalCase = require('pascal-case')
pascalCase('string') //=> "String"
pascalCase('camelCase') //=> "CamelCase"
pascalCase('sentence case') //=> "SentenceCase"
pascalCase('MY STRING', 'tr') //=> "MyStrıng"
```
## Typings
Includes a [TypeScript definition](pascal-case.d.ts).
## License
MIT
[npm-image]: https://img.shields.io/npm/v/pascal-case.svg?style=flat
[npm-url]: https://npmjs.org/package/pascal-case
[downloads-image]: https://img.shields.io/npm/dm/pascal-case.svg?style=flat
[downloads-url]: https://npmjs.org/package/pascal-case
[travis-image]: https://img.shields.io/travis/blakeembrey/pascal-case.svg?style=flat
[travis-url]: https://travis-ci.org/blakeembrey/pascal-case
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/pascal-case.svg?style=flat
[coveralls-url]: https://coveralls.io/r/blakeembrey/pascal-case?branch=master

View File

@@ -0,0 +1,45 @@
{
"name": "pascal-case",
"version": "2.0.1",
"description": "Pascal case a string",
"main": "pascal-case.js",
"typings": "pascal-case.d.ts",
"scripts": {
"lint": "standard",
"test-std": "mocha -- -R spec --bail",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
"test": "npm run lint && npm run test-cov"
},
"files": [
"pascal-case.js",
"pascal-case.d.ts",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git://github.com/blakeembrey/pascal-case.git"
},
"keywords": [
"pascal",
"case"
],
"author": {
"name": "Blake Embrey",
"email": "hello@blakeembrey.com",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/blakeembrey/pascal-case/issues"
},
"homepage": "https://github.com/blakeembrey/pascal-case",
"devDependencies": {
"istanbul": "^0.4.3",
"mocha": "^3.0.0",
"standard": "^9.0.1"
},
"dependencies": {
"camel-case": "^3.0.0",
"upper-case-first": "^1.1.0"
}
}

View File

@@ -0,0 +1,3 @@
declare function pascalCase (value: string, locale?: string, mergeNumbers?: boolean): string;
export = pascalCase;

View File

@@ -0,0 +1,14 @@
var camelCase = require('camel-case')
var upperCaseFirst = require('upper-case-first')
/**
* Pascal case a string.
*
* @param {string} value
* @param {string} [locale]
* @param {boolean} [mergeNumbers]
* @return {string}
*/
module.exports = function (value, locale, mergeNumbers) {
return upperCaseFirst(camelCase(value, locale, mergeNumbers), locale)
}

66
server/node_modules/change-case/package.json generated vendored Normal file
View File

@@ -0,0 +1,66 @@
{
"name": "change-case",
"version": "3.1.0",
"description": "Convert a string between camelCase, PascalCase, Title Case, snake_case and more.",
"main": "change-case.js",
"typings": "change-case.d.ts",
"files": [
"change-case.js",
"change-case.d.ts",
"LICENSE"
],
"scripts": {
"lint": "standard",
"test-std": "mocha -- -R spec --bail",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
"test": "npm run lint && npm run test-cov"
},
"repository": "https://github.com/blakeembrey/change-case",
"keywords": [
"camel",
"pascal",
"title",
"case",
"lower",
"upper",
"param",
"kebab",
"hyphen",
"dot",
"path",
"constant",
"cases",
"check"
],
"author": {
"name": "Blake Embrey",
"email": "hello@blakeembrey.com",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"devDependencies": {
"istanbul": "^0.4.3",
"mocha": "^5.0.0",
"standard": "^12.0.1"
},
"dependencies": {
"camel-case": "^3.0.0",
"constant-case": "^2.0.0",
"dot-case": "^2.1.0",
"header-case": "^1.0.0",
"is-lower-case": "^1.1.0",
"is-upper-case": "^1.1.0",
"lower-case": "^1.1.1",
"lower-case-first": "^1.0.0",
"no-case": "^2.3.2",
"param-case": "^2.1.0",
"pascal-case": "^2.0.0",
"path-case": "^2.1.0",
"sentence-case": "^2.1.0",
"snake-case": "^2.1.0",
"swap-case": "^1.1.0",
"title-case": "^2.1.0",
"upper-case": "^1.1.1",
"upper-case-first": "^1.1.0"
}
}