{"name":"@xstate/graph","version":"0.2.0","keywords":["state","machine","statechart","scxml","state","graph"],"author":{"name":"David Khourshid","email":"davidkpiano@gmail.com"},"license":"MIT","_id":"@xstate/graph@0.2.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":"eda16ac5204f5f771abf950b18261d4803fe894a","tarball":"http://registry-npm.ywwl.com/@xstate/graph/download/@xstate/graph-0.2.0.tgz","fileCount":6,"integrity":"sha512-Z/O9nhyR3A9RbKyKz1IMJ7SG4FuEvBdjjgtaXr6vggOhzAIectjMmC609FmdaZB6sOUsE5Ui5ohA3HemHWMZ+w==","signatures":[{"sig":"MEUCIAKTz0JdRyM4Z8qnefaGEfw3YazVjoHFJOBYZvwpq5c5AiEA48Z4V/KsxQfQGtySZCvxA8ROdvTg+KDsvjp935WafFQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv3vbCRA9TVsSAnZWagAAANkP/1q5scycaGZx2kZGypr8\nr9Bmv3xMQoVbxpv7r+gHTSRdaK2fqlbIQ+WT1xeM9ME8r259s2gWGgP5Z4CL\n/CnjCXVJtQ6/+ihLtdERQ3lvlFYfHZP2txFbnyj9M44Wfo9uACOhT5aZoxfx\nfwegab0pp/24H/9nwOPO3QPEQroU72LRkDcBAqjxcIoJ5AO09tC9U9YnFVmU\n3rhLlWOjw9ZntxkpAwsnuyTOl/i9ntpQX5rHR4wV5cneaIwtTmB6tM5ax+mB\n17WJ42b8bQ8V6SkCK9bnZlogK0KS02EtH48rBRTc9W6DBh5BGS1sxJvvcy+I\nRchdGX4CXLDTpRXYA1jidKkQ94+VcO05lneVHek1T2iGMI9ivHSUG2whiAaV\nB5dGAdo5Uv5AE7LM8LlEIesuWFjFmJouPbBx22E/d1B7jNF1pPr948ZAalvx\nGbRKDEitv9G0x4I1321L4A486IvfZH7/Sct76FZdgWZQtjCPqqO1fwEMaH61\nayUZsbdmjrVRtu/LMFW05pukIRJyCqGq/cBHBuMiViSuwxO6boofGhPVvMB4\nDwSsbL0x+lqhGoBWkGYIoyUFX7Lorp/+BQnHYRQBbsDA48aow2B1B0cw8VK1\nyYqy6Z//wV0QJcM0miqijrd3Sjuxf1/Tdur3bGYFRwOY65o5KOwejZOv6g4i\n+T8O\r\n=StlS\r\n-----END PGP SIGNATURE-----\r\n","size":7115,"noattachment":false,"key":"/@xstate/graph/-/@xstate/graph-0.2.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.2.0_1556052954454_0.6113050561948052","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":1556052954581,"_cnpm_publish_time":1556052954581,"dist-tags":{"alpha":"2.0.0-alpha.2","beta":"2.0.0-beta.6","latest":"3.0.4","next":"1.0.0-rc1.1"}}