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.5 to 0.1.7

6

dist/wasm/index.d.ts

@@ -5,5 +5,6 @@ /**

* @param {number | undefined} [width]
* @param {string | undefined} [font]
* @returns {string}
*/
export function to_svg(s: string, theme: string, width?: number | undefined): string;
export function to_svg(s: string, theme: string, width?: number | undefined, font?: string | undefined): string;
/**

@@ -13,4 +14,5 @@ * @param {string} s

* @param {number | undefined} [width]
* @param {string | undefined} [font]
* @returns {string}
*/
export function to_html(s: string, theme: string, width?: number | undefined): string;
export function to_html(s: string, theme: string, width?: number | undefined, font?: string | undefined): string;
{
"name": "ansi2",
"version": "0.1.5",
"version": "0.1.7",
"description": "ansi2",

@@ -26,6 +26,7 @@ "main": "dist/index.js",

"devDependencies": {
"@types/node": "^20.12.11",
"esbuild": "^0.21.1",
"@types/node": "^20.12.11",
"typescript": "^5.4.5",
"wasm-pack-sync": "0.1.5"
}
}

@@ -8,1 +8,8 @@ ## usage

```
## custom font
```bash
neofetch | ansi2 --format=svg --theme=vscode --font=./font.ttf > ./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