{"name":"@xstate/graph","version":"1.4.0","keywords":["state","machine","statechart","scxml","state","graph"],"author":{"name":"David Khourshid","email":"davidkpiano@gmail.com"},"license":"MIT","_id":"@xstate/graph@1.4.0","maintainers":[{"name":"andarist","email":"mateuszburzynski@gmail.com"},{"name":"davidkpiano","email":"davidkpiano@gmail.com"}],"homepage":"https://github.com/davidkpiano/xstate/tree/main/packages/xstate-test#readme","bugs":{"url":"https://github.com/davidkpiano/xstate/issues"},"dist":{"shasum":"cbd5bb4c850de54598d09a99f87633c1789e0075","tarball":"http://registry-npm.ywwl.com/@xstate/graph/download/@xstate/graph-1.4.0.tgz","fileCount":16,"integrity":"sha512-FRHLFmH785xT37E3xd5bxWO35mprztv7x2pkuGmmrSSlBvIcyBr/7VfJcfh+rs9fXmL0AejFOQLO13p6zO/Ucg==","signatures":[{"sig":"MEYCIQCkl0bCWJ4Ct29sZplAx+hwq/UNQDjr/v7YSFXdIfCLgQIhAIKDNKTgvb5aWk2NInuDTELSbVFX4lm9A2PQqAhPH8vG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2h9qCRA9TVsSAnZWagAAT8kP/0bGLnBwxU/FoPBpc/ZI\nHMeexKYbXDy1BfdChLctiN6SYI1qq6D0T40xm8FWKOuMA4TJgqt42nsxtvhv\nkLoYU07MrJU4AIJKCFPQ7gmmD//qJU3U2kJM6OuwGTOyY5AM3ac45qGW6HL2\ndp5bVKwHOGFrRkp7Oz8ZWezF/DU3ZHzGqIy7ax7CEXsYcKSvK83NlZyYq0KW\nXzriPL199UV1SgH8gH02KUyu0aFHwIU7LSj1KEOICUXPzzEboSP+MGeo/AaK\nXlofomfVROAH4p3Splm3q9T0mUdyOj3pvh53XN3HcPxRcwil7dNUPMMNqSOa\nDn9CCKl1cY9lLh39ommEdLyzuzFr0ZzKAIxAeCF7JvRGBq/+JFccY1U9Otuj\nYGm2n9E4B663Lf8kMXyrl8EfY2XJEzQa5QN/0nOxCjJ3frOoxY+0x9jV72O4\ne6YbH03fhseEOdbyhWy6xVLTWP2nB1B2UFahcO5d3KzGQ1peoOfDXEd6I1xQ\nU+lBlVRBZC6mdYpP2ToJH+Hn3MZxXChBINEKdHTIQh+M7UEnFlJVUX2BOMpj\ntLAWlqzk+WCTx/42nwGy4qBzjwvzcsGWN4GMNjN2ILjPu3tH8lgCzj/UTivu\nZ73197oY9EEB7ggM9GgN60pXm0zBcOfctPwzP7ej0Bi0P2zEnIhimk0XBR2z\nbv1N\r\n=alHb\r\n-----END PGP SIGNATURE-----\r\n","size":8667,"noattachment":false,"key":"/@xstate/graph/-/@xstate/graph-1.4.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.15","description":"XState graph utilities","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","xstate":"*","ts-jest":"^26.5.6","typescript":"^4.3.5","lerna-alias":"3.0.3-0"},"peerDependencies":{"xstate":"^4.9.0"},"_npmOperationalInternal":{"tmp":"tmp/graph_1.4.0_1635189030684_0.1561414752316035","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":1635189030955,"_cnpm_publish_time":1635189030955,"dist-tags":{"alpha":"2.0.0-alpha.2","beta":"2.0.0-beta.6","latest":"3.0.4","next":"1.0.0-rc1.1"}}