{"name":"toposource","version":"1.1.3","description":"Directed graphs analyzer for parallel traversals","main":"./target/cjs/index.js","module":"./target/esm/index.mjs","types":"./target/dts/index.d.ts","exports":{".":{"require":"./target/cjs/index.js","import":"./target/esm/index.mjs","types":"./target/dts/index.d.ts"}},"publishConfig":{"access":"public"},"scripts":{"build":"concurrently 'npm:build:*'","build:esm":"node ./src/scripts/build.cjs && rename -f 's/\\.js$/\\.mjs/' target/esm/*.js","build:cjs":"node ./src/scripts/build.cjs --cjs","build:dts":"tsc --emitDeclarationOnly --outDir target/dts","build:docs":"typedoc --options src/main/typedoc","lint":"eslint -c src/test/lint/.eslintrc.json src","format":"yarn test:lint --fix","test":"concurrently 'npm:test:*'","test:lint":"eslint -c src/test/lint/.eslintrc.json src","test:unit":"c8 -r html -r text -r lcov --exclude ./src/test -o ./target/coverage uvu -r tsm src/test/ts","test:it":"uvu -r tsm src/test/js","test:bench":"node src/test/bench/index.mjs"},"repository":{"type":"git","url":"git+https://github.com/semrel-extra/toposource.git"},"devDependencies":{"@types/node":"^18.15.10","@types/toposort":"^2.0.3","benchmark":"^2.1.4","c8":"^7.13.0","concurrently":"^7.6.0","esbuild":"^0.17.14","esbuild-node-externals":"^1.6.0","eslint":"^8.36.0","eslint-config-qiwi":"^2.1.1","toposort":"^2.0.2","tsm":"^2.3.0","typedoc":"^0.23.28","typescript":"^5.0.2","uvu":"^0.5.6"},"keywords":["topological","sort","sorting","graphs","graph","dependency","list","dependencies","directed","acyclic","dag"],"contributors":[{"name":"Choro Abdymanapov","email":"oljekechoro@mail.ru"},{"name":"Anton Golub","email":"antongolub@antongolub.com"}],"license":"MIT","gitHead":"164ca93b5edd42b3780631e408d994f281d9aa5a","bugs":{"url":"https://github.com/semrel-extra/toposource/issues"},"homepage":"https://github.com/semrel-extra/toposource#readme","_id":"toposource@1.1.3","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-ddh/t4yqUXcpQgtV2tb2cjSU4bAQ7dw923OKE9Mi3DdsGNXEd0mwY1hzhhAeS7njcKJlE6Bj0BqI9W+rrpdT7g==","shasum":"0aa6becb9695d5190cd3c2064776a1efdd7ed4e8","tarball":"http://registry-npm.ywwl.com/toposource/download/toposource-1.1.3.tgz","fileCount":8,"unpackedSize":11793,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv6oEE8nYmT8skmT8h8sDiXFv3C2ohn1JGociap3SiPgIhAPyYMseWyX8YBdRFwO8IIvaCpc0z8W380FDW8RW2dUpq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIJM9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtDg/+NfwUEwn+JxCCJxelZjSKmRm0+lwIRYS6GLCIKGj5XchDhLHO\r\nxNTQxxrPGEpogx1i8YRafs+Z5pIaDNVtXQwIFlZk0emLEMHTZLaGH+TTHS+f\r\nuJe50KxKQyI4LFshXaJyw78X38jVKTGARZuKRB4e0QKZzFS1HmxmroFMadcJ\r\nAOt0yBe7+EOvB0zJlT8JRfAMk6Dw5osPVtTE1Fi+9fBV7FpGpblHHvon3JIg\r\n1laVdAvHxsELfaQayp3rBrDx0t7DSAy+YQM6vbx4jUHrordPyalkYGVgrvX1\r\nA/aBlqpiaf68WpcVco239dtEbvmUFgoMtZMoIeXqK1xsF5Wp27BN6MeXGMvK\r\n8Oph1rBnQ2xIN0dBK+H30agTCEJRd6VHLLFutkrlJvgHjX1CrvvVFK1ZSU2Z\r\npADIwbDQDEDrDeF3yvEYCaGW/WPtBPRr70EtJfahnB0t+fW33yAG/Gh/ogfB\r\nsdF5ocLNmzyd4E2dzrV6B4CxxgaECSWrXh+eDn61JLr3sZ8bEf9yOZIjO3ET\r\ngVdoXWDghzQZoXAYH8uOCtTbiTyYAgxkQgDBZQdn45xozi+LqrmkahPquKV9\r\nAoeQy+NtvQimH5zTECBsw4U7ivbvZIzAhEEe3cliwCWtEBDDrL/URq1XrC1n\r\nFE1w4x2IuI8mrMknLRvCU2EORTPVWIa2nSY=\r\n=zinv\r\n-----END PGP SIGNATURE-----\r\n","size":3854,"noattachment":false,"key":"/toposource/-/toposource-1.1.3.tgz"},"_npmUser":{"name":"semrel-extra-bot","email":"semrel-extra-bot@hotmail.com"},"directories":{},"maintainers":[{"name":"semrel-extra-bot","email":"semrel-extra-bot@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toposource_1.1.3_1679856445676_0.5692664012432056"},"_hasShrinkwrap":false,"readme":"# toposource\n[![CI](https://github.com/semrel-extra/toposource/actions/workflows/ci.yaml/badge.svg?branch=master&event=push)](https://github.com/semrel-extra/toposource/actions/workflows/ci.yaml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/41fea7047ed5521e2075/maintainability)](https://codeclimate.com/github/semrel-extra/toposource/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/41fea7047ed5521e2075/test_coverage)](https://codeclimate.com/github/semrel-extra/toposource/test_coverage)\n> Directed graphs analyzer for parallel traversals\n\n## Usage\n\n```ts\nimport { analyze } from 'toposource'\n\nanalyze([['a', 'b'], ['b', 'c'], ['d', 'c'], ['e', 'f']])\n// →\n{\n  next: new Map([\n    ['a', ['b']],\n    ['b', ['c']],\n    ['d', ['c']],\n    ['e', ['f']]\n  ]),\n  prev: new Map([\n    ['b', ['a']],\n    ['c', ['b', 'd']],\n    ['f', ['e']]\n  ]),\n  sources: [ 'a', 'd', 'e' ],\n  queue: ['a', 'd', 'e', 'b', 'c', 'f'],\n  graphs: [{\n    sources: ['a', 'd'],\n    nodes: new Set(['a', 'b', 'd', 'c'])\n  }, {\n    sources: ['e'],\n    nodes: new Set(['e', 'f'])\n  },\n}\n```\n\n## Alternatives\n* [toposort](https://github.com/marcelklehr/toposort)\n* [batching-toposort](https://github.com/glebec/batching-toposort)\n* [js-graph-algorithms](https://github.com/chen0040/js-graph-algorithms)\n* [topology-runner](https://github.com/smartprocure/topology-runner)\n* [graph-data-structure](https://github.com/datavis-tech/graph-data-structure)\n\n## License\n[MIT](./LICENSE)\n","publish_time":1679856445847,"_cnpm_publish_time":1679856445847,"dist-tags":{"latest":"1.2.0"}}