diff --git a/camel-case/camel-case-tests.ts b/camel-case/camel-case-tests.ts deleted file mode 100644 index f26f7cdb85..0000000000 --- a/camel-case/camel-case-tests.ts +++ /dev/null @@ -1,9 +0,0 @@ - -import camelCase = require('camel-case'); - -console.log(camelCase('string')); // => "string" -console.log(camelCase('dot.case')); // => "dotCase" -console.log(camelCase('PascalCase')); // => "pascalCase" -console.log(camelCase('version 1.2.10')); // => "version1_2_10" - -console.log(camelCase('STRING 1.2', 'tr')); // => "strıng1_2" diff --git a/camel-case/index.d.ts b/camel-case/index.d.ts deleted file mode 100644 index 1345063e82..0000000000 --- a/camel-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for camel-case -// Project: https://github.com/blakeembrey/camel-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function camelCase(string: string, locale?: string): string; -export = camelCase; diff --git a/camel-case/tsconfig.json b/camel-case/tsconfig.json deleted file mode 100644 index 83c8649f5e..0000000000 --- a/camel-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "camel-case-tests.ts" - ] -} \ No newline at end of file diff --git a/change-case/change-case-tests.ts b/change-case/change-case-tests.ts deleted file mode 100644 index 67ef86405b..0000000000 --- a/change-case/change-case-tests.ts +++ /dev/null @@ -1,37 +0,0 @@ -import changeCase = require("change-case"); - -var s: string; -var b: boolean; - -s = changeCase.dot(s); -s = changeCase.dotCase(s); -s = changeCase.swap(s); -s = changeCase.swapCase(s); -s = changeCase.path(s); -s = changeCase.pathCase(s); -s = changeCase.upper(s); -s = changeCase.upperCase(s); -s = changeCase.lower(s); -s = changeCase.lowerCase(s); -s = changeCase.camel(s); -s = changeCase.camelCase(s); -s = changeCase.snake(s); -s = changeCase.snakeCase(s); -s = changeCase.title(s); -s = changeCase.titleCase(s); -s = changeCase.param(s); -s = changeCase.paramCase(s); -s = changeCase.pascal(s); -s = changeCase.pascalCase(s); -s = changeCase.constant(s); -s = changeCase.constantCase(s); -s = changeCase.sentence(s); -s = changeCase.sentenceCase(s); -b = changeCase.isUpper(s); -b = changeCase.isUpperCase(s); -b = changeCase.isLower(s); -b = changeCase.isLowerCase(s); -s = changeCase.ucFirst(s); -s = changeCase.upperCaseFirst(s); -s = changeCase.lcFirst(s); -s = changeCase.lowerCaseFirst(s); diff --git a/change-case/index.d.ts b/change-case/index.d.ts deleted file mode 100644 index 590597d621..0000000000 --- a/change-case/index.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -// Type definitions for change-case -// Project: https://github.com/blakeembrey/change-case -// Definitions by: Asana -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -export function dot(s: string): string; -export function dotCase(s: string): string; -export function swap(s: string): string; -export function swapCase(s: string): string; -export function path(s: string): string; -export function pathCase(s: string): string; -export function upper(s: string): string; -export function upperCase(s: string): string; -export function lower(s: string): string; -export function lowerCase(s: string): string; -export function camel(s: string): string; -export function camelCase(s: string): string; -export function snake(s: string): string; -export function snakeCase(s: string): string; -export function title(s: string): string; -export function titleCase(s: string): string; -export function param(s: string): string; -export function paramCase(s: string): string; -export function pascal(s: string): string; -export function pascalCase(s: string): string; -export function constant(s: string): string; -export function constantCase(s: string): string; -export function sentence(s: string): string; -export function sentenceCase(s: string): string; -export function isUpper(s: string): boolean; -export function isUpperCase(s: string): boolean; -export function isLower(s: string): boolean; -export function isLowerCase(s: string): boolean; -export function ucFirst(s: string): string; -export function upperCaseFirst(s: string): string; -export function lcFirst(s: string): string; -export function lowerCaseFirst(s: string): string; diff --git a/change-case/tsconfig.json b/change-case/tsconfig.json deleted file mode 100644 index ed10870103..0000000000 --- a/change-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "change-case-tests.ts" - ] -} \ No newline at end of file diff --git a/constant-case/constant-case-tests.ts b/constant-case/constant-case-tests.ts deleted file mode 100644 index ddb5c57e66..0000000000 --- a/constant-case/constant-case-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ - -import constantCase = require('constant-case'); - -console.log(constantCase('string')); // => "STRING" -console.log(constantCase('PascalCase')); // => "PASCAL_CASE" - -console.log(constantCase('myString', 'tr')); // => "MY_STRİNG" - diff --git a/constant-case/index.d.ts b/constant-case/index.d.ts deleted file mode 100644 index 7ae0536e74..0000000000 --- a/constant-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for constant-case -// Project: https://github.com/blakeembrey/constant-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function constantCase(string: string, locale?: string): string; -export = constantCase; diff --git a/constant-case/tsconfig.json b/constant-case/tsconfig.json deleted file mode 100644 index f5715da4d6..0000000000 --- a/constant-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "constant-case-tests.ts" - ] -} \ No newline at end of file diff --git a/dot-case/dot-case-tests.ts b/dot-case/dot-case-tests.ts deleted file mode 100644 index 391724317a..0000000000 --- a/dot-case/dot-case-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ - -import dotCase = require('dot-case'); - -console.log(dotCase('string')); // => "string" -console.log(dotCase('camelCase')); // => "camel.case" -console.log(dotCase('sentence case')); // => "sentence.case" - -console.log(dotCase('MY STRING', 'tr')); // => "my.strıng" diff --git a/dot-case/index.d.ts b/dot-case/index.d.ts deleted file mode 100644 index 8f11ee3b3c..0000000000 --- a/dot-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for dot-case -// Project: https://github.com/blakeembrey/dot-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function dotCase(string: string, locale?: string): string; -export = dotCase; diff --git a/dot-case/tsconfig.json b/dot-case/tsconfig.json deleted file mode 100644 index cd4b617235..0000000000 --- a/dot-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "dot-case-tests.ts" - ] -} \ No newline at end of file diff --git a/is-lower-case/index.d.ts b/is-lower-case/index.d.ts deleted file mode 100644 index 1a489738f3..0000000000 --- a/is-lower-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for is-lower-case -// Project: https://github.com/blakeembrey/is-lower-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function isLowerCase(string: string): boolean; -export = isLowerCase; diff --git a/is-lower-case/is-lower-case-tests.ts b/is-lower-case/is-lower-case-tests.ts deleted file mode 100644 index 2ff5a8488e..0000000000 --- a/is-lower-case/is-lower-case-tests.ts +++ /dev/null @@ -1,6 +0,0 @@ - -import isLowerCase = require('is-lower-case') - -console.log(isLowerCase('string')); // => true -console.log(isLowerCase('String')); // => false -console.log(isLowerCase('STRING')); // => false diff --git a/is-lower-case/tsconfig.json b/is-lower-case/tsconfig.json deleted file mode 100644 index dcb1906005..0000000000 --- a/is-lower-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "is-lower-case-tests.ts" - ] -} \ No newline at end of file diff --git a/is-upper-case/index.d.ts b/is-upper-case/index.d.ts deleted file mode 100644 index 3bec58c214..0000000000 --- a/is-upper-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for is-upper-case -// Project: https://github.com/blakeembrey/is-upper-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function isUpperCase(string: string, locale?: string): boolean; -export = isUpperCase; diff --git a/is-upper-case/is-upper-case-tests.ts b/is-upper-case/is-upper-case-tests.ts deleted file mode 100644 index 41fa04dc34..0000000000 --- a/is-upper-case/is-upper-case-tests.ts +++ /dev/null @@ -1,6 +0,0 @@ - -import isUpperCase = require('is-upper-case') - -console.log(isUpperCase('STRING')); // => true -console.log(isUpperCase('String')); // => false -console.log(isUpperCase('string')); // => false diff --git a/is-upper-case/tsconfig.json b/is-upper-case/tsconfig.json deleted file mode 100644 index 71c23af917..0000000000 --- a/is-upper-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "is-upper-case-tests.ts" - ] -} \ No newline at end of file diff --git a/lower-case-first/index.d.ts b/lower-case-first/index.d.ts deleted file mode 100644 index 1ceb7f1ea9..0000000000 --- a/lower-case-first/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for lower-case-first -// Project: https://github.com/blakeembrey/lower-case-first -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function lowerCaseFirst(string: string, locale?: string): string; -export = lowerCaseFirst; diff --git a/lower-case-first/lower-case-first-tests.ts b/lower-case-first/lower-case-first-tests.ts deleted file mode 100644 index 0e280f27a4..0000000000 --- a/lower-case-first/lower-case-first-tests.ts +++ /dev/null @@ -1,6 +0,0 @@ - -import lowerCaseFirst = require('lower-case-first'); - -console.log(lowerCaseFirst(null)); // => "" -console.log(lowerCaseFirst('STRING')); // => "sTRING" - diff --git a/lower-case-first/tsconfig.json b/lower-case-first/tsconfig.json deleted file mode 100644 index 248dd8604e..0000000000 --- a/lower-case-first/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "lower-case-first-tests.ts" - ] -} \ No newline at end of file diff --git a/lower-case/index.d.ts b/lower-case/index.d.ts deleted file mode 100644 index 7c210bfc7d..0000000000 --- a/lower-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for lower-case -// Project: https://github.com/blakeembrey/lower-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function lowerCase(string: any, locale?: string): string; -export = lowerCase; diff --git a/lower-case/lower-case-tests.ts b/lower-case/lower-case-tests.ts deleted file mode 100644 index a29e107d1b..0000000000 --- a/lower-case/lower-case-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ - -import lowerCase = require('lower-case'); - -console.log(lowerCase(null)); // => "" -console.log(lowerCase('STRING')); // => "string" -console.log(lowerCase('string', 'tr')); // => "strıng" - -console.log(lowerCase({ toString: function() { return 'TEST' } })); // => "test" diff --git a/lower-case/tsconfig.json b/lower-case/tsconfig.json deleted file mode 100644 index a6fd8bba3f..0000000000 --- a/lower-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "lower-case-tests.ts" - ] -} \ No newline at end of file diff --git a/notNeededPackages.json b/notNeededPackages.json index 472a3881ca..88ce062809 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -94,6 +94,108 @@ "typingsPackageName": "normalizr", "sourceRepoURL": "https://github.com/paularmstrong/normalizr", "asOfVersion": "2.0.18" + }, + { + "libraryName": "camel-case", + "typingsPackageName": "camel-case", + "sourceRepoUrl": "https://github.com/blakeembrey/camel-case", + "asOfVersion": "1.2.1" + }, + { + "libraryName": "change-case", + "typingsPackageName": "change-case", + "sourceRepoUrl": "https://github.com/blakeembrey/change-case", + "asOfVersion": "2.3.1" + }, + { + "libraryName": "constant-case", + "typingsPackageName": "constant-case", + "sourceRepoUrl": "https://github.com/blakeembrey/constant-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "dot-case", + "typingsPackageName": "dot-case", + "sourceRepoUrl": "https://github.com/blakeembrey/dot-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "is-lower-case", + "typingsPackageName": "is-lower-case", + "sourceRepoUrl": "https://github.com/blakeembrey/is-lower-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "is-upper-case", + "typingsPackageName": "is-upper-case", + "sourceRepoUrl": "https://github.com/blakeembrey/is-upper-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "lower-case", + "typingsPackageName": "lower-case", + "sourceRepoUrl": "https://github.com/blakeembrey/lower-case", + "asOfVersion": "1.1.3" + }, + { + "libraryName": "lower-case-first", + "typingsPackageName": "lower-case-first", + "sourceRepoUrl": "https://github.com/blakeembrey/lower-case-first", + "asOfVersion": "1.0.1" + }, + { + "libraryName": "param-case", + "typingsPackageName": "param-case", + "sourceRepoUrl": "https://github.com/blakeembrey/param-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "pascal-case", + "typingsPackageName": "pascal-case", + "sourceRepoUrl": "https://github.com/blakeembrey/pascal-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "path-case", + "typingsPackageName": "path-case", + "sourceRepoUrl": "https://github.com/blakeembrey/path-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "sentence-case", + "typingsPackageName": "sentence-case", + "sourceRepoUrl": "https://github.com/blakeembrey/sentence-case", + "asOfVersion": "1.1.3" + }, + { + "libraryName": "snake-case", + "typingsPackageName": "snake-case", + "sourceRepoURL": "https://github.com/blakeembrey/snake-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "swap-case", + "typingsPackageName": "swap-case", + "sourceRepoUrl": "https://github.com/blakeembrey/swap-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "title-case", + "typingsPackageName": "title-case", + "sourceRepoUrl": "https://github.com/blakeembrey/title-case", + "asOfVersion": "1.1.2" + }, + { + "libraryName": "upper-case", + "typingsPackageName": "upper-case", + "sourceRepoUrl": "https://github.com/blakeembrey/upper-case", + "asOfVersion": "1.1.3" + }, + { + "libraryName": "upper-case-first", + "typingsPackageName": "upper-case-first", + "sourceRepoUrl": "https://github.com/blakeembrey/upper-case-first", + "asOfVersion": "1.1.2" } ] } diff --git a/param-case/index.d.ts b/param-case/index.d.ts deleted file mode 100644 index 848acf0ac8..0000000000 --- a/param-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for param-case -// Project: https://github.com/blakeembrey/param-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function paramCase(string: string, locale?: string): string; -export = paramCase; diff --git a/param-case/param-case-tests.ts b/param-case/param-case-tests.ts deleted file mode 100644 index c7440a6bd1..0000000000 --- a/param-case/param-case-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ - -import paramCase = require('param-case'); - -console.log(paramCase('string')); // => "string" -console.log(paramCase('camelCase')); // => "camel-case" -console.log(paramCase('sentence case')); // => "sentence-case" - -console.log(paramCase('MY STRING', 'tr')); // => "my-strıng" diff --git a/param-case/tsconfig.json b/param-case/tsconfig.json deleted file mode 100644 index a9a76be6e2..0000000000 --- a/param-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "param-case-tests.ts" - ] -} \ No newline at end of file diff --git a/pascal-case/index.d.ts b/pascal-case/index.d.ts deleted file mode 100644 index 2b9ce7ea84..0000000000 --- a/pascal-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for pascal-case -// Project: https://github.com/blakeembrey/pascal-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function pascalCase(string: string, locale?: string): string; -export = pascalCase; diff --git a/pascal-case/pascal-case-tests.ts b/pascal-case/pascal-case-tests.ts deleted file mode 100644 index cf0f39847b..0000000000 --- a/pascal-case/pascal-case-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ - -import pascalCase = require('pascal-case'); - -console.log(pascalCase('string')); // => "String" -console.log(pascalCase('camelCase')); // => "CamelCase" -console.log(pascalCase('sentence case')); // => "SentenceCase" - -console.log(pascalCase('MY STRING', 'tr')); // => "MyStrıng" diff --git a/pascal-case/tsconfig.json b/pascal-case/tsconfig.json deleted file mode 100644 index 559c0de3cb..0000000000 --- a/pascal-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "pascal-case-tests.ts" - ] -} \ No newline at end of file diff --git a/path-case/index.d.ts b/path-case/index.d.ts deleted file mode 100644 index 246dcbb038..0000000000 --- a/path-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for path-case -// Project: https://github.com/blakeembrey/path-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function pathCase(string: string, locale?: string): string; -export = pathCase; diff --git a/path-case/path-case-tests.ts b/path-case/path-case-tests.ts deleted file mode 100644 index a7d30a5db8..0000000000 --- a/path-case/path-case-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ - -import pathCase = require('path-case'); - -console.log(pathCase('string')); // => "string" -console.log(pathCase('camelCase')); // => "camel/case" -console.log(pathCase('sentence case')); // => "sentence/case" - -console.log(pathCase('MY STRING', 'tr')); // => "my.strıng" diff --git a/path-case/tsconfig.json b/path-case/tsconfig.json deleted file mode 100644 index 9a47f738bb..0000000000 --- a/path-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "path-case-tests.ts" - ] -} \ No newline at end of file diff --git a/sentence-case/index.d.ts b/sentence-case/index.d.ts deleted file mode 100644 index 59f23e4b27..0000000000 --- a/sentence-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for sentence-case -// Project: https://github.com/blakeembrey/sentence-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function sentenceCase(string: string, locale?: string, repl?: string): string; -export = sentenceCase; diff --git a/sentence-case/sentence-case-tests.ts b/sentence-case/sentence-case-tests.ts deleted file mode 100644 index 67f27e26de..0000000000 --- a/sentence-case/sentence-case-tests.ts +++ /dev/null @@ -1,12 +0,0 @@ - -import sentenceCase = require('sentence-case'); - -console.log(sentenceCase(null)); // => "" -console.log(sentenceCase('string')); // => "stringe" -console.log(sentenceCase('dot.case')); // => "dot case" -console.log(sentenceCase('camelCase')); // => "camel case" -console.log(sentenceCase('Beyoncé Knowles')); // => "beyoncé knowles" - -console.log(sentenceCase('A STRING', 'tr')); // => "a strıng" - -console.log(sentenceCase('HELLO WORLD!', null, '_')); // => "hello_world" diff --git a/sentence-case/tsconfig.json b/sentence-case/tsconfig.json deleted file mode 100644 index 94457c9ee0..0000000000 --- a/sentence-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "sentence-case-tests.ts" - ] -} \ No newline at end of file diff --git a/snake-case/index.d.ts b/snake-case/index.d.ts deleted file mode 100644 index 493fe072c7..0000000000 --- a/snake-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for snake-case -// Project: https://github.com/blakeembrey/snake-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function snakeCase(string: string, locale?: string): string; -export = snakeCase; diff --git a/snake-case/snake-case-tests.ts b/snake-case/snake-case-tests.ts deleted file mode 100644 index efabda950d..0000000000 --- a/snake-case/snake-case-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ - -import camelCase = require('snake-case'); - -console.log(camelCase('string')); // => "string" -console.log(camelCase('camelCase')); // => "camel_case" -console.log(camelCase('sentence case')); // => "sentence_case" - -console.log(camelCase('MY STRING', 'tr')); // => "my_strıng" diff --git a/snake-case/tsconfig.json b/snake-case/tsconfig.json deleted file mode 100644 index 23e2621399..0000000000 --- a/snake-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "snake-case-tests.ts" - ] -} \ No newline at end of file diff --git a/swap-case/index.d.ts b/swap-case/index.d.ts deleted file mode 100644 index bd3e957813..0000000000 --- a/swap-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for swap-case -// Project: https://github.com/blakeembrey/swap-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function swapCase(string: string, locale?: string): string; -export = swapCase; diff --git a/swap-case/swap-case-tests.ts b/swap-case/swap-case-tests.ts deleted file mode 100644 index 23a230a149..0000000000 --- a/swap-case/swap-case-tests.ts +++ /dev/null @@ -1,9 +0,0 @@ - -import swapCase = require('swap-case'); - -console.log(swapCase(null)); // => "" -console.log(swapCase('string')); // => "STRING" -console.log(swapCase('PascalCase')); // => "pASCALcASE" -console.log(swapCase('Iñtërnâtiônàlizætiøn')); //=> "iÑTËRNÂTIÔNÀLIZÆTIØN" - -console.log(swapCase('My String', 'tr')); // => "mY sTRİNG" diff --git a/swap-case/tsconfig.json b/swap-case/tsconfig.json deleted file mode 100644 index 66e28bbbf0..0000000000 --- a/swap-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "swap-case-tests.ts" - ] -} \ No newline at end of file diff --git a/title-case/index.d.ts b/title-case/index.d.ts deleted file mode 100644 index cec8a49c43..0000000000 --- a/title-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for title-case -// Project: https://github.com/blakeembrey/title-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function titleCase(string1: string, string2?: string): string; -export = titleCase; diff --git a/title-case/title-case-tests.ts b/title-case/title-case-tests.ts deleted file mode 100644 index aed51f2d2a..0000000000 --- a/title-case/title-case-tests.ts +++ /dev/null @@ -1,6 +0,0 @@ - -import titleCase = require('title-case'); - -console.log(titleCase('string')); // => "String" -console.log(titleCase('PascalCase')); // => "Pascal Case" -console.log(titleCase('STRING', 'tr')); // => "Strıng" diff --git a/title-case/tsconfig.json b/title-case/tsconfig.json deleted file mode 100644 index 523a2290ae..0000000000 --- a/title-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "title-case-tests.ts" - ] -} \ No newline at end of file diff --git a/upper-case-first/index.d.ts b/upper-case-first/index.d.ts deleted file mode 100644 index 7d714974ef..0000000000 --- a/upper-case-first/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for upper-case-first -// Project: https://github.com/blakeembrey/upper-case-first -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function upperCaseFirst(string: string): string; -export = upperCaseFirst; diff --git a/upper-case-first/tsconfig.json b/upper-case-first/tsconfig.json deleted file mode 100644 index b9f4aa453a..0000000000 --- a/upper-case-first/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "upper-case-first-tests.ts" - ] -} \ No newline at end of file diff --git a/upper-case-first/upper-case-first-tests.ts b/upper-case-first/upper-case-first-tests.ts deleted file mode 100644 index 1e477b5378..0000000000 --- a/upper-case-first/upper-case-first-tests.ts +++ /dev/null @@ -1,5 +0,0 @@ - -import upperCaseFirst = require('upper-case-first'); - -console.log(upperCaseFirst(null)); // => "" -console.log(upperCaseFirst('string')); // => "String" diff --git a/upper-case/index.d.ts b/upper-case/index.d.ts deleted file mode 100644 index 4568ae2b27..0000000000 --- a/upper-case/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for upper-case -// Project: https://github.com/blakeembrey/upper-case -// Definitions by: Sam Saint-Pettersen -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function upperCase(string: any, locale?: string): string; -export = upperCase; diff --git a/upper-case/tsconfig.json b/upper-case/tsconfig.json deleted file mode 100644 index 28e4d7b58a..0000000000 --- a/upper-case/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "upper-case-tests.ts" - ] -} \ No newline at end of file diff --git a/upper-case/upper-case-tests.ts b/upper-case/upper-case-tests.ts deleted file mode 100644 index 124b138835..0000000000 --- a/upper-case/upper-case-tests.ts +++ /dev/null @@ -1,7 +0,0 @@ - -import upperCase = require('upper-case'); - -console.log(upperCase(null)); // => "" -console.log(upperCase('string')); // => "STRING" - -console.log(upperCase({ toString: function() { return 'test' } })); // => "TEST"