{"name":"topo","description":"Topological sorting with grouping support","version":"2.1.1","repository":{"type":"git","url":"git://github.com/hapijs/topo.git"},"engines":{"node":">=6.0.0"},"main":"lib/index.js","keywords":["topological","sort","toposort","topsort"],"dependencies":{"hoek":"4.x.x"},"devDependencies":{"code":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L -l","test-cov-html":"lab -a code -t 100 -L -r html -o coverage.html -l"},"license":"SEE LICENSE IN LICENSE.md","_id":"topo@2.1.1","readme":"# topo\n\nTopological sorting with grouping support.\n\n[![Build Status](https://travis-ci.org/hapijs/topo.svg?branch=v2-commercial)](https://travis-ci.org/hapijs/topo)\n\n## License\n\nThis version of the package requires a commercial license. You may not use, copy, or distribute it without first acquiring a commercial license from Sideway Inc. Using this software without a license is a violation of US and international law. To obtain a license, please contact [sales@sideway.com](mailto:sales@sideway.com). The open source version of this package can be found [here](https://github.com/hapijs/topo).\n\n## Usage\n\nSee the [API Reference](API.md)\n\n**Example**\n```node\nconst Topo = require('topo');\n\nconst morning = new Topo();\n\nmorning.add('Nap', { after: ['breakfast', 'prep'] });\n\nmorning.add([\n    'Make toast',\n    'Pour juice'\n], { before: 'breakfast', group: 'prep' });\n\nmorning.add('Eat breakfast', { group: 'breakfast' });\n\nmorning.nodes;        // ['Make toast', 'Pour juice', 'Eat breakfast', 'Nap']\n```\n","readmeFilename":"README.md","gitHead":"e7ccfb3d9da66168bdd058674a95f09aa5c2670e","bugs":{"url":"https://github.com/hapijs/topo/issues"},"homepage":"https://github.com/hapijs/topo#readme","_nodeVersion":"18.18.1","_npmVersion":"10.2.1","dist":{"integrity":"sha512-ZPrPP5nwzZy1fw9abHQH2k+YarTgp9UMAztcB3MmlcZSif63Eg+az05p6wTDaZmnqpS3Mk7K+2W60iHarlz8Ug==","shasum":"d117450d1875f49056fb763a1adfde03c77b67a6","tarball":"http://registry-npm.ywwl.com/topo/download/topo-2.1.1.tgz","fileCount":4,"unpackedSize":8204,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATw0rW4HQyU73fOaPrWuQ5KdGXIspmQgOEqx4XYSpkTAiB4VTRZoh0JraW2Z0uDsgrt04TSx1C3NZ/zbw4ZUFJxfg=="}],"size":2644,"noattachment":false,"key":"/topo/-/topo-2.1.1.tgz"},"_npmUser":{"name":"nargonath","email":"jonas.pauthier@gmail.com"},"directories":{},"maintainers":[{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"devinivy","email":"devinivy@gmail.com"},{"name":"marsup","email":"nicolas@morel.io"},{"name":"nlf","email":"quitlahok@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/topo_2.1.1_1704113338471_0.29465953200183237"},"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained and may contain bugs and security issues.","publish_time":1704113338697,"_cnpm_publish_time":1704113338697,"dist-tags":{"latest":"3.0.3","v2-legacy":"2.1.1"}}