{"_id":"@brooswajne/terrier","_rev":"2-14529da56b518b0865f00a5b6b713a1c","name":"@brooswajne/terrier","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@brooswajne/terrier","version":"0.0.1","description":"A talkative little dog","type":"module","main":"./dist/terrier.js","exports":"./dist/terrier.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint .","lint:fix":"eslint . --fix","build":"tsc","build:watch":"tsc --watch"},"repository":{"type":"git","url":"git+https://github.com/BROOSWAJNE/terrier.git"},"author":{"name":"Willem Garnier"},"license":"ISC","bugs":{"url":"https://github.com/BROOSWAJNE/terrier/issues"},"homepage":"https://github.com/BROOSWAJNE/terrier#readme","devDependencies":{"@brooswajne/eslint-config":"^0.0.3","@types/node":"^15.0.1","@typescript-eslint/eslint-plugin":"^4.22.0","eslint":"^7.25.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.1.0","eslint-plugin-unicorn":"^28.0.2","typescript":"^4.2.4"},"types":"./dist/terrier.d.ts","gitHead":"da2748da0a157425f01fa50f47f2ba95faea7e92","_id":"@brooswajne/terrier@0.0.1","_nodeVersion":"16.4.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Bc6QbXtJAKQ4BtHRjJszVRepBXh/sskSVIEXhcmI90k/ExCjJxtg40qQ9ktcvFE8UzmWEt9JhniyeadYJi1wSQ==","shasum":"cacee15a3cddfbc0920b1f56d1a3d637c7808102","tarball":"https://registry.npmjs.org/@brooswajne/terrier/-/terrier-0.0.1.tgz","fileCount":19,"unpackedSize":22650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2B3SCRA9TVsSAnZWagAAhboP/ArWIh65zesLD334yqnG\ndGhZB1WzrQoC2fG4crADZ9tkWRttnDAWPY/+dDwniWDyZgFuYJzkHyvioaKu\nfGdxg2g9zOdnWydlBhsY5DTXBTcXJQtrC4/EOCKZ+8cFLLvG6mqz4axDHPa6\n0yn3o87m/N/wrYaKOQnE36t3zlHf0PX2+HFjGM41Ibxxlr8D38dqnCMhJ2Am\ndaA/RY+yLyjzLF4iPxMWh1MUmqNhI9LDVLdHGgH1oMc6loFMn8b2wFwrhS/A\n3aTgzyC9L56QKUDhvH58MEzXcWFzAZBDk6nIWTeUhvJgyekQx/jwXfr86+7Q\nq4wuf4nbDlBFSJgyM+8EfbuqP5MF7NIVjWguDF0fnE+70uZTEViCDh8F9GrT\neZhDcj3wCGtTvXERy/Qe+8B4mYyjkdeYHz7GkFqMY4xVNvOfUePCngc3Rrf1\npNKNf6pfQHcLnxyMEVrHMf27fwzNK6sKtNIWXUT92PRrAkQt6fERuOLqeHCT\nyknHbOPJSF70l2mDpXnFsePdXHq1SLL7H1WeKMqA5zt7qqw2nqLtPQpXdRbd\nwCZQzUkv90IvqJEqruBT7ohLuZWCWWlKhWzWy3FrUETA8G20HSAWLzQbj5zV\nFs3xYrQoexzy4VOieNeQhMyLtp69U4D7JneNJQ9A+h5bjA4T+TADtmxHZzgd\nyztJ\r\n=XI9f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRZ/tIVKy2E+RKBseWjZVBPnSglAseS/vmGAwfT3TPGAiEAkBSQkNmPDihz5omZHCBmNHlgzO5Q6svrM+mcG8gIXEE="}]},"_npmUser":{"name":"brooswajne","email":"gloinus@gmail.com"},"directories":{},"maintainers":[{"name":"brooswajne","email":"gloinus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/terrier_0.0.1_1635797530443_0.14393130643075258"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-01T20:12:10.393Z","0.0.1":"2021-11-01T20:12:10.569Z","modified":"2022-04-04T20:46:16.702Z"},"maintainers":[{"name":"brooswajne","email":"gloinus@gmail.com"}],"description":"A talkative little dog","homepage":"https://github.com/BROOSWAJNE/terrier#readme","repository":{"type":"git","url":"git+https://github.com/BROOSWAJNE/terrier.git"},"author":{"name":"Willem Garnier"},"bugs":{"url":"https://github.com/BROOSWAJNE/terrier/issues"},"license":"ISC","readme":"# terrier\n\nTerrier is a talkative little dog, which takes care of all your logging needs.\nZero dependencies. Simple, straightforward interface and API with no extra\ncomplication.\n\nSuper simple to use:\n\n```javascript\nimport { createLogger } from 'terrier';\n\nconst logger = createLogger( );\nlogger.debug('Initializing greeting...');\nlogger.info('Hello world!');\nlogger.trace('User greeted.');\n\nconst child = logger.child('jim');\nchild.debug('Doing some work...');\nchild.error('Child labour is illegal!');\n```\n\nFully configurable (see the [LoggerConfiguration](./lib/types.ts) interface for\na description of all the options):\n\n```javascript\nimport { intlFormat } from 'date-fns';\nimport { Writable } from 'stream';\nimport {\n  LoggerLevel,\n  createLogger,\n} from 'terrier';\n\nconst logger = createLogger({\n  // only log messages with priority 'info' or above\n  level: LoggerLevel.Info,\n  // custom timestamp formatting\n  timestamp: ( ) => intlFormat(new Date( ), { locale: 'ko-KR' }),\n  // custom output stream\n  stream: (level) => new Writable(/* ... */),\n});\n```\n","readmeFilename":"README.md"}