{"_id":"@1blckhrt_/tslogger","_rev":"2-d4ce2557979b94449b3d0370761ac97b","name":"@1blckhrt_/tslogger","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@1blckhrt_/tslogger","version":"1.0.0","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup"},"keywords":["logger","typescript","console","colors"],"author":{"name":"1blckhrt"},"license":"MIT","description":"A simple TypeScript logger to log messages to the console in specific colors.","devDependencies":{"@types/node":"^20.12.12","tsup":"^8.0.2","typescript":"^5.4.5"},"_id":"@1blckhrt_/tslogger@1.0.0","gitHead":"f659a985640b31833a955308f40bcd41cd8e4512","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-NaTW3z0k3aCW2wmKTVi6fqTuVgZSUyFVWL49k0MuuZYaE9jK26fv9qL5SFpcX9h0lYuTcG0ePU0arlXk+FMKPA==","shasum":"df19d39d63b40eedc69013d73b2b3d115d51599c","tarball":"https://registry.npmjs.org/@1blckhrt_/tslogger/-/tslogger-1.0.0.tgz","fileCount":7,"unpackedSize":16403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8+2DBnoLi5GPc07MHEqx4OpW4ln8Ox8kfZtKzSgzeMwIhAKVOsanGbwU1k8qxODUGHR5EpxMgSM0Va2HYkJ7rs9Xz"}]},"_npmUser":{"name":"1blckhrt_","email":"blackheartmusic01@gmail.com"},"directories":{},"maintainers":[{"name":"1blckhrt_","email":"blackheartmusic01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tslogger_1.0.0_1716099716483_0.7753261488542604"},"_hasShrinkwrap":false},"1.1.0":{"name":"@1blckhrt_/tslogger","version":"1.1.0","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup"},"keywords":["logger","typescript","console","colors"],"author":{"name":"1blckhrt"},"license":"MIT","description":"A simple TypeScript logger to log messages to the console in specific colors.","devDependencies":{"@types/node":"^20.12.12","tsup":"^8.0.2","typescript":"^5.4.5"},"_id":"@1blckhrt_/tslogger@1.1.0","gitHead":"08fed293d3b602f9f422b0a8352904a3168ac0d6","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-XeRsQjwadeyUYeK01lXVkcg++ixzigEbd0iwdYLJxGq+Mb6ij+0yZKhGFQVLqyOAp21Se5Ko/WKk96cvR2LCQA==","shasum":"99d6ebecbd425d8062bbd8a273efbbf0d17def08","tarball":"https://registry.npmjs.org/@1blckhrt_/tslogger/-/tslogger-1.1.0.tgz","fileCount":3,"unpackedSize":2285,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGs0n0K2jrZ9Jn/u9bgtvFEDD/530frD10RBB1LOYzrgIgSj71kwB+jqSa7bu/Zt7f/XGK0c2utwCgTw+o8Q8la5s="}]},"_npmUser":{"name":"1blckhrt_","email":"blackheartmusic01@gmail.com"},"directories":{},"maintainers":[{"name":"1blckhrt_","email":"blackheartmusic01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tslogger_1.1.0_1716100819628_0.7224279094484538"},"_hasShrinkwrap":false},"1.3.0":{"name":"@1blckhrt_/tslogger","version":"1.3.0","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup"},"keywords":["logger","typescript","console","colors"],"author":{"name":"1blckhrt"},"license":"MIT","description":"A simple TypeScript logger to log messages to the console in specific colors.","devDependencies":{"@types/node":"^20.12.12","tsup":"^8.0.2","typescript":"^5.4.5"},"_id":"@1blckhrt_/tslogger@1.3.0","gitHead":"c5aad0c176c5fa827f57c8d2dbf1edf38bbe852e","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-Ofqrni1PFEA8+IwbqDhIE2jhJeb/2RZxFo8D/AnypUwfP0oOJC3ZLqLtsRpArOOOpXNKNs5oZgxNMSQbeCuhLg==","shasum":"40b3307d52388f31fd6124823b3e3b0737dd6d90","tarball":"https://registry.npmjs.org/@1blckhrt_/tslogger/-/tslogger-1.3.0.tgz","fileCount":7,"unpackedSize":16524,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQYs5NoKi5O77vPZFaU35ZNYniolMO1dxl0+LaR7q0yAiEAs4aw75B1+c9IQYeoUF0p+8PfAi2SL6dqSwK3Np63V5s="}]},"_npmUser":{"name":"1blckhrt_","email":"blackheartmusic01@gmail.com"},"directories":{},"maintainers":[{"name":"1blckhrt_","email":"blackheartmusic01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tslogger_1.3.0_1716131580352_0.4134023812115504"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-19T06:21:56.380Z","1.0.0":"2024-05-19T06:21:56.637Z","modified":"2024-05-19T15:13:00.719Z","1.1.0":"2024-05-19T06:40:19.761Z","1.3.0":"2024-05-19T15:13:00.528Z"},"maintainers":[{"name":"1blckhrt_","email":"blackheartmusic01@gmail.com"}],"description":"A simple TypeScript logger to log messages to the console in specific colors.","keywords":["logger","typescript","console","colors"],"author":{"name":"1blckhrt"},"license":"MIT","readme":"<h1>📃 Logger - Developed by 1blckhrt</h1>\n\n<p>A simple TypeScript logger utility class that prints colored messages to the console and timestamps, with the option of saving a message to a file.\n\n<h2>Installation</h2>\n\n<p>You can install my logger program using npm:</p>\n\n```sh\nnpm install @1blckhrt_/tslogger\n```\n\n<h2>Basic usage</h2>\n\n<h3>Importing</h3>\n\n```js\nconst { logger } = require(\"@1blckhrt_/tslogger\");\nimport { logger } from \"@1blckhrt_/tslogger\";\n```\n\n<h3>Logging to files</h3>\n\n```js\nlogger.setLogFile(\"log.txt\"); // setting the file to log to\nlogger.saveToFile(\"Hello World!\"); // saving the message\n```\n\n<h3>Printing colored messages to the console</h3>\n\n```js\nlogger.red(\"This is a red message\");\nlogger.yellow(\"This is a yellow message\");\nlogger.green(\"This is a green message\");\nlogger.cyan(\"This is a cyan message\");\nlogger.blue(\"This is a blue message\");\nlogger.magenta(\"This is a magenta message\");\n```\n\n<h3>Printing levelled messages to the console</h3>\n\n```js\nlogger.error(\"This is an error message\");\nlogger.warning(\"This is a warning message\");\nlogger.info(\"This is an info message\");\nlogger.success(\"This is a success message\");\n```\n\n# Thank you for checking out my program, I hope it is useful.\n","readmeFilename":"README.md"}