{"_id":"ts-log","_rev":"1346997","name":"ts-log","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","dist-tags":{"latest":"2.2.4"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"time":{"modified":"2021-11-02T00:41:16.000Z","created":"2018-04-20T13:33:54.710Z","2.2.4":"2021-10-27T07:36:03.588Z","2.2.3":"2020-09-23T08:22:01.239Z","2.2.0":"2020-09-23T08:02:37.589Z","2.1.4":"2018-11-21T08:10:15.035Z","2.1.3":"2018-09-05T08:18:37.142Z","2.1.2":"2018-08-10T10:08:31.026Z","2.1.1":"2018-08-10T10:04:27.398Z","2.1.0":"2018-08-10T10:01:48.968Z","2.0.0":"2018-05-23T19:40:57.143Z","1.2.1":"2018-04-20T13:56:18.270Z","1.2.0":"2018-04-20T13:50:45.316Z","1.1.1":"2018-04-20T13:46:44.679Z","1.1.0":"2018-04-20T13:35:28.457Z","1.0.0":"2018-04-20T13:33:54.710Z"},"users":{},"author":{"name":"Stagnation Lab"},"repository":{"type":"git","url":"git+https://github.com/kallaspriit/ts-log.git"},"versions":{"2.2.4":{"name":"ts-log","version":"2.2.4","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"keywords":["typescript","abstract","logger","console","dummy"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kallaspriit/ts-log.git"},"scripts":{"start":"nodemon --inspect example/index.ts","build":"npm run tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"npm run lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"npm run tidy:build && npm run tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"npm run tidy:coverage && jest --collectCoverage","validate":"npm run prettier && npm run build && npm run lint && npm run coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"@types/jest":"^27.0.2","@types/node":"^14.11.2","coveralls":"^3.1.1","jest":"^27.3.1","nodemon":"^2.0.14","prettier":"^2.4.1","rimraf":"^3.0.2","ts-jest":"^27.0.7","tslint":"^5.20.1","typescript":"^4.4.4","typestrict":"^1.0.2"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"gitHead":"fb23ee45174a6cb3fc5260367dbc0bb6b9f12551","bugs":{"url":"https://github.com/kallaspriit/ts-log/issues"},"homepage":"https://github.com/kallaspriit/ts-log#readme","_id":"ts-log@2.2.4","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"shasum":"d672cf904b33735eaba67a7395c93d45fba475b3","size":91921,"noattachment":false,"key":"/ts-log/-/ts-log-2.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.2.4.tgz"},"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.2.4_1635320163410_0.6241263494793368"},"_hasShrinkwrap":false,"publish_time":1635320163588,"_cnpm_publish_time":1635320163588},"2.2.3":{"name":"ts-log","version":"2.2.3","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"keywords":["typescript","abstract","logger","console","dummy"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kallaspriit/ts-log.git"},"scripts":{"start":"nodemon --inspect example/index.ts","build":"npm run tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"npm run lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"npm run tidy:build && npm run tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"npm run tidy:coverage && jest --collectCoverage","validate":"npm run prettier && npm run build && npm run lint && npm run coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.2","coveralls":"^3.1.0","jest":"^26.4.2","nodemon":"^2.0.4","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.0","tslint":"^5.20.1","typescript":"^4.0.3","typestrict":"^1.0.2"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"gitHead":"3fe0a261c54e26dc9640b172f3a6f6a272337eaa","bugs":{"url":"https://github.com/kallaspriit/ts-log/issues"},"homepage":"https://github.com/kallaspriit/ts-log#readme","_id":"ts-log@2.2.3","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"shasum":"4da5640fe25a9fb52642cd32391c886721318efb","size":91768,"noattachment":false,"key":"/ts-log/-/ts-log-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.2.3.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.2.3_1600849321053_0.3457239788311659"},"_hasShrinkwrap":false,"publish_time":1600849321239,"_cnpm_publish_time":1600849321239},"2.2.0":{"name":"ts-log","version":"2.2.0","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"keywords":["typescript","abstract","logger","console","dummy"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kallaspriit/ts-log.git"},"scripts":{"start":"nodemon --inspect example/index.ts","build":"npm run tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"npm run lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"npm run tidy:build && npm run tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"npm run tidy:coverage && jest --collectCoverage","validate":"npm run prettier && npm run build && npm run lint && npm run coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.2","coveralls":"^3.1.0","jest":"^26.4.2","nodemon":"^2.0.4","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.0","tslint":"^5.20.1","typescript":"^4.0.3","typestrict":"^1.0.2"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"gitHead":"0b5176f32086fef1e11dacb2b03901f76743ec85","bugs":{"url":"https://github.com/kallaspriit/ts-log/issues"},"homepage":"https://github.com/kallaspriit/ts-log#readme","_id":"ts-log@2.2.0","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"shasum":"59c46273c98e8b66a95b0ca2918cd56c6ac1ba9b","size":91778,"noattachment":false,"key":"/ts-log/-/ts-log-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.2.0.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.2.0_1600848157408_0.30568506664196526"},"_hasShrinkwrap":false,"publish_time":1600848157589,"_cnpm_publish_time":1600848157589},"2.1.4":{"name":"ts-log","version":"2.1.4","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"keywords":["typescript","abstract","logger","console","dummy"],"license":"MIT","repository":{"type":"git","url":"https://github.com/kallaspriit/ts-log.git"},"scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","validate":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"@types/jest":"^23.3.9","@types/node":"^10.12.9","coveralls":"^3.0.2","jest":"^23.6.0","nodemon":"^1.18.6","prettier":"^1.15.2","rimraf":"^2.6.2","ts-jest":"^23.10.4","tslint":"^5.11.0","typescript":"^3.1.6","typestrict":"^1.0.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@2.1.4","dist":{"shasum":"063c5ad1cbab5d49d258d18015963489fb6fb59a","size":93199,"noattachment":false,"key":"/ts-log/-/ts-log-2.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.1.4.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.1.4_1542787814900_0.37263342204142935"},"_hasShrinkwrap":false,"publish_time":1542787815035,"_cnpm_publish_time":1542787815035},"2.1.3":{"name":"ts-log","version":"2.1.3","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"keywords":["typescript","abstract","logger","console","dummy"],"license":"MIT","repository":{"type":"git","url":"https://github.com/kallaspriit/ts-log.git"},"scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","prettier":"^1.12.1","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.11.0","typescript":"^2.8.1","typestrict":"^0.0.9"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@2.1.3","dist":{"shasum":"9e30aca1baffe7693a2e4142b8f07ecb01cb8340","size":93141,"noattachment":false,"key":"/ts-log/-/ts-log-2.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.1.3.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.1.3_1536135516968_0.7929070442065367"},"_hasShrinkwrap":false,"publish_time":1536135517142,"_cnpm_publish_time":1536135517142},"2.1.2":{"name":"ts-log","version":"2.1.2","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"keywords":["typescript","abstract","logger","console","dummy"],"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","prettier":"^1.12.1","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.11.0","typescript":"^2.8.1","typestrict":"^0.0.9"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@2.1.2","dist":{"shasum":"fc109b08e6ae42f94989ac01bd51c8c7ee869ddf","size":93100,"noattachment":false,"key":"/ts-log/-/ts-log-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.1.2.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.1.2_1533895710920_0.14028831600326597"},"_hasShrinkwrap":false,"publish_time":1533895711026,"_cnpm_publish_time":1533895711026},"2.1.1":{"name":"ts-log","version":"2.1.1","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","prettier":"^1.12.1","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.11.0","typescript":"^2.8.1","typestrict":"^0.0.9"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@2.1.1","dist":{"shasum":"fdef661d5fe50495fe9236dfc2c8f104d353998a","size":93066,"noattachment":false,"key":"/ts-log/-/ts-log-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.1.1.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.1.1_1533895467283_0.4751635112771966"},"_hasShrinkwrap":false,"publish_time":1533895467398,"_cnpm_publish_time":1533895467398},"2.1.0":{"name":"ts-log","version":"2.1.0","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{},"devDependencies":{"prettier":"^1.12.1","typestrict":"^0.0.9","@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.11.0","typescript":"^2.8.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@2.1.0","dist":{"shasum":"1bc3a2e37169d062554830e4cadf787fc4639de5","size":93066,"noattachment":false,"key":"/ts-log/-/ts-log-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.1.0.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.1.0_1533895308883_0.22432974055084665"},"_hasShrinkwrap":false,"publish_time":1533895308968,"_cnpm_publish_time":1533895308968},"2.0.0":{"name":"ts-log","version":"2.0.0","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.9.1","tslint-config-prettier":"^1.10.0","tslint-config-strict":"^1.3.1","typescript":"^2.8.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"devDependencies":{"prettier":"^1.12.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@2.0.0","dist":{"shasum":"02f034cfac17438f957fab3f729947e13b576c53","size":93083,"noattachment":false,"key":"/ts-log/-/ts-log-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-2.0.0.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_2.0.0_1527104457068_0.526906736558872"},"_hasShrinkwrap":false,"publish_time":1527104457143,"_cnpm_publish_time":1527104457143},"1.2.1":{"name":"ts-log","version":"1.2.1","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.9.1","tslint-config-prettier":"^1.10.0","tslint-config-strict":"^1.3.1","typescript":"^2.8.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@1.2.1","dist":{"shasum":"fb4a85af828a9ebd759b785c597f98d6d158a3f5","size":93040,"noattachment":false,"key":"/ts-log/-/ts-log-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-1.2.1.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_1.2.1_1524232577634_0.8914585609274592"},"_hasShrinkwrap":false,"publish_time":1524232578270,"_cnpm_publish_time":1524232578270},"1.2.0":{"name":"ts-log","version":"1.2.0","description":"Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.","main":"build/src/index.js","types":"build/src/index.d.ts","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.9.1","tslint-config-prettier":"^1.10.0","tslint-config-strict":"^1.3.1","typescript":"^2.8.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@1.2.0","dist":{"shasum":"ce82f9a4cf883f7187e4af4867aeca847e01d556","size":93037,"noattachment":false,"key":"/ts-log/-/ts-log-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-1.2.0.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_1.2.0_1524232245134_0.9340960454981351"},"_hasShrinkwrap":false,"publish_time":1524232245316,"_cnpm_publish_time":1524232245316},"1.1.1":{"name":"ts-log","version":"1.1.1","description":"Abstract logger TypeScript interface along with a dummy logger that does nothing, useful as default dummy logger for libraries.","main":"build/src/index.js","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.9.1","tslint-config-prettier":"^1.10.0","tslint-config-strict":"^1.3.1","typescript":"^2.8.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@1.1.1","dist":{"shasum":"5f43e71a35b3dce4a6333a8ebb1c034a475c2f80","size":93031,"noattachment":false,"key":"/ts-log/-/ts-log-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-1.1.1.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_1.1.1_1524232004528_0.2812379366922284"},"_hasShrinkwrap":false,"publish_time":1524232004679,"_cnpm_publish_time":1524232004679},"1.1.0":{"name":"ts-log","version":"1.1.0","description":"Abstract logger TypeScript interface along with a dummy logger that does nothing, useful as default dummy logger for libraries.","main":"build/src/index.js","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.9.1","tslint-config-prettier":"^1.10.0","tslint-config-strict":"^1.3.1","typescript":"^2.8.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@1.1.0","dist":{"shasum":"38991419590a95c866b2397299cd0a53e697537e","size":93194,"noattachment":false,"key":"/ts-log/-/ts-log-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-1.1.0.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_1.1.0_1524231328380_0.013904828306768868"},"_hasShrinkwrap":false,"publish_time":1524231328457,"_cnpm_publish_time":1524231328457},"1.0.0":{"name":"ts-log","version":"1.0.0","description":"Abstract logger TypeScript interface along with a dummy logger that does nothing, useful as default dummy logger for libraries.","main":"build/src/index.js","author":{"name":"Stagnation Lab"},"license":"MIT","scripts":{"start":"nodemon --inspect example/index.ts","build":"yarn tidy:build && tsc","production":"node build/example/index","lint":"tslint --project tsconfig.json --format codeFrame","lint-fix":"yarn lint --fix","prettier":"prettier --write src/**/*.ts example/**/*.ts","tidy":"yarn tidy:build && yarn tidy:coverage","tidy:build":"rimraf build","tidy:coverage":"rimraf coverage","test":"jest","test-watch":"jest --watch --collectCoverage","coverage":"yarn tidy:coverage && jest --collectCoverage","audit":"yarn prettier && yarn build && yarn lint && yarn coverage","coveralls":"cat ./coverage/lcov.info | coveralls"},"dependencies":{"@types/jest":"^22.2.2","@types/node":"^9.6.1","coveralls":"^3.0.0","jest":"^22.4.3","nodemon":"^1.17.3","rimraf":"^2.6.2","ts-jest":"^22.4.2","tslint":"^5.9.1","tslint-config-prettier":"^1.10.0","tslint-config-strict":"^1.3.1","typescript":"^2.8.1"},"jest":{"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"roots":["src"],"collectCoverage":false,"collectCoverageFrom":["src/**/*.ts"],"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"]},"licenseText":"MIT License\n\nCopyright (c) 2018 Priit Kallas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-log@1.0.0","dist":{"shasum":"b7f2c41813dba138ea4c1cd04a6fa8278d3b4890","size":93210,"noattachment":false,"key":"/ts-log/-/ts-log-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-log/download/ts-log-1.0.0.tgz"},"maintainers":[{"name":"kallaspriit","email":"kallaspriit@gmail.com"}],"_npmUser":{"name":"kallaspriit","email":"kallaspriit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-log_1.0.0_1524231234617_0.23031426139218558"},"_hasShrinkwrap":false,"publish_time":1524231234710,"_cnpm_publish_time":1524231234710}},"readme":"# TypeScript Abstract Logger\r\n\r\n[![Travis](https://img.shields.io/travis/kallaspriit/ts-log.svg)](https://travis-ci.org/kallaspriit/ts-log)\r\n[![Coverage](https://img.shields.io/coveralls/kallaspriit/ts-log.svg)](https://coveralls.io/github/kallaspriit/ts-log)\r\n[![Downloads](https://img.shields.io/npm/dm/ts-log.svg)](http://npm-stat.com/charts.html?package=ts-log)\r\n[![Version](https://img.shields.io/npm/v/ts-log.svg)](http://npm.im/ts-log)\r\n[![License](https://img.shields.io/npm/l/ts-log.svg)](http://opensource.org/licenses/MIT)\r\n\r\n**Abstract logger TypeScript interface along with a dummy logger that does nothing.**\r\n\r\nUseful for libraries wanting to provide a pluggable logger that does nothing by default (or provide your own default such as [bunyan](https://github.com/trentm/node-bunyan)).\r\n\r\n- Matches the built-in console that can be used directly.\r\n- Also matches [bunyan](https://github.com/trentm/node-bunyan).\r\n- Provides usage and custom logger example.\r\n- Written in TypeScript, no need for extra typings.\r\n- No dependencies, 24 LOC with comments, 100% test coverage.\r\n\r\n## Installation\r\n\r\nThis package is distributed via npm\r\n\r\n```cmd\r\nnpm install ts-log\r\n```\r\n```cmd\r\nyarn add ts-log\r\n```\r\n\r\n## Example\r\n\r\n```typescript\r\nimport { dummyLogger, Logger } from \"ts-log\";\r\nimport * as fs from \"fs\";\r\n\r\n// example class that uses the logger\r\nclass Calculator {\r\n  // accept the logger in the constructor, defaulting to dummy logger that does nothing\r\n  public constructor(private readonly log: Logger = dummyLogger) {}\r\n\r\n  public sum(a: number, b: number) {\r\n    const result = a + b;\r\n\r\n    // call the logger\r\n    this.log.info(`summing ${a} + ${b} = ${result}`, a, b, result);\r\n\r\n    return result;\r\n  }\r\n}\r\n\r\n// example custom logger that logs to a file\r\nclass FileLogger implements Logger {\r\n  private readonly fd: number;\r\n\r\n  public constructor(filename: string) {\r\n    this.fd = fs.openSync(filename, \"a\");\r\n  }\r\n\r\n  public trace(message?: any, ...optionalParams: any[]): void {\r\n    this.append(\"TRACE\", `${message} ${JSON.stringify(optionalParams)}`);\r\n  }\r\n\r\n  public debug(message?: any, ...optionalParams: any[]): void {\r\n    this.append(\"DEBUG\", `${message} ${JSON.stringify(optionalParams)}`);\r\n  }\r\n\r\n  public info(message?: any, ...optionalParams: any[]): void {\r\n    this.append(\"INFO \", `${message} ${JSON.stringify(optionalParams)}`);\r\n  }\r\n\r\n  public warn(message?: any, ...optionalParams: any[]): void {\r\n    this.append(\"WARN \", `${message} ${JSON.stringify(optionalParams)}`);\r\n  }\r\n\r\n  public error(message?: any, ...optionalParams: any[]): void {\r\n    this.append(\"ERROR\", `${message} ${JSON.stringify(optionalParams)}`);\r\n  }\r\n\r\n  private append(type: string, message: string) {\r\n    fs.writeSync(this.fd, `${new Date().toISOString()} ${type} ${message}\\n`);\r\n  }\r\n}\r\n\r\n// don't define a logger, defaults to dummy logger that does nothing\r\nconst calculator1 = new Calculator();\r\n\r\n// use the built-in console as the logger\r\nconst calculator2 = new Calculator(console);\r\n\r\n// use the custom file logger\r\nconst calculator3 = new Calculator(new FileLogger(\"log.txt\"));\r\n\r\n// run the calculator\r\ncalculator1.sum(2, 3);\r\ncalculator2.sum(-4, 1);\r\ncalculator3.sum(6, 3);\r\n```\r\n\r\n## Commands\r\n\r\n- `npm start` to start the example application.\r\n- `npm run build` to build the production version.\r\n- `npm run test` to run tests.\r\n- `npm run coverage` to gather code coverage.\r\n- `npm run lint` to lint the codebase.\r\n- `npm run prettier` to run prettier.\r\n- `npm run validate` to run all pre-commit checks (prettier, build, lint, test)","_attachments":{},"homepage":"https://github.com/kallaspriit/ts-log#readme","bugs":{"url":"https://github.com/kallaspriit/ts-log/issues"},"license":"MIT"}