/ piacw.com / dev / final / node_modules / @hapi / topo /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]lib/2 years ago -  
[TXT]CHANGELOG.md2 years ago354 0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]LICENSE.md2 years ago1.5K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md2 years ago755 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2 years ago1.5K0fb859dc fixed mobile overflwo options [كارل مبارك]
README.md

@hapi/topo

Topological sorting with grouping support.

Build Status

Usage

See the API Reference

Example

const Topo = require('topo');

const morning = new Topo();

morning.add('Nap', { after: ['breakfast', 'prep'] });

morning.add([
    'Make toast',
    'Pour juice'
], { before: 'breakfast', group: 'prep' });

morning.add('Eat breakfast', { group: 'breakfast' });

morning.nodes;        // ['Make toast', 'Pour juice', 'Eat breakfast', 'Nap']
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80