{"name":"@pnpm/deps.graph-sequencer","version":"1.0.0","keywords":["pnpm8","pnpm","graph"],"license":"MIT","_id":"@pnpm/deps.graph-sequencer@1.0.0","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"d30a0008bcb3df100aa55539594a742abb12e3c2","tarball":"http://registry-npm.ywwl.com/@pnpm/deps.graph-sequencer/download/@pnpm/deps.graph-sequencer-1.0.0.tgz","fileCount":6,"integrity":"sha512-vWWVbYYBBN/kweokmURicokyg7crzcDZo9/naziv8B8RSWrLWFpq5Xl0ro6QCQKgRmb6O78Qy9uQT+Fp79RxsA==","signatures":[{"sig":"MEQCID1x6zF3Z1IH9LvNhK7pjuqybCa2Ef6ZPzwf2NsvuIu4AiAzbsAnndOk33GJC7iQ+BJbOYJS9MhNUXCmhpaYVyS9zQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9850,"size":3558,"noattachment":false,"key":"/@pnpm/deps.graph-sequencer/-/@pnpm/deps.graph-sequencer-1.0.0.tgz"},"main":"lib/index.js","_from":"file:pnpm-deps.graph-sequencer-1.0.0.tgz","types":"lib/index.d.ts","engines":{"node":">=16.14"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pnpm run compile && pnpm run _test","_test":"jest","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"_resolved":"/tmp/e35475b6b527c471b5d705a21ad5dad3/pnpm-deps.graph-sequencer-1.0.0.tgz","_integrity":"sha512-vWWVbYYBBN/kweokmURicokyg7crzcDZo9/naziv8B8RSWrLWFpq5Xl0ro6QCQKgRmb6O78Qy9uQT+Fp79RxsA==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer","type":"git"},"_npmVersion":"9.8.1","description":"Sort items in a graph using a topological sort","directories":{},"_nodeVersion":"18.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/deps.graph-sequencer":"1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/deps.graph-sequencer_1.0.0_1697411686031_0.002180513390198202","host":"s3://npm-registry-packages"},"readme":"# @pnpm/deps.graph-sequencer\n\n> Sort items in a graph using a topological sort\n\n## Install\n\n```\npnpm add @pnpm/deps.graph-sequencer\n```\n\n## Usage\n\n```ts\n  expect(graphSequencer(new Map([\n    [0, [1]],\n    [1, [2]],\n    [2, [3]],\n    [3, [0]],\n  ]), [0, 1, 2, 3])).toStrictEqual(\n    {\n      order: [0, 1, 2, 3],\n      cycles: [[0, 1, 2, 3]],\n    }\n  )\n```\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1697411686212,"_cnpm_publish_time":1697411686212,"dist-tags":{"latest":"1101.0.1"}}