1.9.0 • Published 2 years ago

squiggly-lines v1.9.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Squiggly Lines

A light-weight monitoring platform for rapid debugging. Think Prometheus meets WireShark.

Designed as a proxy library for json-like packets, runs a local web server to forward packets to an HTML client for inspection and visualiztion. Allows fro dynamic grouping/filtering to discover trends.

See stevarino/bedrock-squiggles for a complete example.

Assumptions

  • JSON-like packet structure.
  • All values are treated internally as strings.
  • Array items share a schema (can be disabled in options).

Installation

npm install squiggly-lines

Configuration

const squiggles = require('squiggly-lines');

// see src/options.ts
const webServer = new squiggles.Server({
  server: { port: 8080 },
  frontend: { title: 'My Squiggles Server' },
});

packetSrc.on(packet: object => {
  // call jsonEvent() for each packet object
  webServer.jsonEvent(packet)
});
1.9.0

2 years ago

1.8.1

2 years ago

1.8.0

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago