{"_id":"elm-debug-transformer","_rev":"26-88bac324077cab6884db45a55034849f","name":"elm-debug-transformer","dist-tags":{"latest":"1.2.1","beta":"1.1.1-beta","dev":"1.1.0-dev"},"versions":{"0.0.1":{"name":"elm-debug-transformer","version":"0.0.1","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"mocha","build":"webpack","prepublish":"yarn run test && yarn run build"},"devDependencies":{"lodash":"^4.17.11","pegjs":"^0.10.0","@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","mocha":"^6.1.4","pegjs-loader":"^0.5.4","prettier":"^1.18.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"gitHead":"b9531f217216aa9483e01e62c9b973d6936b6b5c","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@0.0.1","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-zQCjmeba50ZyokgyRs2EYVbD6UYJhYmNqEOyWAD+NFfnvQ8dDYV0ecIuTTKhtPMrlwzWmBMU4O1gajT4uBUmyA==","shasum":"f348ad8b3250303743238b89ee4be99e4b671aaf","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-0.0.1.tgz","fileCount":4,"unpackedSize":608934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/imOCRA9TVsSAnZWagAAcPgQAJM0K6aqZhzmLCpdHybg\nzFvSwm9omzC9xv7FiZLMNpbHXuCzoJFiiO+pmsVbO0lTd8uU/q1ARgHzBLhB\nlrDvtBrMvhR+UhuDZnkMRbRWN6n+6Y61V8mtmz5HJpYlHxw18nciUQv7/29S\nQ7jQL2hxDtn7yl0o9ynEoNMU9oes3CccJxu3GvrWKPrsHdmSB/LC4cujD6rh\nii1xaFbmKQUn3G/DdAp1l4jnSe/C4chYqbq63STMmFrdXqqU88uK6jrJ26cB\njSC9yo0x45uYjvcRE7Uhg73kO+01HVKaCy6cpzzrlm4wrCmCZsnh8nNSRb7a\naRcHZb7HNESU5bOD/l3+drt9M3ARTLmTBkm79zEngzOW22YcxebGkEYaBVe7\nKMpUiOA7PjZ1KFvxrgXZ4bICHzxcdSn53b+y1pc6hbGJ8n6tg/+l1X5MuEzi\njFoRB5ejPcM5HBbE3kEIF2F7SsF434P+K+Zr+mrrBZw7FqXIlDOmZ5m1bPCC\n4Ul5Pu8H8S/jy7hY1VzmrQ03YTcwIjXjXu1ZF+F/jT/2R2o//cihomfLl8ut\nyaKfax0PzrJ7gHGxG0uw/Vr5oVAuMzu22eCjIYD57NsuYZj9jWEFS4hOTcAd\n8AHKdHHpkzO0rXsw4rR14ZfEhHaeVofWhpwWJBXRBv2Gqgo86XqdssAOSkeL\ngnE1\r\n=k9ET\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHNOJSSkkvvuUU43wL2HduzZynOukGXjC4ab567LPSrwIgWNYqyjK2VbQgrF8rAPpYgR59UI8Kon7P3B2b7W38EUQ="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_0.0.1_1560160653540_0.2631307458020975"},"_hasShrinkwrap":false},"0.0.2":{"name":"elm-debug-transformer","version":"0.0.2","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"mocha","build":"webpack","prepublish":"yarn run test && yarn run build"},"devDependencies":{"lodash":"^4.17.11","pegjs":"^0.10.0","@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","mocha":"^6.1.4","pegjs-loader":"^0.5.4","prettier":"^1.18.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"gitHead":"5bbb38cd2aa792d51eb9799d6f2e3570a824ccff","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@0.0.2","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ha00UtP2dlEw3X63LCyySmAVrCMZrUelBGi76S0jZkpwY0qp3ncqgJRDbjEwIBDgBCB+GzE/1NMv+aUIayKgPQ==","shasum":"fe73ec927ff5842659173dc679bb151faf163b9d","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-0.0.2.tgz","fileCount":4,"unpackedSize":612348,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/pykCRA9TVsSAnZWagAAR2UQAIIoBMH0c3Ipu6o0DR42\niY8u5UPqAEzkMGoilhhM9kCABmz6OV5BiUJZvJ1QULYIfNFgETARcF8mZVo6\nQBJyECflMkvHasr1ReU6ImgDIIrSHCbxiEiljdc/PRgcKe3iPVGvS8A0M211\n+p34a9zgiiM3074oMONVfqlmT5Nh3hA8XXFYYz+nriaVmaObSIZNqnKHKaXc\nOXLKavjthL1oBJFdkmvinhBvaRrnHda8vuTFeB914p0UinxeGPcVG5/WN+v/\n6QctXzEw2/FTLzwJruA6aIO9JEUtIkaTgby1X2Ntq3ebh1aIgNr8VvsGo0Ey\nk0fXy+qKUg688X7B0wt88CrFXS6Iq8DZLvIPAwmPoDh65BZLzaRq3siAJwJT\nydANdyxzXOkQ4mB7YZ62KxWTJTQU02algWT8+UcnnoEsnL9evEHUZqcI42pW\nf8DJt8L7mWmw8r1OLX5Pdd0Bps0SZNZ5BpErTTN83sozbRxDaldfZ3XkzIJT\n6f84SneY4HzXW1i7o2VD/XMJK37VvjfMLYYX86GBttms9R7fqOv00h4DCmed\nrYVoGBbqN7tkhRw+rZ8JZHaLN55ppBMK3n1edtq9eo6wNnAFGZThdAJZH0om\nbUP5HnncRy5p92ntpxvtug6BHZv516kdVZjToxHBRceLQWQsCVsedpcfVIxb\nPPeP\r\n=qcoV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhjh1+j0i3OJykEBdI18T3ulr9eKt5g8TkVlUjkjm87QIgY0GtGTQLZlW1ysYdc72e6esJ8Q6XzVfPHAiX0aLQa/g="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_0.0.2_1560190116134_0.5891989202310137"},"_hasShrinkwrap":false},"0.0.3":{"name":"elm-debug-transformer","version":"0.0.3","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"mocha","build":"webpack","prepublish":"yarn run test && yarn run build"},"devDependencies":{"lodash":"^4.17.11","pegjs":"^0.10.0","@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","mocha":"^6.1.4","pegjs-loader":"^0.5.4","prettier":"^1.18.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"gitHead":"063855f114eb8ac3772afa09b32808b67a43e469","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@0.0.3","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-qQamMRsa6olyqunRAIL9At4JZXTJxdtSnl+moG7CUdVa6nzmNZY3Lb8rSEgHmbhLiIjkLXZVtECxGKMak263rQ==","shasum":"9f667bd577b7fd2f5fe185b64fc122761a24d4c7","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-0.0.3.tgz","fileCount":4,"unpackedSize":670943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/sfoCRA9TVsSAnZWagAAQXkP/ijToFx50GVBydyFRbBf\nMrSt/P6BDmHhtv7hlzhrIM3I99PUppZitKA+Q0zgmJVA3VVIGwjuIJsqYn3E\nr3LaY0XnLOLks9Tc6rf+JbrurxAHQj6UnAFwJGfAYb/cdcXAjMXPLsmW0JsQ\n4+nqVHfoFAs46IfzcGrn0yqgbz/6Gk/AMmafYjunrdSjFQlz8/EU3KCxnkRL\n8Koy3lEXQtFZOtNAbfD1fxKXjaBNmXyYFoTNMSj46lFsKoxMUBudvM1IODyZ\nTKZMwxWSoYr7qxgsk+U1IPlgocDPkvCupfFkwJwMxd3Lhun2UBaf+R5erPWn\nA+gY/1UezERvv1lzYX1FxUMkL4wR0PvCZedCk07g86lf1b6iEpHyz1eZPThk\n/HwaLYES78QKRaWdPwbgCCQ6rrQcu8gwAFtIrES7n6BjX3bbe4zNTXHJZyBq\nygaZCBr7fOeIf6aRgdE25pwuKcOkuYYJQZztuDtLxVwgWKdaDfwJBE0P6stk\njzRgJo1VoXXjNCypqbNeM4T7w3IhSEBUpb29GmhADYBUUsjbW9c+/EdavK0o\n1fG5YBQYCxOQMV9kUckM8SidaUO2XiqJX5LDvBBK8pSeadgfLVBK8sKgSf24\nGCQMjo6zYgB0cx6XBAvSHIBVeFvEfLrTfDWITLUTTJOJYHfmWZUIu3l3JfXz\nRMDn\r\n=z4vO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGyKVy9tz8e4InCqpcAUsJdTOn4v68Snej9MZsY1RWzZAiAv4QYETVUNZt8KWCKvS7fYPQnCzx1CNzNar3UHVsuk0Q=="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_0.0.3_1560201191787_0.21930515706503728"},"_hasShrinkwrap":false},"0.0.4":{"name":"elm-debug-transformer","version":"0.0.4","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"mocha","build":"webpack","prepublish":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","terser-webpack-plugin":"^1.3.0","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"gitHead":"97d7d7fc906026059f322e5bc274250a32a7a456","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@0.0.4","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-Y4mof229F+oGjYrS4aW1vsL5QwZdvLTe+UETeA9FdhDxnZY8qqq2LZ1Nd7hmFhDMWydQ+oMtaR0aRAF07hvumQ==","shasum":"00f2df3506648fcc40a306d8826b86249fa0f342","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-0.0.4.tgz","fileCount":4,"unpackedSize":107303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/5YJCRA9TVsSAnZWagAARAcP/17oZeoGaiEl991Sro8u\nYY9PdA8Ke8dHNr3iP4godeVH4hkEk6zvYMRlPrrn2rFxlXBFBu+WauscvwMx\n7L9FGU6AXXlRHnW/4vh9ogscBo3jLaJMP/ZqOWUpTtXCO3o2Sem2zw+unLO9\nl8rehtlAcxFBQfVyH9kO4KGqjmKdab3tCywz1rXbi2E1AME9DjD2AVb4Zr9R\n8NurlWArV2rxKrbFSv22+lUcIlL6WBe3J7EzayA0WArfQZRpKQWYZxynPQ5f\niT6A8oxjNmMiJGMtMxc0n8Sdm8UJQ816Fix0YPolaSGpk8Dw9RtSW8r7gZ8a\nlYNKRxkeSa6AeST1cDnCBc+NcVE00p4lKKNKLn5JReVkzIUy4BAdJQGt5Afo\nNZZ0NFiJnoIVstDVUJuy7Qqm9tmqdSyIxEi5xH9GezyYgWu5f4jtOyzzeRTU\nzaTT8wTBcE1SZu/EMohAv099ILFPi6BDtzdOIGZtwedGZgngmoL2mjac9iiV\npx3AuPS2p4g6OsBAt9Puc3gyA8bNscB1oDJOe9xeE66Lbwg9spzsqo7+UIyX\nKLLJqfFhJDs2aYMl7QowoS4XsA15c7GVl3ly1IaWHHWS6pBt9uvTzVZ6OmOV\nbBuFFscwJI7XFmkb0KvdQZfA94V3gDKrSE/BelW1631zKGjOTqLDizFByNmn\najko\r\n=Bl6p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQQSrr7RKN/SdeXS7ibqzEggORE5fDasuKJ/ksa87f7AIhAPuvG1zbGgwrHm/p4a6uB+69LFFPOt2YT7Pjkwt8NqZw"}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_0.0.4_1560253960669_0.8908232430021539"},"_hasShrinkwrap":false},"0.0.5":{"name":"elm-debug-transformer","version":"0.0.5","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"mocha","build":"webpack","prepublish":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","terser-webpack-plugin":"^1.3.0","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"gitHead":"4263180086fd1e0ddda86e1da63fd2cadb6940ec","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@0.0.5","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-WosxeVsyh1yeQgLDhzwwv0inyKxHclYnaSDgXdPdKbyED8s+XSrVWCwySzyF9tyawOq1B3N5VDowCh8kzd7xbw==","shasum":"1e989899b1ba497cc075fbc6c1701eeb3324632a","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-0.0.5.tgz","fileCount":4,"unpackedSize":108354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAOzYCRA9TVsSAnZWagAAvLQP/Rzb6l93OOc7bFbpeYdi\n9UakzAfi3B8FAAmPwFk50CgNOHl7kSO4O+H1ZFB8W0WPRvIgkHQgEn5F3IsI\ntGUQtUYHCZNO41/0CUvoDXfqZMZgYYKYb0OTH2l66a+vKhGZjSYnW2str7PW\nsSkxqbRoxt+ns8JXJ3zIFviSZgpJB5VdQF+j7UzIh+IdvORDc5TGQ/L7LHuB\nNhgAwOb/tb1oM43JC8bGzvAE9sNdLTPdMUXn+WsJRVb3c08cj07dZW75U3vb\neJEQ0iZIWgfd5+MFhxz2s9pnG+yj3dBGPjj1orVTDdeDetR0oexjNV8qvHS3\nRc5Pc842PZaq3GmS/XOzYIwSywm6VUf8ZjnCcQ1qQ0Zg3S7buswdf/V0y8JA\nS8i66lhyIwgrEhgF9a03sTzLxD8JkF/xKj054JQfP7ASXyeGJucbwRH+BFgS\nTwNk8jxHOVYPNZ6eAvZfZWEHQU3M35ipLgSyhnPNNmknoANMdLBbDnK06qwz\nEVcq5TcwcjoWZPRY8UJ3cZWAB5VXKSQe87Vbt26ZWK1GbRS3EsEsjCxVAb19\nUpykKb9ru948BYW6yw3uPPzzHLcDM0GJUKtwjFHixse8toAf8ijOFwDDa6r/\nFE4vmjy8KnlnwUsIcg935WnAIAR0hjxmN4Aya8fpEe9idGLfLOmt1fdZ7nUc\nOzhB\r\n=OrL5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSgwi52oYxotxotwOc6Wzs6dtC/BWdgUoikTr4AppUtAiA5M3Pz2OXHZVspgsXCJnMDjNavUYggRnFzNB29JfRcXw=="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_0.0.5_1560341719529_0.3084848128153759"},"_hasShrinkwrap":false},"0.0.6":{"name":"elm-debug-transformer","version":"0.0.6","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"mocha","build":"webpack","prepublish":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","terser-webpack-plugin":"^1.3.0","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"gitHead":"18956d9c444b3dd6e8072b1bd0da3f0dab89c0b7","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@0.0.6","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ksJyYWlLgrNrAF9MhtmWUxlSpJ/xnx3kcTgidRA9lIXPD3PTLzNj60S8ZbIjuNZLpPSyjGpAKDRIOil8660Txw==","shasum":"c84b71273d0ae15c1c0f2e9b3ae3a27504f7d5e3","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-0.0.6.tgz","fileCount":4,"unpackedSize":110984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdArUKCRA9TVsSAnZWagAAPNEP/jeRlb/uPHSBQnXTPCEX\n59EY9jeinkyHExk2VEvTsBgEvXJY0UfXw7ckR4szlnBPg6Q7niZ/qUIpXN8e\nRLUJ267iLgGO/n8Lf/0n4FLEb/M5cWxNuaxqUpyHsPtGBaQcZEKAtJYBbtc3\nHhqr5FDR2Yae/00T+bb5cbwQLVnvTHHdnOjuZV9zLXcovjzIN29CoJqPgM8n\nMdRJga1etC0PijZu/WDxtSBCUu4zWqnMiaWheuDbCbVaGUSVy7daAIbtMxAX\nDVr1UnR29fp12+Q2jFneTFYdzQrwlrDep2woBANiY1H+q08TbJfzPzR8Zktn\nnn8zWRENTMNdYEjcOqQv+IQ94T/cnWDe98Ur1BHNvYcSksdMAt5vtHVe6dO2\nEujDGQXc7K+cXsVzg+acHioEVg6VEtx6HzzY1iV+xi67hFu2vi9BsGUNdju9\n9IN57uqZ2sUo3bbLMQS96rh17vN3gZ66Su+xDSYHo69xby/XbkCSXuwBp30c\nfvuNMhtE1y4uMpwuC0NdZcbfLjJ42NkDmCS9ifK481ugW/n+XpT08YqohJXG\nHwz51f2UmoVqh8Te6BQ0wlwfqEbhymGOL2nUboozMIn97IdrxF7FoY1UgIsA\n3M7qOxgGAx+iJvOmbVHqMmdRsAwfsrsJ1TWrDxtjtR10/CllvGPP3Q/zXGJF\ni3tg\r\n=4S3C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDm6Ek5GG779u+yOvPJVSDQ/Q3MKh+PMRAdNCRZd5zLyQIhAMI7LQxM5F/C7iBMXEVsqYD9DnnyGp5sDjkxzzpzxCkG"}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_0.0.6_1560458505544_0.814122390472966"},"_hasShrinkwrap":false},"0.0.7":{"name":"elm-debug-transformer","version":"0.0.7","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"mocha","build":"webpack","prepublish":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","terser-webpack-plugin":"^1.3.0","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"gitHead":"d9c25acc6e118f6ddbbcb80a50c21b2f92bb4562","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@0.0.7","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-UNCe7PHSLOf9DPAsBboMK3glGVXe8ORVOFf0lRqMpWKX8isR5TSHoX0UkIdhDBk8MMvx5uQgS8zNGq1ekWt2Sw==","shasum":"38d34a8828c103ef0207d06f057bdd3cd3008f6e","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-0.0.7.tgz","fileCount":4,"unpackedSize":111487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFJZwCRA9TVsSAnZWagAAOYkP/0zAHvsBtHckrp6Z6O7Y\n8yYWAz0MJTIL92TReu4BmFTBRjwWmp7MVzR2J3tfuYpwtcPUPtkeqHtq59wH\nOruvTMZu6rH5itJ3V4SpV3BBYqa2/dBCTJLP6XlI13jYM8HElXeRe+BXlVsU\nAM6t+gSxZdlfXqjVa35Ki2mzaZ6Ya1D0Psgv6cXyVEnNmSzDvfgNO0If8WF9\nslsToF0OMuxnlTrL8gQWrxq9u1Gf5FbeO7fHkFLuZqSvHrRmuHfCUW7bcBji\nF15Hfo1Wl79MNl/pbBv3vuoXecYa3Ch+I7PWdURI/4aM1tkAziOAaTC667FB\nxmUGl8Wysdx6P1TR0sNQ0M3c8Xi7KQ4CzAxm5Lwu9bpBMMxL54gXOLvXfzjj\nIalxKTm+S11drvemmHFqHDImupdsJ4eKdUtgrPnIyYFweryzhR5S/34qguiy\nrt/E6fvMj33amjy2++rl10PndRscJg/LHI1zCZrA+LUCE/klbb5ezfAYOv1o\nrFRQRhiM31v3HcK91N2838KbSbWLnSmvgq1r/Fy+njTEIarTW7b3gGwToKc5\nlwMrO6ofbqZaIYflNoyiYbn4AEJq/GKz9SA4FsBOA/OY/MXKwZHkE0Q+K1o/\ne20eJ/NPGxCobziv1NZVH6G/EwiBkivMeIj9a+SkxCUxY3Yabi8d5OmJsfEm\n5NBA\r\n=hXvt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV/hY/HWpWdUQPDqKTTEWk2KMqmdfnrKdeL7CODvhpxQIhAIP+8tU/0L4+Wvy4SLW3OiFowxCAyk4nDNyytz1/CdPZ"}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_0.0.7_1561630319083_0.2453739448866361"},"_hasShrinkwrap":false},"1.0.0":{"name":"elm-debug-transformer","version":"1.0.0","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"dependencies":{"@types/pegjs":"^0.10.1"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with:\n\n```\nyarn add -D elm-debug-transformer\n```\n\n## Usage\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\n### Simple object output\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true});\n```\n\nIf you are not a fan of Chromium based browser you can pass option to the `register` function. \n```\nregister({simple_mode: true});\n``` \n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"4dbf13c89645370a9d93820e93c75490cf9a1808","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.0","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-S9liUoNnj0LHPEXth+8bBwEOSrqRPxuUm+c6rkbRycJdCC0COK6keBzv1CsYRGW1bY0v4v6gj0+6MMKexGIxJQ==","shasum":"3964b7791a18a4cd7fa8684334778a1ee2daa115","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.0.tgz","fileCount":4,"unpackedSize":904275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFiAjCRA9TVsSAnZWagAACHYP/ReJoQfij+/9wPA5YqsT\nCmLO9mEIPo8Ai1SXhwbts8JUeS5gHtHTxtG3EDr3XR1Oro2guToQ5V5qJDqA\nMPjDRKV84zyrdj2XC1ScPNAHzkgHKhSxsonGn2byeElUsXIVdAJmxM9PRkg0\n/GCSkeYdQclk5Za96Q7gKqqAFTuntulALZTbW2ctaxriIZm4jtI3coVu/U6U\n7Hihs7PzCph3MYaVDyh6Eea4qbBIoJ271S0jdSt/Aob7lJ5HvZCujM2nqjIW\njnOSLtertUqIcEL3E78tlvZBKXzX2BzM3CwerSIk1Vf5BTJwjBIDJCBUUWXP\nYbjjzLBA8q7Nq79T5D7T0IoqKAJ1LbJKRjkdFifKrjs3du1govGuSSk7DrPi\nYhklF970+Gcfx+vAFAQ5+PfFN7WYnUzDq4ad2GWkkhtt+hxwXosEUzxOEOKm\nblYi9ClISs2SJtPhFq7bUV+4pBsxIJoUCUwikyLKBGrlamoMY3SYfaH1qG6S\nxsw7ywtJgC1LU0bbrru8HWOOB1NWP7g9fCSdjLkWMuMcCmj7x65y4mGDHKTe\n1cwp9i8P0zOeeO6WxmY4B5UkLemd1iL8H7eylzx85GG6rIdaLlZes3MODQyI\nMtVWoqWDoOdJ34VXXTu2JHXLQhJNz2GJAWshDBL5VedjyYnk+8WaQD2ZwwX4\n+3vF\r\n=xZpX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtU6R63VUiNVCs6Nr/2Zftln3nitCgrA4pugAY6xsmAAIgTI7X/pl6GqlRmav0Jano9kFe9JQWS+34MIcHCXw720I="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.0_1561731106797_0.5301693390895554"},"_hasShrinkwrap":false},"1.0.0-rc2":{"name":"elm-debug-transformer","version":"1.0.0-rc2","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts --cache src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"dependencies":{"@types/pegjs":"^0.10.1"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\n### Simple object output\n\nThe register function should recognize whether it can use Custom formatters or not. In the latter case it would use Simple fromat mode automatically. But you can force the `simple_mode` by enabling it explicitly:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true});\n```\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"d58953e0b31f84279850bc4e6900d22310eeab48","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.0-rc2","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-Yn4H8jXG+EqLhrEoZoNEsj+Zrp3IR4B4JnZ8k0veV72894Nw6RiPc6Pd7r1uAuzrvdeZAoIYlPmzpuNG5qOIJw==","shasum":"2d3aa3c74e5367753610d18ec29163f5a0efe744","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.0-rc2.tgz","fileCount":4,"unpackedSize":109691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIkOlCRA9TVsSAnZWagAA4ggP/i7/c/JeHRebIaVYPAaj\nKORF3nonQ3AaXi8LScnnUSSkeZOXe9xPhHHAiN9vpl5L0GZKPE2qQcR17osf\nNYaihA6RIdc+onV7BEvp8yCoJgGttqxWgc5R0AEe4+6gfAczjj5V1DA7PtXb\n1ow5V29IqHUr2dqjcb+cskYn7FIASA1amNqQS00fjh5VneTmIb1PTdZdpAkP\nGeZebAg+Ql1P4Wu07YR7c9fGCOm/YFKgJA9ldZzKwa09MkYuuXuxAs7rNXyZ\nuNIAgKE54BWPSwGA1C8iNQ7KkwkMr/8C7NB4rjZW5IsVk0hdZkqpGxgD5d/u\ne1G8n6v4uAPO7jhSyyBItS2nhzmdLUsX2hc6+Y6PFJColYndZjz7C2NvsvTU\nX0xgLvZxPRyHeXgeQs+Uu3SUxPeiP6GxNS/u9C5mNHpU9BpZ30r0AYboJmI/\n88DGtLr/zEj1JpqvFE2Rrh6o8vtWTI6IAMrl9bkdL7/TqRksn8o2H2kZYoNB\nna004Xwe5QeUif0/RnywYvHIC2F/g9INkZ3K0PVrcZwsmIRIdZdregJKu0V/\n25PN6f5JeJLgCj4vGU57untB6Yg69uh1QA25/B9lOFrKMSLgFeyhjiDBkxNB\nSMiR0y1kOMj95L288/X8d5BQaN37ZKOMtgJZp5D5HTvOJFhJm4ujnchKCF/d\nogvQ\r\n=LtR0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIATWqZPJtJmYvxFsEOk19QrC0aiFz9P12H9MJ+1SvDGAAiEAp53kLlmsr9ua29tFi/MhnShghcvMd9UQMgS3pN+XqOg="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.0-rc2_1562526629196_0.5678428693210957"},"_hasShrinkwrap":false},"1.0.0-rc3":{"name":"elm-debug-transformer","version":"1.0.0-rc3","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts --cache src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\n### Simple object output\n\nThe register function should recognize whether it can use Custom formatters or not. In the latter case it would use Simple fromat mode automatically. But you can force the `simple_mode` by enabling it explicitly:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true});\n```\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"dbaea24c89bbaaeb5199ecb4989af76996df3999","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.0-rc3","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ar4o+omeVtIY1iZzyhBEK7AqFPaR8VTNoJo75Y8v1gPILkXWgg52XrgySrR198SLAqp8FuVns/2e4vNCAb0IYw==","shasum":"97c231f0135bdc06b9f71f614df99b8f4b21cb62","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.0-rc3.tgz","fileCount":4,"unpackedSize":109637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJEs0CRA9TVsSAnZWagAASr0P/0sV0prfjnzm1WOf8UcW\nps+IhXAiXZBxJofaV7suTz3ZJJwz/vGYXywB+J3rLVfU70rWAYnUnx3Vf3xy\n8kQTCCDOr45NkkwvZ+gdcWitnIIARNi3r+1d/3vB31nfqwW20vziESPHp41u\n2R3W6Q/Uq8zqL32YH24byIOmIFPeYQx+r+Yg6LShh953zQeldccDTLZeaTqD\nl+VkCUQuUqGKeQmzxsmJrgEz2WRaYZKq6BnBI4d2mDfVaA7sVDTphyHPQLkF\ncqkXEfR+kkEekl9XIJmHIoiHA97rdC2YzMK8x+DZ8SUsUkhdb6k/Dd4C/t4z\n0J8FqjY+eZhxcxwmHj92SHBv52hT/P8jq/vRZnun6XLaxSXImsEuCLx8agAC\n7p91up3x92lqqi29Y1LiykRsZ4PZ+sUawbqId70Mo8+BzU3R8SwT6WCYklnG\nvExt5gyiqRX2aglo+wlu6eCrYkiGr+ld8Mr43OfAuL2ufMJcYEG2CycYLNh4\n2WiMNUCzrS8B8u7nFy4dDtNDsl8I6azpQXF+i7MV/a4q280WdC2UXK3+Tvsy\nXBrBKfWhgzzVA1swTft5zudX6uCe97pA+6z6j22VAjTaGhAMRISvcDGypfa7\njiO5bQhBO28YUVDynmdL4M+T4id615s8ben7gXaWG8YtoO4kYol3kGyB2jiz\nQve7\r\n=kCGB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVYNl0YYph7q35mKum/QM2lZ/pyS2/A1lkDj8VOmzoaAiAuAEKcncFp8LOviNbUNbTlVZQGM/T5APYEA55eStL8Rw=="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.0-rc3_1562659635878_0.9802819725777041"},"_hasShrinkwrap":false},"1.0.0-rc4":{"name":"elm-debug-transformer","version":"1.0.0-rc4","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\n### Simple object output\n\nThe register function should recognize whether it can use Custom formatters or not. In the latter case it would use Simple fromat mode automatically. But you can force the `simple_mode` by enabling it explicitly:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true});\n```\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"70dabf6ca9c712192c56ac58ec8ec7895d176df4","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.0-rc4","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ZD2sHCV+IctzxuwlAtiK+7qX6dbUJ5K3MTsuWdEV6IH2u7Hw4kOwvEOdRkc4R88/81GlpBvE8K2p0WMqOyZswQ==","shasum":"1ef24959a95c7b2de23e2ac983128abd81060ccc","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.0-rc4.tgz","fileCount":4,"unpackedSize":108216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQ+RaCRA9TVsSAnZWagAAmiwP+QHrabIEiSaj0hxaAvjT\nUBtNkjL1fadBHRXuXbYgto4Hljvp/3nkBVa5fEVMAje62Z8apZjsRImQlXbw\n/p5n4KStJ5TyXgXssuZw6hgIeajpLan3IKRC18RNOl7xdkeSMFdYMx80Ip+z\nrsLvGzH9COChNKSoHtbb6fRfrWxmaEVtUa2iOfo8eYwGp5Y0UqqGKpYRdyaz\n/kpAEP2/PfZa/OQa9DAx5GC3HQm4DuVcDEhO9GDn88pXFQwrcKYAY8Ei13R9\nukBSsGZdAUsqY/MAmlRjI3bjfy5KkZYPFwRVYyO7U08bgtZZLRcXsgQ3jop3\nIoqiZ3Qij80jCimVBKlwry4ri3PhI6beEhSjZoLK525KSTvnro67rBkhOqrG\nJ8J97qJSbGSuNEPCMcT6tBGjAB3Xf+KKoiwp4iTRT4fl2oW7E8mBM6t2tNf9\nGekqsqtKVqF7GGcbnH2+ffEfbjI+TvsIYpEWB8EDP4bEDDy0hk2MNxbnIaK3\n7xzTGM/E7Y6PzV9Hoom/nWeyK55QLRHNFVokXRIvXg4J6Tb1sCWVJ8JxTk+w\nye0I97uTdanA8+aRbEm6g4z0dwp8PnnMHr8JEEzHl0ik9/CItTj1lhhSOVMV\njA6KyZ1VDhxkNAjmi2KoBFJdWXW3YLj2p0e538APFT1HWZk8xmw9eIOvwbpG\n+eZW\r\n=nySL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbHV0jw/jwFPv8i9csTbFmub63vB+15TPXz+yo5Rl1hAiEA3lH5g2PMuzX9W3ymvYoWZQUye3maQPysVZsYqMm5cWg="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.0-rc4_1564730457811_0.24349622739735155"},"_hasShrinkwrap":false},"1.0.0-rc5":{"name":"elm-debug-transformer","version":"1.0.0-rc5","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.11","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n### Options\nOptions object can be provided to `register` function:\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true, debug: false, limit: 10000});\n`\n\n| parameter   | type    | description                                                | default value |\n|-------------|---------|------------------------------------------------------------|---------------:|\n| `limit`       | number  | number of message characters after which the parser won't parse the message. (Helpful for bypass the parsing of large datastructures)                                  | `100 000`       |\n| `debug`       | limit   | include original message and parser error with the message | `false`         |\n| `simple_mode` | boolean | force output to be in simple object format                 | `false`         |\n\n\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"4cd62f72e5673d7c84361e063d7ab66962b56830","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.0-rc5","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-VcNoVkVTNDuN307QDqPZSIZMoFtXbG1WkUEnmjvBAmmrDn7G2JRM7XIHTozqRpAG8fT3f9a/KZpIJtqUeyVFTw==","shasum":"578b6a4f0fd94530c0342e9a4cf51bbbac21c7e5","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.0-rc5.tgz","fileCount":4,"unpackedSize":108767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQ/KXCRA9TVsSAnZWagAAq2kP/0VwCnizbNM/H9h8e+s4\nNpGvFsvKpR1j7O8BYS2yE9WuFfMWsSyEjEbNkRTqKXcEUzwgl3tZUPsvil63\n36osJy/VnwP4vm9m/VDbpUEXPlRNT4vLTijk9a4nwKuGS9KQ4uZYLBLG14Df\n8HLJ/WH8SK/hcDq/VSJGP61xIGVrB+rwARkDKHcMjQSm87W2pyApqZwlOod/\nImICk4D1cg//2yWP2q+8VHMYmIcuAdJlACPutFTQivtTBayk8iCJMxynZPEB\n3GC+gDNjTWoYkGedbSYQAxip650+xhniEFi6erouCpZiBvBXGw4AI2zXbMW3\npu4t4+q9ocD8CaKI3kbq63AsCGW9KaLNj6GX/a3hxtW9aUlen98sRiyM0au1\nuTtqYKBmDeIvFvd07Qf80Gox/+DB1tIV3Ghxf2E689NhG352xmdv88xXnEF8\nC4D2kY8990h2JI+iRHsY9p4nIbQQ9Z1y9XLwXILJwpBM58i7AsriGJ8kxFHY\ngH1WKZ6q3gz5e0ygLGxf8x1ZBypL4JKP1fo2hOt5wEqazNyek8BNg6tX/lAm\nI2/vN+OI8uJFy1qPaYLjZdBPdnBS3mfuxTSk9Zt+6BE5FYYhbxpL+Gg1ZQMA\n6oPo6LslYCW0UhQmDUFzCOV41IqpszttzPdPrA1c9fW3EXrLIuxw9e2fXNoj\ny49b\r\n=p+iD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTvy4PuRZXiwYzyCnGWGLVvaWFvNv7ncD9DyNvIz8MsAIgDEtGMdmuUhX0gyP2Da/ySLdqubCySt9kBYEB0UWYnLE="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.0-rc5_1564734102488_0.521833512465486"},"_hasShrinkwrap":false},"1.0.1":{"name":"elm-debug-transformer","version":"1.0.1","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"bc77930dd9a60947c4ff6b3e47e0b8b4c443eed4","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.1","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-eN8C47Hrdk2b70iIzRP8V4Mrh5spmh5m7GTo/Ls1/hszPNDOW/7gLoPdtVJohKeP3/wc2lS8482cF7RjWuesfA==","shasum":"9c5f22d3048bb6c38230cd950ddd38875e2b2258","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.1.tgz","fileCount":4,"unpackedSize":109171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb8fECRA9TVsSAnZWagAATrEP/0LNYrt5bTRinvaic1hb\nY25aFJNYmk+ZpX9YScQ1fO30ZKdcISrDwy9aO+H/9QWRPMPR7vaWJMopCdyN\nLFCzdyqp5ipnWURsB6WH+P/1LcYJbDiYc4B/RInzQa3tl7Igu7xtKd+PPqVN\nDuMYxjNJ3M9Nbw/ZQKyDSkJrV8aR/DdxyhGcFCpWDgLzd7U4WajGdFS1MlfQ\nyc73Np9KzyLj2flAeUyv8+982+81Gn/dSTG5IhmKhVuX/UKiIKjnxp3eOeCC\nyxjyObGMSudxe0spavtFvzDBAKYMCrvX/PI6rlCD4lsbp8FR2qtOopacMx//\nDwVV1Ef8mtZADFJ+cZoeQ298ViUmQVDKOhxY8qtG+ylkdzMWtxawacqx0i4P\n7emXNrEu+ZOHx26ziAs4avzW/TJEMmBbExLpLToLwul3Sg1SAzhGvc/ZU7h4\n+vLIt8laTfITIwJBo0sg8mdzP3QQt+Sgjq459RuN8mXA7yRCjEL8zDyff2xW\nD2pF1zQtx8AtTg7i2MS+7v0vDmtilBZynyjaVKSqZRA1l7YMeutrNGcvMDIX\nOvPJsr5YTWrgiqCd9/RbFR/j5L7jBl+X/7U2+JH+/GjSL+/A+hMYE06/dtVE\nuSbuRIZ0ObkRR2EfxRZgneELRBbkxhLAsVKFBiS7apY2etmBbmGMxalz5isB\nSdQz\r\n=ibwI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFz1Bhj2a1tBwyhyci9jvjNDOqVhmnRICUNyQi7dZTWAAiEAs6aVd8ez7JmJq2+fXlpdn0PF9fuhDl33WR2tPio/KgQ="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.1_1567606724163_0.4157720024530367"},"_hasShrinkwrap":false},"1.0.2":{"name":"elm-debug-transformer","version":"1.0.2","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n### Options\nOptions object can be provided to `register` function:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true, debug: false, limit: 10000});\n```\n\n| parameter     | type    | description                                                                                                                               | default value   |\n|---------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------|----------------:|\n| `limit`       | number  | number of message characters after which the parser won't parse the message. (Helpful for bypass the parsing of large datastructures)     | `1 000 000`     |\n| `debug`       | boolean | include original message and parser error with the message                                                                                | `false`         |\n| `simple_mode` | boolean | force output to be in simple object format                                                                                                | `false`         |\n\n\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"537a93f35ced41de2af14a83f7d9e29a6c62852f","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.2","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-PL50yHRY3uB27YI4dYIbQ6MEroB9/ZfGa3R3DAaFZfWp/4u/QKAzM8IP5yln1Z0aFXnraIgkTaX/xzmxgOlIaw==","shasum":"37c6675d9377bd32e05f0bc1d95d97de5f958c03","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.2.tgz","fileCount":4,"unpackedSize":109233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpL+sCRA9TVsSAnZWagAAo+cQAJMjQzYvgFC6DPWUnJ2u\nQsVdFHaqQFUKDwDVxnkiExSFCCeh0YGohsG6diijq9L9Gqw6qw9YL3oCM6Nf\n8itaDY94KryxJIZiWHE/kViKBajHK1s/Pmiz7pbb3LYqrm961Q2FungZXGdZ\n2fKKfgR6G1Sjq2FnuzaLLnqqX1R9gjFsekWxPmP6u1MFCXupA7wvPT1Wts+l\nPe4zuWhKJGVoHeuJG99BloNzzvEZDcrEleBaYVk8jrNjiLNh7eWaM1D5P5Sb\nbcxHCt4EGgNQfb7A4bz8MCxk1y/jzjeiEOSO4o0qkCzUpwMcNc4YNsxkDfpj\npFB3Ygmk1o8e2hqN42oHhnSr3N/EWXXFg3th99AYNAZUK+JvJnynjYFbgszl\nzM5CVyw2sM7Q1ZFAG84uxMRKgLEdgSqV2BT+3cm7Teyp+KZzK1fPDwmqR3kF\n97qchUztsJJlcycgxOm7Gv99Lp1li5NkWIUfA/wiOO5WMZXomOraT/jy0YP4\nlTfMgSbmUdnMHEV4UidxfBi1krtGzrK9kf7QzFvc7uGlUrAoJ5SyplpofrTU\nLQNpR8AcQ4MPFAT7+GRULC00W9L47kx3k1YrcOcxAW3cApqA6v3gxSZk+AgB\nM3SV1//BeDQ1neUnu/F9SaQFQu/oaFbeuncvKQDP2QDPKRXarZbMu8jEz3UX\nnAsH\r\n=zClH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHT9dKhtaItXw/hUQCRO1FFcwioj/q7BPFa8CbU75jKwAiEAn/4/tWrj657JXTSisfqUmWob/536wH/S+ZS6ErEY8Nw="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.2_1571078060157_0.9069173090910359"},"_hasShrinkwrap":false},"1.1.0-dev":{"name":"elm-debug-transformer","version":"1.1.0-dev","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","test:watch":"yarn test --watch","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n### Options\nOptions object can be provided to `register` function:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true, debug: false, limit: 10000});\n```\n\n| parameter     | type    | description                                                                                                                               | default value   |\n|---------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------|----------------:|\n| `limit`       | number  | number of message characters after which the parser won't parse the message. (Helpful for bypass the parsing of large datastructures)     | `1 000 000`     |\n| `debug`       | boolean | include original message and parser error with the message                                                                                | `false`         |\n| `simple_mode` | boolean | force output to be in simple object format                                                                                                | `false`         |\n\n\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"c088ae8910efa05dec75b92133fe74d6c35e446e","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.1.0-dev","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-zS9BdGKOKbKHwz7ivGtlQppMCeWIkBG1cOgYRoKw9fp6p+r2BKxqeKYYvoFf88aeXMZp+rWwKwnIZMxKP/ygEA==","shasum":"75e95c5df9aa507ab46c7c5402f4583352288a51","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.1.0-dev.tgz","fileCount":4,"unpackedSize":109442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqd5oCRA9TVsSAnZWagAA1f0P/izQJZKQ/vdLAxIgMIa6\nkJ73TghYUm+iLshjIBuqcu/OcXGk+BNg0bRICNo0IcPkFL66KX8O/o0hYyHf\nOmwj5JYaCC8TALACFm2B7dA/p4p9Hn0TxYXu1nWZBvQpxSTpryRfNMt3Sb9s\n9BgGhTNooYg1dgVvyDwmzQWyrOcaxb1OKkAv2xO7/6IaC9a7frOoBKv06m3e\nUKmW+PfaSlhhWMp4lOfgEVcWJOxckyRWxXG6aIOUmEGBQfZFXLwhWotD0Ybw\nZgbny9koX+0UWMECZg0ojNYsQT5yNKjw6wJzyUYSu/36EVGIkfCFjz9uBm/q\nMtf+csKM6Gm1hMXZ0vWfdbi8jcKyTWxXCnsfkYm1D5OgiYRgNtNYzi1FEDmM\nOHEDign9/sDSmrwpEIUrgR9SyvvygGiHilTRaARMzbMUtYQ/6JN7J4gl67vo\nukDyP4mELCwu2xw5Pgbk/hdTpLlsJkzRSK7tFxRmwho/+Yi5EdTehYjDeprf\nG6uaSkni9sPSwNCHAqMyxxxFFkwE+lVS4zhVa9Hh8n+CDtdsgZHqf0FYc/Hv\ns5EsXGUmSSaAyMWpxQDl/vnn9jde+KFl18UuzABUuxA23/2hEXjJOWb5Hu3Y\nZ+eQO8ftG9xR0rQFrnZN+9YgB2H7giHqYaXz8JJEAWYl4Jr7jr4Gqxu92iFc\nLH4X\r\n=UOuo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADAUESU+LQEnXMUe83k+7XmhSNFbONklapCPNODp8PMAiEA7xELSFNJnY6YnIQO6yODjwEdh7PeuH+W60R5hSKH7KE="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.1.0-dev_1571413607215_0.7047609892861253"},"_hasShrinkwrap":false},"1.0.3":{"name":"elm-debug-transformer","version":"1.0.3","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n### Options\nOptions object can be provided to `register` function:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true, debug: false, limit: 10000});\n```\n\n| parameter     | type    | description                                                                                                                               | default value   |\n|---------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------|----------------:|\n| `limit`       | number  | number of message characters after which the parser won't parse the message. (Helpful for bypass the parsing of large datastructures)     | `1 000 000`     |\n| `debug`       | boolean | include original message and parser error with the message                                                                                | `false`         |\n| `simple_mode` | boolean | force output to be in simple object format                                                                                                | `false`         |\n\n\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"537a93f35ced41de2af14a83f7d9e29a6c62852f","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.3","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-EbdU0v9uaKpDVuStF/uetgxToW4vktpiTuZVo+eKCWpYOMkRIpi4wMKsPp5w+7cLYb9F4xBo5mBuQ86CxiNk0Q==","shasum":"391507a7f72fd73f937437cfe9e217d0dca6a148","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.3.tgz","fileCount":4,"unpackedSize":109434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMvsGCRA9TVsSAnZWagAAZWMP/3WuMhbSLbQfucoA2kyf\nPqSkw+HDK7dF3U+aCBp/cXI5tqKSu5Mh+7hukmhUiwHECGMm2bE+y4I4L/YK\nSFEvn8s61VVS7rUxNUNU6WV3E06CrxmgmIoacMJEmoeo2N9iX4DeounwnEg2\n6jlManda+WT4dVHb1hl0aYCjYKLYShxK0aVV03lCCbFQgOgg6/3sHALCKz8K\nGJYiGYzPvVb2JPmp5H0T4ddTLTgL3NdAUjd6ug5QGZkHz8gRvViyseK16bvk\ngFM7vKbV7gbbdeQ3YTvCj7HxeJswGchPc468cPX+TssEaWAFngfggs+R1wT9\n3LvWQpnijIb7L0dYew0JfhVHXoMJd7NDWXEtFY4rVbw9w7oB8C+fd+nk64qe\nJ+jB0L0TCBEHm0DUdFbVvTPm9gPildYpQb2uxTG3dDO6LhZFI4iZ2skqUmac\nnd8NMSdNYCcMet+hEP6NinizYk3LhxQURRPkxmU4h3qTf0TqM2YwCG0nQdpQ\nE2tIiS+3eGOIas1Tx7eWSAI5uXeygsAGVj0gXlNelhxy1E0LvFB2JE2An4gR\nRPvdbykS7WfvmxFqO0RB1taqTMOCQfGAghh/jxIz18qaFdsa5zgZJvs2fq1L\ngHYmqnS7DVfW6WJNOCDlprglihBI01p0rxQsS9LFNqOaAB/VpMGNZIadSDGX\nLz1H\r\n=qzEV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp/2FlXfgNuYaiovRs3giTkyUFrFQFPwjkP3EN2+/vUwIhAMk6M+qD/iuZxEil7s46c+7q74rrhG/USI+HU5jGOE7T"}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.3_1580399366001_0.5918716545518097"},"_hasShrinkwrap":false},"1.0.4":{"name":"elm-debug-transformer","version":"1.0.4","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"5d30fb3a59ee4883c457fbfa9b1c346b0f6d9dc1","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.4","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Vhr7if7RggkVsHeJPtDu0TzY1nk+uXOJsWY3Tp9IKN0mviFbXS0vsiVHLEJwXmS/B7I6sCjKVulqe2Gne06rAg==","shasum":"fe5f9918bda808d01919a44403bfa98b60e3127c","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.4.tgz","fileCount":4,"unpackedSize":109434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMv3fCRA9TVsSAnZWagAAIhgQAI6nL92UY/84HB3g5N1O\nPPXOam4SEKxmtDxrggEbiwTVqMFsLToMekYmsE4rI/3DTWtbB6Lu9cSgCX/h\nM+nV7FUoamqo5VPqQ8pd3MMI5YrM8VtvfAL14jzIzAQpiNQk4F+B+QBx7j2G\nFIDTdPcDY9Id4zUmtX3eONVMQK9YcViE5QV9gkg5L7wxrl+2QntSIjxRHB9p\niK/rNWnWTLIE2lgaMj94qjpv324LRZpm2qmuFx0+0B7uh7eGQ8gUpSphIaYd\nzs4qBRtkhA1qONUwxCb9KbMvhiJ0BFNPTnShPYR4C5ZyuquCD1fLeLGhVTaA\naO9gAp3l9PXXCeTH9bpc9h0887+rsATq3TX1jTqUM4CPCMu+OoSMVjlJMWzB\npCJCriyW/APhy8RCldK9s8+rKeHAooTZQPvl6QeF1btUzJo1RjoMtAWEXSa0\nfd8EXcWKknOh8zjUQjDlm31XqPj+paeCiBDrKnBrf3xj5III12qJdl7QlOEv\nClnokZQHNiIrXYT03KjDro5UxG6KHw4pVuv3n4k0X13pPJWl5BVPuMDEMpca\nmNziew3V61dah/13hLNOzh3onL55ramh4G+3QkRuhaAsnAzhpCvjTg1lBSon\nmoo0gjDFpPf1H+RvMP/UQkp+olCtauiPVV4Z3e077EKLDZIraONfMfb9TaeE\n2xRY\r\n=dyj7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5ctLO/y5mmqQElpdcjLRtk65css8MiDTQRftF9I9TXAiEAltQuMSkDV1UwnwYG+VejFZNsIIY/8gDP2Go9RlTociI="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.4_1580400094669_0.24357753154971484"},"_hasShrinkwrap":false},"1.1.0-beta":{"name":"elm-debug-transformer","version":"1.1.0-beta","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^6.1.4","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^1.3.0","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n### Options\nOptions object can be provided to `register` function:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true, debug: false, limit: 10000});\n```\n\n| parameter     | type    | description                                                                                                                               | default value   |\n|---------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------|----------------:|\n| `limit`       | number  | number of message characters after which the parser won't parse the message. (Helpful for bypass the parsing of large datastructures)     | `1 000 000`     |\n| `debug`       | boolean | include original message and parser error with the message                                                                                | `false`         |\n| `simple_mode` | boolean | force output to be in simple object format                                                                                                | `false`         |\n\n\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"491ed51928e6dcfea70b5ce76f3be18c5cafc3db","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.1.0-beta","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-AE+YtYRKNI34GMR09mv1+Qnvw5harPe/2ltSPm4gRvy3o/b75CMn7EVz9vT5BwZg1GtT/UokHtWazDbJ960mWA==","shasum":"96f410a4124755a04a7ccffdc0e0e325319cac9c","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.1.0-beta.tgz","fileCount":4,"unpackedSize":111401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNY2xCRA9TVsSAnZWagAA87cP/A3PPz/VS+UK/Ay0x9Fr\nxwpwhgJ5/ciBO+39S9vI6/y6jJqn4tHT/C7VnBUdkGoLo93o9t055izIMPmP\nPxmY084XWWVHbitDZqsTCImo4c3Q0AbCuUtYDx3Zq04Ao1hO3mMH6AB6nabk\nmDtvkosXoQiP4Zpm5ZPZ88vXr1yMcVASlweGc6vATNH3jUmo9KHmQtNJLd1L\n3qsYpifBI3lOwdyc1vrGH3x06nPgGv3fDdg3du0gPYp7Bj0jGj3yexVdyXpI\nzgXOE2dhO5HW+kTBlzdiac1BnYVZUHxhgHwb6shASEKHAvpmqHLfwmhxAP/L\n8Cg+/LZF53ANKoXbXVH0idrErL/NIB5WVGrwGQZWzqkwbUq4F6jKVUPXD9rk\nl+ClcKTdhXTwPe4l8wrgPK5wXnVmei0n4E5xDflM1TwJPA+v7pDUTxGn17rV\nqaDo5Pqfe3pwII50SnbofLKjzDM+633j5bcERdPZ0ParmgH+37eeK3DNWZXj\nzjMXsz+Uw48UHFyhp0U89HUXHg8p9VAE94e7SkU4Wc+T9hkqkjv/PgBTS0z/\nRpNcUZINDzdBlmQfYnVawcN+ltqKAQjEzYZrzD2a0WjdHNWgLdBjT4vc9x5e\nACFZfUVYpkbhVIne7LsZDVocAi0ObWccXxCtcZUE5OtYLZv2jYZSyrEax5dC\ne+Yz\r\n=4j8g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWDbt7OFD8gmOl5sXfhXTtkwqz4QdyRgEYkHkCBQwDnwIgEc8ry9Xx+pUyyw/5fz/g1aImf3sHoZxwwFH29If3MuY="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.1.0-beta_1580567985297_0.7072103165847528"},"_hasShrinkwrap":false},"1.0.5":{"name":"elm-debug-transformer","version":"1.0.5","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require jsdom-global/register","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^8.0.1","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^3.0.6","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"2e061f31a61c8dcf60d6be4204b8d2b4c9bdbd4a","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.0.5","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-3mbgDGFUSm+061s3WPuhcia/h1/iVh8THx4FwJ6XSxGvtSCZ30BmyYSCczRKRFgMedYl24+B8hxBZfHaLxQ+2g==","shasum":"0ff75b593611fc09ce6555e88fda308f626759d5","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.0.5.tgz","fileCount":5,"unpackedSize":110762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9MkkCRA9TVsSAnZWagAAQc4QAJSyp6sC03iLgVOUi2i4\n9hRwKMoq20CCV/aJ0pdbxrMj8FJvuxSdOk/I4Pm38C1TXje1JGpuN0Y14nE8\nbCqm7twH9UlBGS+5ejIb/PYRvQrmfkjs6o+Tat7RVIML5H+ZS+A97kEIdeST\n/BjsOtC4P6M1H9mGAJdNafyfyISJ1T5wG6T1mv8mpyo9iGqsCDQXA7IJa9E0\nOdh8P6oOymcESfktg50Nraxi6OsDJM4Ebfu2MesCbtSTX3lqUwc8inq6g327\n8TytHGAuf/rmwLfAt0MD1i4dvUrycS1/ny8BMWC+BEBKlEOMPtauCVMwVewi\nCSZbUfS3eLaY13G5fykLa3iX514ZF+Tt0ll8/nbfQqVGAxm2Ihb0IXkx87HD\nrfqmhv4KLd+hNZCgkKs3aKcqydkem5+Pqfksb6Qe+FOHbHP737T3lntTLSCW\nkNFN/hgeImIZt8SEcxI66dC3wuQn/hlHQfovtL4o6EI1NSFGGREjLytEf44d\nPf4EdRL1JoahfD28NI9TkjkDNfEb4aUJG1klSGBLjc6vNLq94T5ex3xG+jdA\noG8OB6slCFyzRTzb1JKka2NlIJWHRrXmHVNDSsSO5rAJTmR2y4kdPHzlHeOm\nw9mwxaC4msGlLdeGdB9idku7FxD57CxrG9sI4gXnj7X7lUeJDyAd/muEDFFO\nq1Zk\r\n=2QmL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBgBtU4ZpPGKoi8hjLS2bJJV+2f73k6+/KLqkAPjPQPAiBWUbvRAZlNnPooSF2WGRC3/h8p2XJKOL03otQLFJnlvw=="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.0.5_1593100579863_0.9774560872365063"},"_hasShrinkwrap":false},"1.1.1-beta":{"name":"elm-debug-transformer","version":"1.1.1-beta","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require jsdom-global/register","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^8.0.1","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^3.0.6","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatter</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\nHere's a sample HTML for your reference:\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>My Elm App</title>\n</head>\n<body>\n  <main></main>\n  <script src=\"https://unpkg.com/elm-debug-transformer@latest/dist/elm-console-debug.js\"></script>\n  <script>ElmConsoleDebug.register({simple_mode: false, debug: false, limit: 10000});</script>\n  <script src=\"elm.js\"></script>\n  <script>\n    var app = Elm.Main.init({ node: document.querySelector('main') });\n  </script>\n</body>\n</html>\n```\n\n### Enable custom formatters in Chrome dev tools\nAvailable in Chrome 47 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser have Chrome dev toools, you can enable custom formatters so you get less noice and nice output.\n\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Menu > Settings F1 > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n### Options\nOptions object can be provided to `register` function:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true, debug: false, limit: 10000});\n```\n\n| parameter     | type    | description                                                                                                                               | default value   |\n|---------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------|----------------:|\n| `limit`       | number  | number of message characters after which the parser won't parse the message. (Helpful for bypass the parsing of large datastructures)     | `1 000 000`     |\n| `debug`       | boolean | include original message and parser error with the message                                                                                | `false`         |\n| `simple_mode` | boolean | force output to be in simple object format                                                                                                | `false`         |\n\n\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md","gitHead":"10ffdec6d6687a29a265e24ee03d3502ff2da824","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.1.1-beta","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/H37o24OptCtOrE6Jdt8fhWrvAvjMb3xpekpQk7qtYiq/EywoPy3qmLG/d27YniqhoqCUIbUqcDRvkOKYgWWPA==","shasum":"81b8f9d84be7f27dd385ce667d1b6f9ed12e3f9c","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.1.1-beta.tgz","fileCount":5,"unpackedSize":112815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbdRKCRA9TVsSAnZWagAAbXMP+gIbPo2hQL+iyFJZv5hs\ndWIuBWqjLMj+3a6l4E2+7/FMM9P0mbVLGlzj072ALgEQUOvRfONBREmKjIoX\npilqaPfKu+nBGoBs0fhpsX6pT1pKLNLeDTP2uu0D1imBw9ReOZtt+s/YbewW\najX7prK3mhP7jODfLhg8wBaTXzPxoCeb2EJpp3LkzrRwfwFf5Ww7Dmk7FtmE\n09sVSodePLw1tTsqEraCclRo5bDXI+q1Q9f4OTFYaLAVbHP08bOFSwDbo5rD\nfupiQ2F1RRogThP23Gu2cTSe6xN/8kq+QDeuzDs7MCE+3NlTlo+AnViuIq/G\nNJMhpc/HhKlOe2G26cC6pYR9y3YCEqsAQBSTvwXMUX/tZiqHtBiaX29LGWEa\nUlMCtZ0N0b+THUl18MderjiXI2Fzc8MENQaL7gg8dWO2tzPyUnjCwoQYS1iv\nSGLQ0hXPgVPstCjJkZIxvSomXWIR0du3enqRhXfRkpnp0C8TNo1XzMyjK3Gw\neu/d3nPfnL+wgerj7hKVL/YUIgTSZINLg/xGT8fnknWkEJrvn5DmJPB9KkLQ\nFtvOxQqc7OP1RTODayGXrdep9b62pFbgMXYH9OLVOcgrg81M2gwwoEZntzhe\n+WEagQcjvs2U6TKSODkZ08h5TzHoRnDc72njym2y3jobUI7t0N7/WzNjlufu\nzrRc\r\n=EjYs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU2U2fc0HOHetpbNfBTwII+49Je6iAJTVoWcc6AHjebAIgfn/1vQUxwSdQyaU5OWh90mj9mCOfYPEqP2VftJc7CsQ="}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.1.1-beta_1601033289227_0.05391088182453285"},"_hasShrinkwrap":false},"1.1.1":{"name":"elm-debug-transformer","version":"1.1.1","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require jsdom-global/register","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^8.0.1","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^3.0.6","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"80b31fe321e910640a19634b11df8c5c58f2c4cd","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.1.1","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/dU5zMNOPEtbLemQ0JyE7TI1Wv64fO8nD+Rf8mN6ecCoIikklOkw8bOpEBxRu62OjAWuoSs8tfDNHHevuTYTlQ==","shasum":"29c6dcf2ad6fe72acc2539ddc28794c333207600","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.1.1.tgz","fileCount":5,"unpackedSize":113284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeykpCRA9TVsSAnZWagAALCwP/A69YuFlKkEzpUmxqWR4\n74+aPTUXRNEOs1qhcw9e3yP3nxmA5WGaN9EoiryUGDRHJSD5koHSV1znwRtF\n2sHGw2ipf/oVnzLVvXcvqcgenZSq2P1UIiJ/KmcDtOQwF4rTr1EZYqTUQWMS\n1kp5Zfiszq02gsR3sQJTXEB5jrUOzci6+BJl0z/fkeBr1vsXFoPc/h3b966J\nhRzCPE8HmQ3ClPzL7sMqjr9ktwCbS6MGf0llC58ojw33oOZZ0JU1gWYb+3d9\ntmxg5M5iuymMrm6YMegWD3mhylPuyGzsbYm1kCjTHOTAnmHMadd8vhWfZSwv\nNIJKZGAW7aXFeWisofaWcKoAtXAG+/SwIQAjTaNh5/VNZATICWv+c2owMOYV\nq4xxNwtSiuE2BTDbcpGv0e3zOnyhYWnnN46cr0lifrdkCrfA9TcqeBCUQxWT\n+26q04+BqSM07DFbbIHRUGm+OVcTdu8E8b0IFvrgeX9fhTqs0EXFD3mQUAGm\nc7wZxqBC+O0q+G6SgxxUVKjeQoVdUs6Ykhi7A7aPwfWzumtYZvAPdy9RzaCp\nA3CXaIaHBE7+KFRh5cbra0zvNNs00qf7kdcWTG+j5ptlPdUVn31JTVBOzGci\nE6okVRyDYDPyJxLsHU7f0Xt8mEkhUUJ8ifWOjkim5IdhEhBIgye6LDpq71S2\nFfDk\r\n=R/CX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSeH2KUzOa6r8M9cONuestbYNgcLZ1MGCjMsRgBFtahwIhAJ2rUbFt6cjQm3L2d5zxX+sZpqC9Vo82DLpxG2qw9KmL"}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.1.1_1601906985446_0.4322602818553454"},"_hasShrinkwrap":false},"1.1.2":{"name":"elm-debug-transformer","version":"1.1.2","description":"Transform Elm Debug.log output into nice log object with custom formatter","main":"dist/elm-console-debug.js","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require jsdom-global/register","build":"yarn run pegjs && webpack","prepublishOnly":"yarn run test && yarn run build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@types/chai":"^4.1.7","@types/lodash":"^4.14.134","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/pegjs":"^0.10.1","babel-loader":"^8.0.6","babel-minify-webpack-plugin":"^0.3.1","chai":"^4.2.0","jsdom":"^15.1.1","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^8.0.1","pegjs":"^0.10.0","pegjs-loader":"^0.5.4","prettier":"^1.18.2","raw-loader":"^3.0.0","terser-webpack-plugin":"^3.0.6","ts-loader":"^6.0.2","ts-mocha":"^6.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","typescript":"^3.5.2","webpack":"^4.33.0","webpack-cli":"^3.3.3"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"gitHead":"ed4ad5818c5ce71465330137a2abb203d100b1d2","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_id":"elm-debug-transformer@1.1.2","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-NfyD/vrstzt5UmreetEOtHv7H4FhmfOX7Uu5UNpITeOrgqWx+vRFrQU/ASuY6cQfj3uRCwS9T09FHPFBrx5NhQ==","shasum":"cfbabc2aaaaf3f7419ef33fea9da272d350175ad","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.1.2.tgz","fileCount":5,"unpackedSize":113284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffCGfCRA9TVsSAnZWagAAdrEP/RTTxZnOTs/Uieb27DGs\naOnw3Rqy59wYLRe3jonXmGSQhidpyURyL+dwpOEGcDK1Arq6A3GKI4QguT8P\nFLjyD2OYkxIY3w6G39YtlrctWwnJpt6V9fQdTEcxW32hBg2OXJ7XoS8LdEls\nQL4vn9275sYOzI6WvswbosLOkYS5OKocbTU79TNlHRu3WFsmz0SNnchEozCX\n/PzUtlyGaUkDRVbn2LTE9VPYKTRH6lhfiLjg6/mCnile97KeQomvesHNPy0M\ni3drkmpRw1QogRlaz5IOe1g1Rw88pFZpaG6YvLv1bPtsqPUzR0dXwWVm/PQx\nxWnNq6OZr7/3iRm3siLN6CtNE4GtpKp5i01jo0xznIf9MCuOH2b05B3OFJL7\nYIRExhIdBa39Z3uFzTU0OjOWtODKpbbaFwDo8bdDzIrHfF5P1xvqcVb+8qV9\n7UM+QUMUeZlsNE0ix9YWcgdvC8eX1YREn2cqLk1qy3O8ZE/qnZ4Mpf6G6v3X\nqj81LdwA5IgekZxE46sTU7GWM2P7+9gwlLA+fv6g90voqp+p4yEvVOUVRkWd\nmNVTQoIQBxZDrZy89SY9gdRnsCxRtGRnohktukwjzLl4efQn4/1XqR8UYZWO\n7lWoyQbIK40osVi3fQIqhaulzjnm6ffvquVN/LEIJTij+pUhPygXzCiYX0Yh\nx2Gh\r\n=tN10\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx+jGWl3jDBA89PdWcS+2X3jLl+MpWyzyT503WoqbtvwIhAKoiLzN0w5V/DBWSkzvwAPw51t4DLRymrej0GzzBLwAJ"}]},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.1.2_1601970591144_0.059396635318045954"},"_hasShrinkwrap":false},"1.2.0":{"name":"elm-debug-transformer","version":"1.2.0","description":"Transform Elm Debug.log output into nice log object with custom formatter","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"main":"./dist/index.js","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"module":"./dist/index.mjs","typings":"./dist/index.d.ts","license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require jsdom-global/register","build":"npm run pegjs && tsc && vite build","build:watch":"npm run pegjs && tsc && vite build --watch","prepublishOnly":"npm run test && npm run build"},"devDependencies":{"@rollup/plugin-typescript":"^11.1.2","@types/chai":"^4.3.5","@types/lodash":"^4.14.134","@types/mocha":"^10.0.1","@types/node":"^20.4.7","chai":"^4.3.7","jsdom":"^22.1.0","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^10.2.0","pegjs":"^0.10.0","prettier":"^3.0.1","rollup-plugin-typescript-paths":"^1.4.0","ts-loader":"^6.0.2","ts-mocha":"^10.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslib":"^2.6.1","typescript":"^5.1.6","vite":"^4.4.8","vite-plugin-peggy-loader":"^1.0.1"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"dependencies":{"prettier":"^3.0.1"},"_id":"elm-debug-transformer@1.2.0","gitHead":"4d0865bdd19ffa0cf0f3dbda136bf7afd9baadda","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-rrcDU56J+JUPdkNxTwg/oGFMMjXEIUganiw0oSsj3cMD1vtFYOfNXtTggq8ViPAgfl70ibgIvGpplraPvl02Dw==","shasum":"9ed80004284ed059daae85c39f4581e86f0945ea","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.2.0.tgz","fileCount":28,"unpackedSize":287748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLML64R6yd9YPyoVGB3vNn+wn2mVRQamZvlLG6TMhTUgIgI4I21OMLDHNvBoDWM0YDD2KfvDt030+EBfXvm256Rck="}]},"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.2.0_1691192360546_0.18105287923403646"},"_hasShrinkwrap":false},"1.2.1":{"name":"elm-debug-transformer","version":"1.2.1","description":"Transform Elm Debug.log output into nice log object with custom formatter","author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"keywords":["elm","debug","console","parser","formatter"],"main":"./dist/index.js","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"module":"./dist/index.mjs","typings":"./dist/index.d.ts","license":"MIT","private":false,"scripts":{"pegjs":"pegjs --plugin ./node_modules/ts-pegjs/src/tspegjs -o src/elm-debug-parser.ts src/elm-debug.pegjs","test":"TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require jsdom-global/register","build":"npm run pegjs && tsc && vite build","build:watch":"npm run pegjs && tsc && vite build --watch","prepublishOnly":"npm run test && npm run build"},"devDependencies":{"@rollup/plugin-typescript":"^11.1.2","@types/chai":"^4.3.5","@types/lodash":"^4.14.134","@types/mocha":"^10.0.1","@types/node":"^20.4.7","chai":"^4.3.7","jsdom":"^22.1.0","jsdom-global":"^3.0.2","lodash":"^4.17.15","mocha":"^10.2.0","pegjs":"^0.10.0","prettier":"^3.0.1","rollup-plugin-typescript-paths":"^1.4.0","ts-loader":"^6.0.2","ts-mocha":"^10.0.0","ts-node":"^8.3.0","ts-pegjs":"^0.2.5","tslib":"^2.6.1","typescript":"^5.1.6","vite":"^4.4.8","vite-plugin-peggy-loader":"^1.0.1"},"prettier":{"trailingComma":"es5","tabWidth":4,"semi":true,"singleQuote":true},"_id":"elm-debug-transformer@1.2.1","gitHead":"0521362b3a7f95e213e10ac841418da50583860f","bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"homepage":"https://github.com/kraklin/elm-debug-transformer#readme","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-FukiRtQD/9S8AvYJh0L2SM7P0AmuHnSJoru1wPIDzL/IC5cRaPt5PuHVU6y5DTHG03qbUJCABTpRRpB/0Sj4mg==","shasum":"f28b97db6a6602aa82cb3ee2adc06c25d1a5d94a","tarball":"https://registry.npmjs.org/elm-debug-transformer/-/elm-debug-transformer-1.2.1.tgz","fileCount":28,"unpackedSize":287698,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUOZsZNvzHijzOQK9HSYevbi88xcEuSTEMHZmaDJCQ5AiBVR6bHn0DawXinizaWOUGnKQXOsxwQxFjFfJZlpms/zg=="}]},"_npmUser":{"name":"kraklin","email":"latal.tomas@gmail.com"},"directories":{},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-debug-transformer_1.2.1_1691252642039_0.1249135561050001"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-10T09:57:33.540Z","0.0.1":"2019-06-10T09:57:33.774Z","modified":"2023-08-05T16:24:02.338Z","0.0.2":"2019-06-10T18:08:36.272Z","0.0.3":"2019-06-10T21:13:12.069Z","0.0.4":"2019-06-11T11:52:40.781Z","0.0.5":"2019-06-12T12:15:19.726Z","0.0.6":"2019-06-13T20:41:45.685Z","0.0.7":"2019-06-27T10:11:59.212Z","1.0.0":"2019-06-28T14:11:46.981Z","1.0.0-rc2":"2019-07-07T19:10:29.307Z","1.0.0-rc3":"2019-07-09T08:07:16.011Z","1.0.0-rc4":"2019-08-02T07:20:57.941Z","1.0.0-rc5":"2019-08-02T08:21:42.706Z","1.0.1":"2019-09-04T14:18:44.312Z","1.0.2":"2019-10-14T18:34:20.299Z","1.1.0-dev":"2019-10-18T15:46:47.467Z","1.0.3":"2020-01-30T15:49:26.122Z","1.0.4":"2020-01-30T16:01:34.772Z","1.1.0-beta":"2020-02-01T14:39:45.429Z","1.0.5":"2020-06-25T15:56:20.090Z","1.1.1-beta":"2020-09-25T11:28:09.497Z","1.1.0":"2020-10-05T14:02:59.885Z","1.1.1":"2020-10-05T14:09:45.603Z","1.1.2":"2020-10-06T07:49:51.358Z","1.2.0":"2023-08-04T23:39:20.759Z","1.2.1":"2023-08-05T16:24:02.243Z"},"maintainers":[{"name":"kraklin","email":"latal.tomas@gmail.com"}],"description":"Transform Elm Debug.log output into nice log object with custom formatter","homepage":"https://github.com/kraklin/elm-debug-transformer#readme","keywords":["elm","debug","console","parser","formatter"],"repository":{"type":"git","url":"git+https://github.com/kraklin/elm-debug-transformer.git"},"author":{"name":"Tomas Latal","email":"tom@tomaslatal.cz"},"bugs":{"url":"https://github.com/kraklin/elm-debug-transformer/issues"},"license":"MIT","readme":"<div align=\"center\">\n    <h1>Elm Debug Transformer</h1>\n    <a href=\"https://badge.fury.io/js/elm-debug-transformer\">\n      <img src=\"https://badge.fury.io/js/elm-debug-transformer.svg\" alt=\"version\">\n    </a>\n    <p>Transform Elm Debug.log output into nice log object with custom formatters</p>\n</div>\n\nThe standard Elm `Debug.log` console output:\n\n![Elm Debug.log in console without formatter](img/ugly_output.png)\n\nand the same output with this package \n\n![Elm Debug.log with this package and custom formatter enabled in Chrome](img/nice_output.png)\n\nThe main module exposes `register()` function that replaces your `console.log()` and try to parse each incoming message with Elm parser. If it fails, it would pass the original message.\n\n## Limitations\n\nRight now you can insert only alphabet characters and spaces as a Debug.log tag. \n```\n-- this would parse successfuly\nDebug.log \"Some tag string\" thingToPrintToConsole\n\n\n-- this would NOT BE PARSED\nDebug.log \"Some String (with non [a-zA-Z] chars or numbers in it) \" thingToPrintToConsole\n```\n\nThis limitation is due to the problem recognizing arbitrary tag text from the rest of the types. I'm aware of that limitation and it is something that would be addressed in the upcoming versions. Thanks for understanding.\n\n\n## Installation\n\nJust install this module with Yarn:\n\n```\nyarn add -D elm-debug-transformer\n```\n\nor NPM:\n\n```\nnpm install elm-debug-transformer\n```\n\n### Get it directly from CDN\n\n[Roman Potashow](https://github.com/justgook) pointed out on Elm Slack that you can use the NPM package directly without the need of installing it.\n\n```\n<script src=\"https://unpkg.com/elm-debug-transformer@<VERSION>/dist/elm-console-debug.js\"></script>\n\n<script>ElmConsoleDebug.register()</script>\n```\n\n\n## Usage\n\nThere is a nice summary of the usage in Alex Korban's article [Get improved Debug.log output in the browser console](https://korban.net/posts/elm/2019-07-02-improved-debug-log-output-browser-console/)\n\n### `register()`\nRegister the console debugger in your main JS file before you initialize Elm application:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register();\n\n// rest of application\n```\n\nHere's a sample HTML for your reference:\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>My Elm App</title>\n</head>\n<body>\n  <main></main>\n  <script src=\"https://unpkg.com/elm-debug-transformer@latest/dist/elm-console-debug.js\"></script>\n  <script>ElmConsoleDebug.register({simple_mode: false, debug: false, limit: 10000});</script>\n  <script src=\"elm.js\"></script>\n  <script>\n    var app = Elm.Main.init({ node: document.querySelector('main') });\n  </script>\n</body>\n</html>\n```\n\n### `parse()`\nSince version 1.1.0 the parser function is exposed as well, so you can use it to parse Debug.log output into JSON structure and work with it later as you wish.\n\n```\nimport {parse} ElmDebugger from 'elm-debug-transformer';\n\nconst parsedValue = parse(\"debug tag: [1,2,3]\");\n```\n\n\n### Enable custom formatters in Chrome and Firefox dev tools\nAvailable in Chrome 47 and higher and in Firefox 116 and higher.\n\nThe output object is kind of chatty right now (it carries information about parsed type etc. - less verbose version is worked on right now). \n\nIf your browser is Firefox 116 and above or if it have have Chrome dev tools, you can enable custom formatters so you get less noise and more nice output.\n\n#### How to enable custom formatters in Chrome:\n  - Open DevTools\n  - Go to Preferences (\"cog wheel\" icon in the upper right corner of DevTools > Preferences > Console)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\n#### How to enable custom formatters in Firefox:\n  - Open DevTools\n  - Go to Settings (\"three dots\" icon in the upper right corner of DevTools > Settings F1 > Advanced settings)\n  - Check-in \"Enable custom formatters\"\n  - Close DevTools\n  - Open DevTools\n\nNote: You might need to refresh the page first time you open Console panel with existing logs - custom formatters are applied only to newly printed console messages.\n\nThat way the `Debug.log` would output simpler JS object without `type` information. `Tuple`, `Set`, `Array` and `List` would become arrays and `Dict` would become JS object with keys and values.\n\n### Options\nOptions object can be provided to `register` function:\n\n```\nimport * as ElmDebugger from 'elm-debug-transformer';\n\nElmDebugger.register({simple_mode: true, debug: false, limit: 10000});\n```\n\n| parameter     | type    | description                                                                                                                               | default value   |\n|---------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------|----------------:|\n| `limit`       | number  | number of message characters after which the parser won't parse the message. (Helpful for bypass the parsing of large datastructures)     | `1 000 000`     |\n| `debug`       | boolean | include original message and parser error with the message                                                                                | `false`         |\n| `simple_mode` | boolean | force output to be in simple object format                                                                                                | `false`         |\n\n\n\n## Credits\n\nThis would probably not see the light of the day without [Matt Zeunert](https://github.com/mattzeunert) and his [blogpost](https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html) about writing custom formatters. Thank you!\n\n","readmeFilename":"README.md"}