Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/supersonicpineapple/canvas-tools

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/supersonicpineapple/canvas-tools

  • v0.0.0-20240511071604-f3483a9dac04
  • Source
  • Go
  • Socket score

Version published
Created
Source

canvas-tools

A work in progress collection of tools working with jsoncanvas files.

Usage

Example: commands/example/simple-canvas.go

The simple-canvas command makes use of the go-jsoncanvas library.

$ go run ./cmd/simple example sample-canvas

This example creates a simple canvas sample file and stores it at ./data/sample.canvas.

Canvas stats

$ go run ./cmd/simple canvas stat data/sample.canvas
Canvas: sample.canvas
	Nodes: 4
		Text nodes: 3
		File nodes: 0
		Link nodes: 0
		Group nodes: 1
	Edges: 2

With human readable trace-level logging:

$ go run ./cmd/simple --human-readable --logging --log-level -1 canvas ...

FAQs

Package last updated on 11 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc