{"name":"topo","description":"Topological sorting with grouping support","version":"1.1.0","repository":{"type":"git","url":"git://github.com/hapijs/topo"},"main":"lib/index.js","keywords":["topological","sort","toposort","topsort"],"engines":{"node":">=0.10.40"},"dependencies":{"hoek":"2.x.x"},"devDependencies":{"lab":"6.x.x","code":"1.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -t 100 -L -r html -o coverage.html"},"license":"BSD-3-Clause","readme":"# topo\n\nTopological sorting with grouping support.\n\n[![Build Status](https://secure.travis-ci.org/hapijs/topo.png)](http://travis-ci.org/hapijs/topo)\n\nLead Maintainer: [Devin Ivy](https://github.com/devinivy)\n\n## Usage\n\nSee the [API Reference](API.md)\n\n**Example**\n```node\nvar Topo = require('topo');\n\nvar 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","bugs":{"url":"https://github.com/hapijs/topo/issues"},"homepage":"https://github.com/hapijs/topo","_id":"topo@1.1.0","_shasum":"e9d751615d1bb87dc865db182fa1ca0a5ef536d5","_from":"https://registry.npmjs.org/topo/-/topo-1.1.0.tgz","_resolved":"https://registry.npmjs.org/topo/-/topo-1.1.0.tgz"}