{"name":"@xstate/graph","version":"0.2.1","keywords":["state","machine","statechart","scxml","state","graph"],"author":{"name":"David Khourshid","email":"davidkpiano@gmail.com"},"license":"MIT","_id":"@xstate/graph@0.2.1","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":"06b2c0f9a320768269e7fb6071b8063ee7c93e3f","tarball":"http://registry-npm.ywwl.com/@xstate/graph/download/@xstate/graph-0.2.1.tgz","fileCount":6,"integrity":"sha512-uR5S3YjQaPvOusCyrPG3Tv0by3Tgxnmr5ZH8MDHTNwnDqAApDx2CKIPkKYMSy8J0UbAlwfCvJiiJvJpaAuv1pQ==","signatures":[{"sig":"MEQCIHpJUlJFYKeFF2Y9ckR+uWJUsINXPeobi/p0bYTfif7+AiBfyPhf+iTNxHBZeycJWjHAZMAwspFgpfQHOo24BkybrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv3wRCRA9TVsSAnZWagAAPP4QAIS8cqTP2Zj5pDzSqOgV\nd/aEN8yZVOeLVY3zK+Hcrvkh/UU8KzM5Xpj9wNPWd9uUSSKEw8QR/UlOnpON\n/UoeSfuEbgDht5pDq9Os7JicDdVGHFslavvH/irXk504514O7XhfR7PhrDjt\n4wLI/t82wVB2znkHsDd+U+c1eHc3kiDF9ZXI20roB+HU2+rIl0ePyXVRvhBl\n6I41EMEJk6VVGsh14Wfyj7yK4vNpBKICocyN8YIAYwZWiJOchO7YTCbXFPqu\nQVROISwrbc6jl5dfV7DelGjn1lkf5ulVzBDr9Ke0ZwR+3JVcauvznr8MkkZR\n7ARSqThXJmafO45zGGpo9JZZmPfgdtE+09VckTAYcQxryHzNAlQQmE86OV7N\nCHEwQbr/Px8cuekyQAJJL4QaHFnpDsmMcq7HPhv04GCtBEtmzMc6ZbpXE7ei\nIPKJ1o4zPxEd+qLWlfGwa9U6ppzIJos59diClm8I1Nv4QmwPUK63loMGsys5\nuwJPWRihW7xJYAf8pY6A/jkJN2ikfPgvffdwl2XfQ4pFIAOmROvBEJcEDrPg\nNKseMN6VDBWkJD3CjsXswCoQY6ILIZdF608eRNKSybFOYW6ZT5w/osCZQa3R\nov9Vt/k8vJkUd37LEiteDZip550HrbgIQirez7ktiPtikREuydIDri6UOC03\nl5Ph\r\n=rHHE\r\n-----END PGP SIGNATURE-----\r\n","size":7104,"noattachment":false,"key":"/@xstate/graph/-/@xstate/graph-0.2.1.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":{"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.1_1556053009280_0.16430454903310943","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":1556053009431,"_cnpm_publish_time":1556053009431,"dist-tags":{"alpha":"2.0.0-alpha.2","beta":"2.0.0-beta.6","latest":"3.0.4","next":"1.0.0-rc1.1"}}