Added logging, changed some directory structure

This commit is contained in:
2018-01-13 21:33:40 -05:00
parent f079a5f067
commit 8e72ffb917
73656 changed files with 35284 additions and 53718 deletions

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,84 @@
{
"_args": [
[
"camel-case@3.0.0",
"C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\torrent-project"
]
],
"_from": "camel-case@3.0.0",
"_id": "camel-case@3.0.0",
"_inBundle": false,
"_integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=",
"_location": "/react-scripts/camel-case",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "camel-case@3.0.0",
"name": "camel-case",
"escapedName": "camel-case",
"rawSpec": "3.0.0",
"saveSpec": null,
"fetchSpec": "3.0.0"
},
"_requiredBy": [
"/react-scripts/html-minifier"
],
"_resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz",
"_spec": "3.0.0",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\torrent-project",
"author": {
"name": "Blake Embrey",
"email": "hello@blakeembrey.com",
"url": "http://blakeembrey.me"
},
"bugs": {
"url": "https://github.com/blakeembrey/camel-case/issues"
},
"dependencies": {
"no-case": "^2.2.0",
"upper-case": "^1.1.1"
},
"description": "Camel case a string",
"devDependencies": {
"istanbul": "^0.4.3",
"mocha": "^2.2.1",
"standard": "^7.1.2"
},
"files": [
"camel-case.js",
"camel-case.d.ts",
"LICENSE"
],
"homepage": "https://github.com/blakeembrey/camel-case",
"keywords": [
"camel",
"case",
"camelcase",
"camel-case",
"dash",
"hyphen",
"dot",
"underscore",
"lodash",
"separator",
"string",
"text",
"convert"
],
"license": "MIT",
"main": "camel-case.js",
"name": "camel-case",
"repository": {
"type": "git",
"url": "git://github.com/blakeembrey/camel-case.git"
},
"scripts": {
"lint": "standard",
"test": "npm run lint && npm run test-cov",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
"test-spec": "mocha -- -R spec --bail"
},
"typings": "camel-case.d.ts",
"version": "3.0.0"
}