{"name":"toposource","version":"1.1.4","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.16.1","@types/toposort":"^2.0.3","benchmark":"^2.1.4","c8":"^7.13.0","concurrently":"^8.0.1","esbuild":"^0.17.18","esbuild-node-externals":"^1.7.0","eslint":"^8.39.0","eslint-config-qiwi":"^2.1.1","toposort":"^2.0.2","tsm":"^2.3.0","typedoc":"^0.24.6","typescript":"^5.0.4","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":"e9beae36161a8d44ffa072c2a58321d50af87919","bugs":{"url":"https://github.com/semrel-extra/toposource/issues"},"homepage":"https://github.com/semrel-extra/toposource#readme","_id":"toposource@1.1.4","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-WOHoshZjzHHfHf7zSEjgk48Fv29m4uqPj0fVFKnDbH0A35gyD8BncofU01pDRdaDQ8VIace8WuQ3ChHfpBjqvg==","shasum":"94a39668236b66dedd97c29157a0b46db9236862","tarball":"http://registry-npm.ywwl.com/toposource/download/toposource-1.1.4.tgz","fileCount":10,"unpackedSize":22775,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/toposource@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpYGjXH2cOyx4fnzmh1SC5mZ9eiwpKxp+vKHMOg8VmfAIhAJ8FpjYOYgHovEOxnXRPY6KYS1QPNntrnPUYCbQFuVoY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSTfTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnJw/9GT0hPcOkylm8wnXZyyFb3DC6KbJ3SXhGFjHm4oz8iV1HutJ9\r\nsbo36veiu9LKir2NcUzSXjSF9MoHzYmjgRsoN5fypdi2ku2aHfCAwgCQpI+l\r\nb8+6HjB4bew2+H0AreZ/3ocydjdA1FYotPhDMRrI98p7T94riyfKdzJ87ECF\r\nrjKD0qMOw9Y6rw0v2SRTFgs+SHZNiDKuyglteaxmpHqKjGhXME5wHLZpZSyO\r\nobKaFIgoFO9Pbfv0MI3oE39Qx/cVXnj8ZjndIHaAP/LwNuNtVSxrdewuTcXb\r\nCPIVvKWK91DNAcNePdh5SbV6wwz5IGWN+246s3rsut2gB+Tq4HVNLClTMTTA\r\nnyxn0iEnITa0MZkL8/xPyoBOeKco06KLybEH2+mRbVyjmIkEkWXuGq8btDac\r\n2dVbqSU/jkGKIGgFlYX+fo11y4i5oR7W6WO8BjRQHVDC2mkI3jB6MjZvW2WN\r\nIK5uPxomvLD6+6mlyKwRCmyi1tjZcViwSkovL9xDpNwrtFr7JPa3QjYBo6JL\r\nRM84M2djOvL7WCSQoq2XTWcjgjbqNgdV6CYu95E2g1Tsb0jjaJLuEHUB/vei\r\nGVu1Cw6UPTTEl7K+XchB2kJl+cpfhY8oG6jgXGQH8A7ELHo7hhStxVI8OJ89\r\nTiw2mYEqWDH7Ky5gcsprywXOkfXGGkOOmQ8=\r\n=GPL8\r\n-----END PGP SIGNATURE-----\r\n","size":5300,"noattachment":false,"key":"/toposource/-/toposource-1.1.4.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.4_1682520018985_0.12503366136181082"},"_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":1682520019172,"_cnpm_publish_time":1682520019172,"dist-tags":{"latest":"1.2.0"}}