{"versions":{"3.0.0":{"name":"@types/topo","version":"3.0.0","description":"TypeScript definitions for topo","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"42c6a2c5ac31f8c4d1eee714fb8c1ddc150a4da20bc5e3f4cf75cd26188fb597","typeScriptVersion":"2.3","_id":"@types/topo@3.0.0","dist":{"shasum":"39c71412d33a5758019a974eca47d986b3586115","size":2183,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/topo/-/topo-3.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/topo_3.0.0_1545716312965_0.09434971245329282"},"_hasShrinkwrap":false,"publish_time":1545716313094,"_cnpm_publish_time":1545716313094},"3.0.1":{"name":"@types/topo","version":"3.0.1","description":"","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/topo","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/topo"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"1b4f685280d914b68f1adc61f2847ef89530aca32f0347c6025f28ccdcf48f24","typeScriptVersion":"3.6","_id":"@types/topo@3.0.1","dist":{"shasum":"a0898bfc12638d47a11e766aaef6cb4ed9e4ad1d","size":2271,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/topo/-/topo-3.0.1.tgz"},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/topo_3.0.1_1625255240514_0.6723027665134818"},"_hasShrinkwrap":false,"publish_time":1625255240638,"_cnpm_publish_time":1625255240638},"3.0.2":{"name":"@types/topo","version":"3.0.2","description":"TypeScript definitions for topo","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/topo","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/topo"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"3386e3314d9d2ea16e744b81e5f3f1264c004109d8cbb8e894481a08b246f31a","typeScriptVersion":"4.3","_id":"@types/topo@3.0.2","dist":{"integrity":"sha512-hStl2y0nMe9cEoS7sizWBrre7xjoPjW6q3vyGjF5yjj9TZtfOM7B79IdDOfkBMcm3qimUSHwa5GU/OUXM/u8lA==","shasum":"b67c5bfa75133957b0375cdd7d9ff445b056bd0a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/topo/-/topo-3.0.2.tgz","fileCount":5,"unpackedSize":7100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx79phDtp5HOxiZMGHd+ryFRDY8XVBej1ILtaSmPXqZwIhAOlYfRWZl2iL0PYcpkAr5LG/tMtK1Z76qBtB6VXWiixu"}],"size":2305},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/topo_3.0.2_1694523034700_0.9793108983958629"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-12T12:50:34.891Z","publish_time":1694523034891,"_source_registry_name":"default"},"3.0.3":{"name":"@types/topo","version":"3.0.3","description":"TypeScript definitions for topo","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/topo","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/topo"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"6e221e76ff57710b81d3a5281d75cfe02c93f8a2f097437ef29d672733a15f78","typeScriptVersion":"4.5","_id":"@types/topo@3.0.3","dist":{"integrity":"sha512-FRUFlRH9rgMGipqcdvOGHYfnP5pzPQPWeejCeh/NycZTm6ScwdUjRVHM8pEwtVsNntBhpEUUzpxC37KXI4wQig==","shasum":"f7075d691a04a63067f3e24dca4097684bfbf02b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/topo/-/topo-3.0.3.tgz","fileCount":5,"unpackedSize":6584,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXY3lyGZADIeg7qXnl4QxAiIjzO4mQf8snJI/7cLkKWgIgayOpPqs1i3ZKLuMNHjG9YbveOY+jQAvwF9iNMXNDMWg="}],"size":2255},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/topo_3.0.3_1697646938508_0.5291431149647376"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T16:35:38.661Z","publish_time":1697646938661,"_source_registry_name":"default"},"3.0.4":{"name":"@types/topo","version":"3.0.4","description":"TypeScript definitions for topo","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/topo","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/topo"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"25ca3855b7d90698810450ea164611a6292328faa0e6ce6c843a4d065e3e4659","typeScriptVersion":"4.5","_id":"@types/topo@3.0.4","dist":{"integrity":"sha512-k4d/tgoFjjyrpoWYSiknsocEDcYCGpxAdcATJuHci1ExzSrjqBuNQiTMAr0FsFTnejQrrEMwVELT2qZM4sGBYg==","shasum":"5765430b97951ad35b614a9ffa71acd9c16c123f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/topo/-/topo-3.0.4.tgz","fileCount":5,"unpackedSize":6584,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKPhvzrbdsqa2N915a14jBd6bm72hUhEnKQhXIy7igeQIgHQaoN9cX1Hcte0co0kRNrqFWoJwTvKw4/aL6xwZaIos="}],"size":2252},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/topo_3.0.4_1699380178435_0.6007596041987446"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T18:02:58.625Z","publish_time":1699380178625,"_source_registry_name":"default"}},"dist-tags":{"latest":"3.0.4","ts2.3":"3.0.0","ts2.4":"3.0.0","ts2.5":"3.0.0","ts2.6":"3.0.0","ts2.7":"3.0.0","ts2.8":"3.0.0","ts2.9":"3.0.0","ts3.0":"3.0.0","ts3.1":"3.0.0","ts3.2":"3.0.0","ts3.3":"3.0.0","ts3.4":"3.0.0","ts3.5":"3.0.0","ts3.6":"3.0.1","ts3.7":"3.0.1","ts3.8":"3.0.1","ts3.9":"3.0.1","ts4.0":"3.0.1","ts4.1":"3.0.1","ts4.2":"3.0.1","ts4.3":"3.0.2","ts4.4":"3.0.2","ts4.5":"3.0.4","ts4.6":"3.0.4","ts4.7":"3.0.4","ts4.8":"3.0.4","ts4.9":"3.0.4","ts5.0":"3.0.4","ts5.1":"3.0.4","ts5.2":"3.0.4","ts5.3":"3.0.4","ts5.4":"3.0.4","ts5.5":"3.0.4","ts5.6":"3.0.4","ts5.7":"3.0.4","ts5.8":"3.0.4","ts5.9":"3.0.4","ts6.0":"3.0.4"},"name":"@types/topo","time":{"modified":"2025-08-03T07:54:05.653Z","created":"2022-01-27T21:34:08.216Z","3.0.0":"2018-12-25T05:38:33.094Z","3.0.1":"2021-07-02T19:47:20.638Z","3.0.2":"2023-09-12T12:50:34.891Z","3.0.3":"2023-10-18T16:35:38.661Z","3.0.4":"2023-11-07T18:02:58.625Z"},"readme":"# Installation\r\n> `npm install --save @types/topo`\r\n\r\n# Summary\r\nThis package contains type definitions for topo (https://github.com/hapijs/topo#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/topo.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/topo/index.d.ts)\r\n````ts\r\nexport = Topo;\n\n/**\n * The Topo object is the container for topologically sorting a list of nodes with non-circular interdependencies.\n */\ndeclare class Topo<TNode = any, TGroup = string> {\n    /**\n     * An array of the topologically sorted nodes. This list is renewed upon each call to `topo.add()`.\n     */\n    nodes: TNode[];\n\n    /**\n     * Specifies an additional node or list of nodes to be topologically sorted.\n     *\n     * @param nodes a mixed value or array of mixed values to be added as nodes to the topologically sorted list.\n     * @param options optional sorting information about the `nodes`:\n     * - `group` - a string naming the group to which `nodes` should be assigned. The group name `'?'` is reserved.\n     * - `before` - a string or array of strings specifying the groups that `nodes` must precede in the topological sort.\n     * - `after` - a string or array of strings specifying the groups that `nodes` must succeed in the topological sort.\n     * - `sort` - a numerical value used to sort items when performing a `topo.merge()`.\n     * @returns an array of the topologically sorted nodes.\n     */\n    add(\n        nodes: TNode | TNode[],\n        options?: {\n            group?: TGroup | undefined;\n            before?: TGroup | TGroup[] | undefined;\n            after?: TGroup | TGroup[] | undefined;\n            sort?: number | undefined;\n        },\n    ): TNode[];\n\n    /**\n     * Merges another `Topo` object into the current object.\n     * If the order in which items have been added to each list matters, use the `sort` option in `topo.add()`\n     * with an incrementing value providing an absolute sort order among all items added to either object.\n     *\n     * @param others the other object or array of objects to be merged into the current one. `null` values are ignored.\n     * @returns an array of the topologically sorted nodes. Will throw if a dependency error is found as a result of the combined items.\n     */\n    merge(others: Topo<TNode, TGroup> | Array<Topo<TNode, TGroup>>): TNode[];\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender).","users":{}}