Nostalgic Perogi Monogramming

npm

Need private packages and team management tools?Check out npm Orgs. »

This package has been deprecated

Author message:

This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

topo

3.0.3 • Public • Published

topo

Topological sorting with grouping support.

Build Status

Lead Maintainer: Devin Ivy

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']

install

npm i topo

Downloadsweekly downloads

1,533,447

version

3.0.3

license

BSD-3-Clause

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability