{"_id":"@cgdangelo/talent-jsonify-demo","_rev":"1-879c3d9a53b195a64c8fc1288bb08c50","name":"@cgdangelo/talent-jsonify-demo","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@cgdangelo/talent-jsonify-demo","version":"0.1.0","license":"MIT","main":"lib/index.js","typings":"lib/index.d.ts","bin":{"jsonify-demo":"bin/talent-jsonify-demo"},"dependencies":{"fp-ts":"~2.13.1","@cgdangelo/talent-parser":"0.1.0","@cgdangelo/talent-parser-goldsrc":"0.1.0"},"devDependencies":{"@rushstack/heft-node-rig":"~1.11.11","@rushstack/heft":"~0.49.0","@rushstack/eslint-config":"~3.1.1","eslint":"~8.30.0","typescript":"~4.9.4","@types/heft-jest":"1.0.3","@types/node":"18.11.18"},"scripts":{"_phase:build":"heft build --clean","_phase:test":"heft test --no-build","build":"heft build --clean","test":"heft test --clean"},"gitHead":"add669fca4bc2625002a4ec7ed071a13b85904da","description":"Parse a demo and print the result to console.","_id":"@cgdangelo/talent-jsonify-demo@0.1.0","_integrity":"sha512-1UUF/tFZjrYbNpbVeNvLvyemDYpbj2QXqSbSsXSvbkduVzHiUNSnZunOSAwJe9shZpnRFUazNuXe2b+i11c3kQ==","_resolved":"/private/var/folders/88/y8v6nzn10k5fnv6cp5s8wmrc0000gn/T/2fc8c3e2cb5e8cfa8c4a8dcc0b373e3f/cgdangelo-talent-jsonify-demo-0.1.0.tgz","_from":"file:cgdangelo-talent-jsonify-demo-0.1.0.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-1UUF/tFZjrYbNpbVeNvLvyemDYpbj2QXqSbSsXSvbkduVzHiUNSnZunOSAwJe9shZpnRFUazNuXe2b+i11c3kQ==","shasum":"902be26f1d0e5309c0144f0ac99a8505cd50e738","tarball":"https://registry.npmjs.org/@cgdangelo/talent-jsonify-demo/-/talent-jsonify-demo-0.1.0.tgz","fileCount":7,"unpackedSize":9776,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHCZRfLlGfbpGiq4LWTLYZZCh2gfp7+CcF0pT7OmehjQAiEAsfdcGT87D672JESvdOluyyuMeyafR4QIeUMvAJFmkJo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsGVEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJPQ/9FWtRItAbr+UIE6zPxXaxmiPC9Z+EKGIyk7AbHbqRv1v9GqWL\r\n0qxHJwjmiOMDJqLeyp2ZI692x1h5GhPCa+UrGhvVEGk/3GIbY3IXD4TVy3Kv\r\n8xx84G6Xp1ZXfhH+XeiZZTN8LY4fO5pvjsrQtyDjTts1AA2M39DhgcD6hlXB\r\nk9NjXy+63ByNFBP89rfBFistRlFNtFt+QtYPqihMSSflzRKWx+qVAI2eEgo2\r\npW36HSXc4QbG9QqJrazWhl9V6lMuKUjb6nKR9zrRCxkJMSIippvRFTdveR2R\r\nmfMbBLBeKBxh5+osK/ttIryuZ7eSbj5hxVolyRY5OhcZCxZDjX6TrCCig4nE\r\nz6vrhvooQUUWWNyny+6tKC36szLH4i3dDY0VdUfk382tLvu9fvS42/5tcKUi\r\noeMBXfRebgOy60C4l0NPdSMhVblV40z8nWIY+sKRIJaQ0LCIPSFv3nCQTK6S\r\nAWaeJ8r4keYjDZQ6cIiB6Hut2E37Jpkgko2hrR4xM+BnfZ1p354W5N4dAoYy\r\nscNwMnTE7y1WB+185Fw/rfY7o5/w0ial4UKn/2juosICRuXaczOstuwcSthv\r\nzu5e1e+6LiKDctLLZF1b4/rI/dLG/u7nxpg0THSK+ueXmQGYNXPcuyYf1MER\r\no/8VuPQlw87TaxUbJiv7xV1E+J+2twnlG/Y=\r\n=rfcz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgdangelo","email":"c.g.dangelo@gmail.com"},"directories":{},"maintainers":[{"name":"cgdangelo","email":"c.g.dangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-jsonify-demo_0.1.0_1672504644639_0.6183539912485261"},"_hasShrinkwrap":false},"0.1.1":{"name":"@cgdangelo/talent-jsonify-demo","version":"0.1.1","license":"MIT","main":"lib/index.js","typings":"lib/index.d.ts","bin":{"talent-jsonify-demo":"bin/talent-jsonify-demo"},"dependencies":{"fp-ts":"~2.13.1","@cgdangelo/talent-parser":"0.1.1","@cgdangelo/talent-parser-goldsrc":"0.1.1"},"devDependencies":{"@rushstack/heft-node-rig":"~1.11.11","@rushstack/heft":"~0.49.0","@rushstack/eslint-config":"~3.1.1","eslint":"~8.30.0","typescript":"~4.9.4","@types/heft-jest":"1.0.3","@types/node":"18.11.18"},"scripts":{"_phase:build":"heft build --clean","_phase:test":"heft test --no-build","build":"heft build --clean","test":"heft test --clean"},"gitHead":"2c3e9a15ad70c9668be1e912ac12c1b934c337ed","description":"Parse a demo and print the result to console.","_id":"@cgdangelo/talent-jsonify-demo@0.1.1","_integrity":"sha512-+nXsHOdXPFmOGzReHacQCHBHiGZQSCyBjL22A4xRbPHcDdWkwdogYm0zJc9XbUaYYJpnUuuXVKaatUUL2gDaOA==","_resolved":"/private/var/folders/88/y8v6nzn10k5fnv6cp5s8wmrc0000gn/T/95e780e3281f4ee335e3b5efbee9d98c/cgdangelo-talent-jsonify-demo-0.1.1.tgz","_from":"file:cgdangelo-talent-jsonify-demo-0.1.1.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-+nXsHOdXPFmOGzReHacQCHBHiGZQSCyBjL22A4xRbPHcDdWkwdogYm0zJc9XbUaYYJpnUuuXVKaatUUL2gDaOA==","shasum":"83df90e1d3b03b9426702681dbe75dce8ee0aae2","tarball":"https://registry.npmjs.org/@cgdangelo/talent-jsonify-demo/-/talent-jsonify-demo-0.1.1.tgz","fileCount":7,"unpackedSize":9783,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB1TfJoPAq2+2UnTLuyYpAgD+AI7ecdvmpeDI0UojgBAIgDWzcDtVKHL7DRDXrbbCpfvxRj8GeYFIhOvYF8bSJQUU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsGnxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvpxAAksC++zomf0J2cUzd7A9fael4F2X0jfSHjlBJ/SE+DnR5Gjsy\r\nRVFXKoKUIorF/s0YN1JTItqEUqqGbdPA4HhPFwL/wLzK6MrFfFCT7s66S6Q3\r\nUF6w4h33pVFMn6bO31M81Eek/dAsh01QeKRM4W9gGz1frv5m94mqAyjA9TdN\r\nluwoY04yoT0a27KIF4ZHmkc0C3ih/gm4+zOu1B+nu7V6VZoEkJRQd/oNAS5p\r\nAl1aGfnqRyIl+yPxXNdH+okVZCAnqS+heMkLwO/6hC3VCuHNDbheweM/HnIU\r\ngo5q8IMWwb9GKxvcpAffPQv35aOVTd9z/w7Fx8/LrZ1QvTpUSowUwZVdeZnH\r\ng6BNHijb8+FIZk6RYUREqxO2ImmOX8zGK6ACPMYf1IFwYuXYVEzSPVaHrPFD\r\nXi0EtPhhNp9wAbX2J3MpiQwE7OA9+kV5FQmFmsVfy0qk9+p0MleIqaMcGHr6\r\nJzyceUXO2FvPcJ2fVwtGR7haK3bWPxh2wE+/ByfCAjJKCK/+0KFut0In+Eqc\r\n3YGneGJAP158/wqUstCrPk6JYyB6WfOf5c69pOBLGNqW0I9OHxMZ1xuEAaE7\r\nI8E8Qzmk+1Igae6hHXPoz0/+WbG7CF1c4kVr+LChD8d9Iv1TyYSzAh3vsbZ0\r\nv4wd0lW/FczCh5p/+qAfwKoRwHkXR63OUbE=\r\n=6iG2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgdangelo","email":"c.g.dangelo@gmail.com"},"directories":{},"maintainers":[{"name":"cgdangelo","email":"c.g.dangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-jsonify-demo_0.1.1_1672505841681_0.5255354806294283"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-31T16:37:24.517Z","0.1.0":"2022-12-31T16:37:24.830Z","modified":"2022-12-31T16:57:21.915Z","0.1.1":"2022-12-31T16:57:21.840Z"},"maintainers":[{"name":"cgdangelo","email":"c.g.dangelo@gmail.com"}],"description":"Parse a demo and print the result to console.","license":"MIT","readme":"# @cgdangelo/talent-jsonify-demo\n\nParse a demo and print the result to console.\n\n:warning: Disk usage warning. Demo JSON output can be very large! :warning:\n\n## Usage\n\n### As a command-line tool\n\n```\nnpm install -g @cgdangelo/talent-jsonify-demo\ntalent-jsonify-demo <path to demo.dem> > demo.json\n```\n```\nnpx @cgdangelo/talent-jsonify-demo <path to demo.dem> > demo.json\n```\n\n### As a library in your application\n\n* Add as a dependency.\n    ```\n    npm install @cgdangelo/talent-jsonify-demo\n    ```\n\n* Import and use your desired API.\n    * TaskEither instance for fp-ts users:\n        ```ts\n        import { pipe } from 'fp-ts/lib/function';\n        import * as TE from 'fp-ts/lib/TaskEither';\n        import { jsonifyDemoTaskEither } from '@cgdangelo/talent-jsonify-demo';\n\n        const main = pipe(\n          jsonifyDemoTaskEither('<path to demo.dem>'),\n          TE.map((demoString) => {\n            /* ... */\n          })\n        );\n        ```\n\n    * Promise instance:\n        ```ts\n        import { jsonifyDemo } from '@cgdangelo/talent-jsonify-demo';\n\n        async function main() {\n          const demoString = await jsonifyDemo('<path to demo.dem>');\n\n          /* ... */\n        }\n        ```\n","readmeFilename":"README.md"}