0.2.0 • Published 7 months ago

tarjan-scc v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Tarjan-SCC

Install:

npm install --save tarjan-scc

Usage:

import { Tarjan } from 'tarjan-scc';

const t = new Tarjan();

// Add verticies.
t.addVertex(1);
t.addVertex(2);
t.addVertex(3);
t.addVertex(4);

// Connect vertices.
t.connectVertices(1, 2);
t.connectVertices(2, 3);
t.connectVertices(3, 4);
t.connectVertices(4, 2);

// Check for loops.
t.hasLoops(); // true

Publish a Release

  1. Update to a new version (x.x.x) in package.json
  2. git commit -am "release x.x.x"
  3. git push origin main
  4. git tag vx.x.x
  5. git push origin vx.x.x
  6. npm run compile
  7. npm publish ./
0.2.0

7 months ago

0.1.0

7 months ago

0.0.2

7 months ago