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

ansi2

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansi2 - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

6

dist/wasm/index.d.ts
/**
* @param {string} s
* @param {string} theme
* @param {number | undefined} [width]
* @returns {string}
*/
export function to_svg(s: string, theme: string): string;
export function to_svg(s: string, theme: string, width?: number | undefined): string;
/**
* @param {string} s
* @param {string} theme
* @param {number | undefined} [width]
* @returns {string}
*/
export function to_html(s: string, theme: string): string;
export function to_html(s: string, theme: string, width?: number | undefined): string;
{
"name": "ansi2",
"version": "0.1.4",
"version": "0.1.5",
"description": "ansi2",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

## usage
```bash
npm i ansi2 -g
neofetch | ansi2 --format=svg --theme=vscode > ./neofetch.svg
```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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