{"name":"@xstate/graph","version":"0.1.0","keywords":["state","machine","statechart","scxml","state","graph"],"author":{"name":"David Khourshid","email":"davidkpiano@gmail.com"},"license":"MIT","_id":"@xstate/graph@0.1.0","maintainers":[{"name":"davidkpiano","email":"davidkpiano@gmail.com"}],"homepage":"https://github.com/davidkpiano/xstate/tree/master/packages/xstate-test#readme","bugs":{"url":"https://github.com/davidkpiano/xstate/issues"},"dist":{"shasum":"be4f2d60dec0dc22a6843f62199ffdcefd4e17bc","tarball":"http://registry-npm.ywwl.com/@xstate/graph/download/@xstate/graph-0.1.0.tgz","fileCount":6,"integrity":"sha512-1LRdZxe4cPx+29Av8vR10Q+Nl5k2kXDJUMwF+kAz5/mkun93Lw5jnKbU8yxbHCW7w82Cil7brZFvJFI/FbuIfg==","signatures":[{"sig":"MEUCIArUJZWigkJUKah8RUgKm/xg6M2Y6BYllhoYsq+MWys0AiEAlXTQGT0NfbAQ6drrMrFHr2MFzjcrnTuUspYWjWN8y4U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctrWWCRA9TVsSAnZWagAAS8wP/2fnKmlsijz8AjZBbceo\nF8Jm6nmrHXWZeJAIqtY8v3YyHHww/tWwZQ1yRxKsVtzqPWB1Q+w9uEOrpnse\nbqJAAqJO4hzALuYUgb7qceGlnhCbrMV/W0HFmeb+Y+U6MCUMy8nfwdz2rsI6\nJvWA3Ku/NOAoHDVT7aRKhjIY86y93bYvnWX6Q6w/8tm3W/gCh1r+AVZgEBlw\nDPlO8xfknyTWNzX6o8euNYVQaF3RCYC0C9gV6IRb5RJ6SYNku/OT42LmTB82\nx+GVmKOUHDCJAn9tWlIrhbifvMcp3Z6xEMbGR7CQFzrX9AndA3in/XXRFIit\n6/1qcGOYkqAhmJmI1RJg9KB/M+h77u1gOxIGphTIYkhhmYdIe6qx7rExAlzO\nGsBf0o4pz5IQp3fFPcSYO0UT6Lyd5yl0vTaCI3XYo8ollf9qv4h++cgwFmRQ\n657KiYBO7SjC69VYJvOHKMEwZMhGkvAxkks/ArLnZCvSZFET8adOLh/EG90S\nRJXyCnWr1IJH+NW8nuN18Xi/ATsWQ+PGAEI1hg9t39GN44XVsgkxqGu6G7Hk\nYmNAg2vKScjhd2XGhy7Vhdd29eGW0B7tyxskFDh3PXs1u8q93FPBcBfs1FCW\nxgTbzif4d2grLxuPVJCqwKI2fdlcjlhfTigFZhWaojlivHQ7gBCHbXA5wyau\n3+VN\r\n=W8t2\r\n-----END PGP SIGNATURE-----\r\n","size":7361,"noattachment":false,"key":"/@xstate/graph/-/@xstate/graph-0.1.0.tgz"},"main":"lib/index.js","scripts":{"test":"tsc && mocha --require ts-node/register test/**.ts test/**/*.test.ts","prepublish":"tsc && npm run test"},"_npmUser":{"name":"davidkpiano","email":"davidkpiano@gmail.com"},"repository":{"url":"git+ssh://git@github.com/davidkpiano/xstate.git","type":"git"},"_npmVersion":"6.8.0","description":"XState graph utilities","directories":{},"_nodeVersion":"9.11.2","dependencies":{"immer":"^2.1.5","xstate":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.5.0","jsdom":"^14.0.0","react":"^16.8.4","ts-jest":"^24.0.0","ts-node":"^8.0.2","react-dom":"^16.8.4","typescript":"^3.3.3","@types/jest":"^24.0.11","@types/jsdom":"^12.2.3","@types/react":"^16.8.8","jsdom-global":"^3.0.2","@types/react-dom":"^16.8.2","react-testing-library":"^6.0.1","@babel/preset-typescript":"^7.3.3"},"_npmOperationalInternal":{"tmp":"tmp/graph_0.1.0_1555477909658_0.056332691749900965","host":"s3://npm-registry-packages"},"readme":"# @xstate/graph\n\nThis package contains graph algorithms and utilities for XState machines.\n\n- [Read the full documentation in the XState docs](https://xstate.js.org/docs/packages/xstate-graph/).\n- [Read our contribution guidelines](https://github.com/statelyai/xstate/blob/main/CONTRIBUTING.md).\n\n## Quick start\n\n1. Install `xstate` and `@xstate/graph`:\n\n```bash\nnpm install xstate @xstate/graph\n```\n\n2. Import the graph utilities. Example:\n\n```js\nimport { createMachine } from 'xstate';\nimport { getSimplePaths } from '@xstate/graph';\n\nconst machine = createMachine(/* ... */);\nconst paths = getSimplePaths(machine);\n```\n","publish_time":1555477909853,"_cnpm_publish_time":1555477909853,"dist-tags":{"alpha":"2.0.0-alpha.2","beta":"2.0.0-beta.6","latest":"3.0.4","next":"1.0.0-rc1.1"}}