{"name":"@xstate/graph","version":"1.2.0","keywords":["state","machine","statechart","scxml","state","graph"],"author":{"name":"David Khourshid","email":"davidkpiano@gmail.com"},"license":"MIT","_id":"@xstate/graph@1.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":"83618bbff4f801fecb9b4f33f1d4a44e1b5a40ff","tarball":"http://registry-npm.ywwl.com/@xstate/graph/download/@xstate/graph-1.2.0.tgz","fileCount":15,"integrity":"sha512-6h8ZRmnHsg1BW2NmkM2gb1l6bJwi6SaSLi7ErFzzseLKmcQL2oWBSjHJdsdYMuD2DXFsnHbVi3WqsQE++R7nmA==","signatures":[{"sig":"MEUCIQDsGiHRDcTH7cuTQfSBuF0uVAAzt9OKe/vaxm3I0oEBTwIgaEwQvNdgy5PuPDSyKcfmULaVgc5fAUAZAvZmbme8wPA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW+YvCRA9TVsSAnZWagAANykQAIUkaMCcjN0x66M3/yCi\nrwZpmXc/D8ng6tcIALvFia317X6fFf1iuCnfAdDabDqtDdS7BKPioDSvhpwa\nlTQniVkwZpoOMRtqDsb34K//9laSAC0pkOh41UkoTexcNqnOQiSJcsQuJxQx\ni200gXFNRvoSnzwrFGoDeglvIpzIcqRWK3Vxigssmu6ArxvopCyaP4qkhNiu\nskgg0E1RHyrqIr3H21gXv3uZ7YK/1f2QFdikBC0Zhnk0n4UwdyooRqEUyB7t\naMjL5P3/S4fKLN5XEPZQqy1h8kCeoDNmSaqI8+We5j6CRwKnfSekybttKU6n\nOPBgVknOC/S+EYHR8Dq2XNGI7YeCu/tsJEgBvwcyDVMMMBX8omeF3xJO2bwU\nxm3h9QAlUViFevWlzVKNqOGrH9gyYTYZiGUaYvUc+W3hAEF4jy2mTtUjzvM8\nr0sT0lrnh8re1cuAH439oZUbOnrZx5JZWR115AgbKn+j6KRJKNxHd2CdRrsb\nLvMcsAwdherptDnUP2QU6vAeh6pXdJZkacy0D6b7tVeVITT+m3GjLjM0BD2k\n1FQ2ya94F/Ha6uEXAr7cS/23JBl7u1dgvmifR6vp77UN4CbQUNW+4ahWcEZo\nB4zkUVssw5OaLGsGhLubhfnUSQ9JNyq9dPFQsI0uVgrbFVYjQ2FCCdlqdDDG\no0Mp\r\n=ejZ+\r\n-----END PGP SIGNATURE-----\r\n","size":8663,"noattachment":false,"key":"/@xstate/graph/-/@xstate/graph-1.2.0.tgz"},"main":"lib/index.js","types":"lib/index.d.ts","module":"es/index.js","scripts":{"test":"jest","build":"tsc && tsc --outDir es --module es2015","clean":"rm -rf dist lib es tsconfig.tsbuildinfo","prepublish":"npm run build && npm run test"},"_npmUser":{"name":"davidkpiano","email":"davidkpiano@gmail.com"},"repository":{"url":"git+ssh://git@github.com/davidkpiano/xstate.git","type":"git"},"_npmVersion":"6.14.6","description":"XState graph utilities","directories":{},"sideEffects":false,"_nodeVersion":"12.18.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","xstate":"*","ts-jest":"^24.1.9","typescript":"^3.9.7","lerna-alias":"3.0.3-0"},"peerDependencies":{"xstate":"^4.9.0"},"_npmOperationalInternal":{"tmp":"tmp/graph_1.2.0_1599858222987_0.6403104991649287","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":1599858223136,"_cnpm_publish_time":1599858223136,"dist-tags":{"alpha":"2.0.0-alpha.2","beta":"2.0.0-beta.6","latest":"3.0.4","next":"1.0.0-rc1.1"}}