{"_id":"common-log-format","_rev":"15-b5eb39ded2ad76809677da2d3d742cca","name":"common-log-format","description":"Transform web logs (common log format) to JSON","dist-tags":{"latest":"2.0.1"},"versions":{"0.1.0":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.0","description":"A transform stream, converting common log format to JSON","repository":{"type":"git","url":"https://github.com/75lb/common-log-format.git"},"main":"./lib/common-log-format.js","bin":{"clf":"bin/cli.js"},"keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo"},"devDependencies":{"tape":"^2.13.2"},"gitHead":"6b13fd1b4da635788ddc3a177aaab7e2e6e36fcb","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format","_id":"common-log-format@0.1.0","_shasum":"a5d9ad1c69b9c7184d7dbcc1e7080d5bbeef6e9a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"a5d9ad1c69b9c7184d7dbcc1e7080d5bbeef6e9a","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-0.1.0.tgz","integrity":"sha512-b2SAoTTX8GBSuf94eKZnkETPZXTL+ysyqJpnAyVf839NjRo9CJkcC2nbZ5c2xCZrTIp1b996QPynnf1ux+Y3sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqvCtljJ3utfqXDtFYsDpxNloqvnhUgvq9SQIFkyR25gIgHiuntnzOCsXTs3w7/nxHB9fCEUV0Cd4DxbSnYd8uU3c="}]},"directories":{}},"0.1.1":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.1","description":"A transform stream, converting common log format to JSON","repository":{"type":"git","url":"https://github.com/75lb/common-log-format.git"},"main":"./lib/common-log-format.js","bin":{"clf":"bin/cli.js"},"keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo"},"devDependencies":{"tape":"^2.13.2"},"gitHead":"121883a7b004cbeaabad454f96b1f90b6bc2d9ac","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format","_id":"common-log-format@0.1.1","_shasum":"792f5bb4663776a2569bcbf751d8a3890c01b90a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"792f5bb4663776a2569bcbf751d8a3890c01b90a","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-0.1.1.tgz","integrity":"sha512-miusMUa/m9FKuEphjMivaIDcL/jQhqNa6iSjdktWZXBZ/28Bru4pogbatkTsaTKcJFqt80VUKVYXLXOVjJDbpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCx7q++HArexS01kC+xosnKMveZ42kVAushqHqpKUooAiEA3lAc/jpsx9SQajdB/1U9vLatG0RdIhdrirmmQCU7n4w="}]},"directories":{}},"0.1.2":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.2","description":"A transform stream, converting common log format to JSON","repository":{"type":"git","url":"https://github.com/75lb/common-log-format.git"},"main":"./lib/common-log-format.js","bin":{"clf":"bin/cli.js"},"keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo"},"devDependencies":{"tape":"^2.13.2"},"gitHead":"6994f74f23da02c5f8ecefffef5462792a8e36a0","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format","_id":"common-log-format@0.1.2","_shasum":"1c706d863d0f9a6813f91d224cb497277a4d4fbb","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"1c706d863d0f9a6813f91d224cb497277a4d4fbb","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-0.1.2.tgz","integrity":"sha512-CCAyCBtytVsFpCHVeS6SzmqNAgc03DwN36z7i76A1f1UWZr4+wMu7DCpd95YCT5Ch7vSnsAC3nVqBwMXZ34pYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkUniJDdQXJe1U0/XrWZ8rXC2nfE9oitfXIwt2sj+npQIhAKxEeqA1eT/geGZ+32mxCQprP6t1InNpYckOmCFPNp51"}]},"directories":{}},"0.1.3":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.3","description":"A transform stream, converting common log format to JSON","repository":{"type":"git","url":"https://github.com/75lb/common-log-format.git"},"main":"./lib/common-log-format.js","bin":{"clf":"bin/cli.js"},"keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo"},"devDependencies":{"tape":"^2.13.2"},"gitHead":"9e86be4a0fe627ac6b2147db7d2eb3d9c61e8f70","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format","_id":"common-log-format@0.1.3","_shasum":"6009dadc4ec467371af28a8dbd3e4ce02b166782","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"6009dadc4ec467371af28a8dbd3e4ce02b166782","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-0.1.3.tgz","integrity":"sha512-nk24IimsmSm2xin1K6IwCbhDp+Etg5Ynu0ZRCjg3Y5B6orp8x1Rc9zyYNHkzL1O1lwIi868xeidZKTvMmU/02w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNAHUDDLDBaRQNWSIgv1Rm71VGR4oEVx2TM1KUrcc2TAiA4XZvsPOUwohFKq6LYFNXnY+QiSNMoo7Uf8tpJptiJtg=="}]},"directories":{}},"0.1.4":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.4","description":"Transform web logs (common log format) to JSON","repository":{"type":"git","url":"git+https://github.com/75lb/common-log-format.git"},"main":"./lib/common-log-format.js","license":"MIT","bin":{"clf":"bin/cli.js"},"keywords":["common","log","format","web","json","convert","transform"],"engines":{"node":">=0.10.0 <9.0.0"},"scripts":{"test":"tape test/*.js"},"devDependencies":{"tape":"^4.2.2"},"gitHead":"5c5ad2bc560cbd6dc67ce382fc9936b786ae9077","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format#readme","_id":"common-log-format@0.1.4","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"integrity":"sha512-BXcgq+wzr2htmBmnT7cL7YHzPAWketWbr4kozjoM9kWe4sk3+zMgjcH0HO+EddjDlEw2LZysqLpVRwbF318tDw==","shasum":"39ba6ccb5c46c2f89aa92f232866d18f18075ba9","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-0.1.4.tgz","fileCount":7,"unpackedSize":7770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2PwSCRA9TVsSAnZWagAASSAP/RfcUYAiEKsWzK22HQju\nlyhUs9EEgclL+3f9mZY58DQNLkKVeJBwwug0kvqB/SQrsnGiDutqSq3+D0l0\nomVfzqKRkMoUsj8Ij/i31Wa3Tp03maqbr0upjhRxMkh7Kbt5ZQ1ISFvc396j\nQbZNDWeeIzFT0/nvgWebXIwh7Iaf4NDK4jbiZy/SlOPTgxyRtsOvCvHwKZdA\nV4HhbYsENlm2BqCLCIouc8lBZxhSattXWvifizRXYjMBj07bNjgsAqplXcPu\njhm/oHszRA6SvJl/FACcDpQmU45o7RC5e6c6iFps1s3RlrgsqUK6hB+dzsyE\nBR06R/0HpP2ybYhSqGlLpBlmsaT98l66ORXf4pOgng+7O0YYW7AudPhChaen\nQRz58k6ok4yvqbjl8Ll4q1jToHUvZ7BjdopMbD9M01xnyUo9t8596dLb1gWv\nqirHKIS/kzeKHOoSOD8K6n7zCMfnOkJ+MyhbotDA/kxUu1b+GIGWodmpu6Ww\nN8u/zS1yk/Ys4Pxd71j7xE8DLJgFa5wp750Kf+aQsrQkXqCCiZTy17/4v2zE\nkJYE83IDXOTEwswKPyQFEyG5Gb0H5NZyo9aYw3Gu9MDNeNfha6VsD2HmgCei\nXQy6p9+CNi04VkQxsdSv2Dx29xXiEixVV/iToLrxBEladg0ScARKrfu0uwBz\nmw6h\r\n=I6HY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8+S1bdqBQWdoXitq/O/tJG8AEYn+3cDoj+YAYPr7R0AiAPFhvmAGwCWUe4qU18j9gDYbdUD43uHt8qbznvYXnP7w=="}]},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-log-format_0.1.4_1540946961459_0.9735565641096329"},"_hasShrinkwrap":false},"1.0.0":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.0","description":"Transform web logs (common log format) to JSON","repository":{"type":"git","url":"git+https://github.com/75lb/common-log-format.git"},"license":"MIT","bin":{"clf":"bin/cli.js"},"keywords":["common","log","format","web","json","convert","transform"],"engines":{"node":">=8"},"scripts":{"test":"test-runner test.js"},"devDependencies":{"sleep-anywhere":"^1.1.2","test-runner":"^0.6.0"},"gitHead":"ef3ce268530302d30f79bd9050e2f65e8774d9c5","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format#readme","_id":"common-log-format@1.0.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fFn/WPNbsTCGTTwdCpZfVZSa5mgqMEkA0gMTRApFSlEsYN+9B2FPfiqch5FT+jsv5IV1RHV3GeZvCa7Qg+jssw==","shasum":"0ecfb959ca637b44a9c3e6e08a3bee3e9db67f3f","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-1.0.0.tgz","fileCount":5,"unpackedSize":4797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBs+hCRA9TVsSAnZWagAAHvgP/iAxiJuQ2000wo/fuTkC\nv+lLVtWTNlr8qpT9y76dXgpKN/vJsmo/Wvz4RLJ2rWJ9hNEO/lVVu64DNIoW\n65lB0ql5YkBfYCrUGnekcR+udRsXpSVcg8+V3rW226nczgs1g0p7uwl5puMU\nFh+Ha8gqAuoeKr8MRyX7LTlbGMWDxrBh5zx3qZZg1z0Pw7tR2mmH8vC5uSHK\n4Hvy9ySTEbGXfBUKPLDk0oxZQ4IpiQ3RVankj2aSFx1UHDVqSwbgPEi0+Gvl\n9NmhdJnD+7GaX9Av8/48CWoVZ5OClvRasfqdEw5asFXQhQokxbQlF8NSOvK/\nemtjJd31ZPBFDQrX4SZmdk+LOsquSoaqXpTGrVSZ0V+0J4+3IgNxJ30/c4hl\niVKAVs/bYgm5fQkeM4nF+PkkaAHrNTXad6OkXKu1jGd4T3cPWgq+uPS8Dxej\nwOj7pkZZ6kxGmxoAtF2NE0iN9HRZzvse2L1od6y0bjsz/A/SCXzMdwR+bzlh\nNX4yRZJmLegod6+YHpk2bdP2DBwEz8j5uHihW0qju2XHA0i9KMDF/rViRQji\npjnKnPMgt5LQzjr2OBm7c9HwxdhQA5qxnG1a7FponSNJA2dp2y6uSv7ngkbn\nG3Lt1PJYCxvZZ4CRwpK9QGj2H2vO4p9hpeLznzUa15qXUtIsWuyHRgCTsXe0\nPx06\r\n=x/3V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG713Ufy03gr5fct6EPqRq8aDu+waBO7xI9OT97rE0KgAiBFeT6G4Jy9fWhrPZe9VELuT3d8RBIfXK9pjkE/u5rpyA=="}]},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-log-format_1.0.0_1560727456972_0.5059266757147483"},"_hasShrinkwrap":false},"2.0.0":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.0","description":"Transform web logs (common log format) to JSON","repository":{"type":"git","url":"git+https://github.com/75lb/common-log-format.git"},"license":"MIT","bin":{"clf":"bin/cli.js"},"exports":"./index.js","keywords":["common","log","format","web","json","convert","transform"],"engines":{"node":">=12"},"scripts":{"test":"test-runner test.js"},"devDependencies":{"sleep-anywhere":"^2.1.0","test-runner":"^0.10.1"},"gitHead":"2b79de64c485f3191d98b5cdf7b7e73f10c18742","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format#readme","_id":"common-log-format@2.0.0","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-bXHiIeuQOHMUpnTYo47N6ecIm/dCietkHrTaOi7RqbJjQuZfTxj5noo3+L71FEK9FXat01CIRh/yYRc33bSwmQ==","shasum":"4f8fbe752e9ff116885a58e349f082f09a4d59fd","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-2.0.0.tgz","fileCount":5,"unpackedSize":5073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQ4LZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2jRAAlIKge7+PnVLnRO3hKkDaXEfd6UCk6eFwhLkiY9zTGMXTwW67\r\np1I6//NA8yMVvc9jdtnqD0FsfuohWKHvV/BLM0g6sIRpTHU+w283w87rZBGl\r\nS6K+KovIuY8oSQBlkg51O8jshtLWh3mQL+YvLgcKZ1edSYPjchvPdZalvKqh\r\n7b82PfSKGS+mxKDxJ8gzZqqy5F77sw5zpgvQkglFQ3nDhKL4GJ1JTjbGRRHS\r\n+jpiVgYN5Buc0n28FcJ4KTq1z8W9V0STmLDg3d009/Y/MKUWWrY0BIfSUJZm\r\nzJPQ4yCx5q/+/S0lc8RLYycD64v0Jbqt4P00PldibPdSKjaxrzzy7H1TuPtK\r\nST+kXtIjST2cmmihpGF2ysthkU1Mya1Rvx7D7KT22zX++1aug61opIKkNFzO\r\np+D3guUPXJg4a6DpyINAmLGMZh+YVRKS812ESlDjF5/xGyxgi5wcan4VMUFh\r\n4AauzE1DLgcTkxiHCX/1wqXjoSSzawR18oYH61l6B3Y7Lw8n3eM3bc7Xo36S\r\n6MPLei2bPW/iYtnC7UDIfOjnwLau3ILoG+71RXD8cjMUS4fmQXntAkDusYm+\r\nEw+lJoSHOkLS/FBbeg2mlVjW+m4lFI5qDuxdC4PLmoHTNWD1JML9wFFNRfFx\r\nhqstzuKN8Dgg8zCoMRZDspbXAo4TNDH1RlM=\r\n=9zxA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4SNXQTTfvS34NbFwxFQQKQHnOzCYcs+qqX46Fl55wHAIgDtyHbAPbo3ZQc17uUXtIFqS9cCm0ImiOsyuG0LOwuxc="}]},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-log-format_2.0.0_1648591576922_0.9155997248668868"},"_hasShrinkwrap":false},"2.0.1":{"name":"common-log-format","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.1","description":"Transform web logs (common log format) to JSON","repository":{"type":"git","url":"git+https://github.com/75lb/common-log-format.git"},"license":"MIT","bin":{"clf":"bin/cli.js"},"exports":"./index.js","keywords":["common","log","format","web","json","convert","transform"],"engines":{"node":">=12"},"scripts":{"test":"test-runner test.js"},"devDependencies":{"sleep-anywhere":"^2.1.1","test-runner":"^0.10.1"},"gitHead":"e8460c97ed4abaa9dc892b8cd6ff30a8e10fe019","bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"homepage":"https://github.com/75lb/common-log-format#readme","_id":"common-log-format@2.0.1","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-M+q09UEnd24XMytLMOt6ci9/STbxYH21MNh4dl6GLARTe4+mDuJX0x9cWewD4xfjJbeL8iNIPlmF/5wmJsH2+w==","shasum":"e1ddd8e5b2420f6fa79648c325e55baa413601d3","tarball":"https://registry.npmjs.org/common-log-format/-/common-log-format-2.0.1.tgz","fileCount":5,"unpackedSize":5073,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsSHFWpE0OYZfI5xTY362kS1+V5K2HGnoN0cV3eYje3wIhAIM2zQu7CFAgoOtPYC2rtcfgCtzYcCt4z7e4r86Ia/Br"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxZvsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqB7g/+JvB6vTKv4xJkmVJix811+79zqPYMI0KOpmtd5+VGLjV44hrI\r\n7xTHZz4sy7oq/WLmKmMRnynXIvojLvfQ+Ke/Jpy6qlhgWe3IjC1NmXsrAbsJ\r\nfzxUuvgSeRqsYEPMUpHETcKUxrADTh7zljwdN0WZzvTT5xhNszwM4XmPBkRj\r\nCM9QONpYyk/llcQDWIPPhwOko3Rv8gajhUsCH3JLICUwxWjWmJqXEqwFFiEa\r\nbqIoMv01zIz4WRsEdhyxSRwS/SwY2iiE4IgGCG0xUMgneJmBHYZxD0QaOCnk\r\npJgqNlnRHObuWPw4OSxZd0Fsl1WLUi3eXP2tLTwzcxlyEf3PNMtT2LkvbYIc\r\n1FPzfd7ph1aPdwng4abqCCK0BPAZaObRcjnW6+GAKrqOMyRJQhbeEF3U4my1\r\nK9gS7UkMqKr2QF4arzAC3Xy+li/myyzizW4TO1vkSIfwAHCM+MaUuROgLBSr\r\nlgwxd4McKEJ6//F6ltCJKQzJsJfKN28fwcHpNdxArGBW3ustuEDhSXqtxohl\r\nTrnTmMzMD2EjTmSUI151t4wEXLHakX8p85q6Hz9E7UVV9qoFwLLO/4QBi/aD\r\nNGA7gT/KFEH2A5I+VXXfvLPcK6EtRcocBQZGrMuC4RuH4THOFHDgwgqsi1+w\r\n5QP4mDVZrvPJlpjJuVdrKOIIc2sBJJ2LVoA=\r\n=qkWg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-log-format_2.0.1_1673894892345_0.24349938466674814"},"_hasShrinkwrap":false}},"readme":"[![view on npm](https://badgen.net/npm/v/common-log-format)](https://www.npmjs.org/package/common-log-format)\n[![npm module downloads](https://badgen.net/npm/dt/common-log-format)](https://www.npmjs.org/package/common-log-format)\n[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/common-log-format)](https://github.com/75lb/common-log-format/network/dependents?dependent_type=REPOSITORY)\n[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/common-log-format)](https://github.com/75lb/common-log-format/network/dependents?dependent_type=PACKAGE)\n[![Node.js CI](https://github.com/75lb/common-log-format/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/common-log-format/actions/workflows/node.js.yml)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# common-log-format\n\nPipe [common log format](http://en.wikipedia.org/wiki/Common_Log_Format) in, get JSON out. Useful for converting web logs into a format more easily consumed by Javascript.\n\nStandard log input such as:\n\n```\n127.0.0.1 - - [Wed, 11 Jun 2014 16:24:02 GMT] \"GET / HTTP/1.1\" 200 10305 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4\"\n127.0.0.1 - - [Wed, 11 Jun 2014 16:24:08 GMT] \"GET /package.json HTTP/1.1\" 304 - \"http://localhost:8000/\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4\"\n```\n\nwould be converted to\n\n```json\n{\n  \"remoteHost\": \"127.0.0.1\",\n  \"remoteLogName\": \"-\",\n  \"authUser\": \"-\",\n  \"date\": \"2014-06-11T16:24:02.000Z\",\n  \"request\": \"GET / HTTP/1.1\",\n  \"status\": 200,\n  \"bytes\": 10305\n}\n{\n  \"remoteHost\": \"127.0.0.1\",\n  \"remoteLogName\": \"-\",\n  \"authUser\": \"-\",\n  \"date\": \"2014-06-11T16:24:08.000Z\",\n  \"request\": \"GET /package.json HTTP/1.1\",\n  \"status\": 304,\n  \"bytes\": null\n}\n```\n\n## Usage\n\n### As a library\n\n```sh\n$ npm install common-log-format\n```\n\n```js\nimport clf from 'common-log-format'\n\nprocess.stdin.pipe(clf()).pipe(process.stdout)\n```\n\n### Command line\n\nThis will install the `clf` command line tool:\n\n```sh\n$ npm install -g common-log-format\n```\n\n```sh\n$ cat my-web-log.txt | clf\n{\"remoteHost\":\"127.0.0.1\",\"remoteLogName\":\"-\",\"authUser\":\"-\",\"date\":\"2014-06-11T16:05:26.000Z\",\"request\":\"GET /package.json HTTP/1.1\",\"status\":200,\"bytes\":733}\n```\n\n* * *\n\n&copy; 2015-2023 Lloyd Brookes \\<75pound@gmail.com\\>.\n","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2023-01-16T18:48:12.659Z","created":"2014-06-11T16:22:32.286Z","0.1.0":"2014-06-11T16:22:32.286Z","0.1.1":"2014-06-11T16:26:36.741Z","0.1.2":"2014-06-11T19:49:25.896Z","0.1.3":"2014-06-12T19:00:21.110Z","0.1.4":"2018-10-31T00:49:21.673Z","1.0.0":"2019-06-16T23:24:17.121Z","2.0.0":"2022-03-29T22:06:17.073Z","2.0.1":"2023-01-16T18:48:12.520Z"},"homepage":"https://github.com/75lb/common-log-format#readme","keywords":["common","log","format","web","json","convert","transform"],"repository":{"type":"git","url":"git+https://github.com/75lb/common-log-format.git"},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"bugs":{"url":"https://github.com/75lb/common-log-format/issues"},"readmeFilename":"README.md","license":"MIT"}