Socket
Socket
Sign inDemoInstall

ansi2html

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0 to 0.0.1

bin/ansi2html

40

package.json

@@ -1,20 +0,24 @@

{ "author": "Isaac Wolkerstorfer <agnoster@gmail.com> (http://agnoster.net/)"
, "name": "ansi2html"
, "description": "Convert text with ANSI escape sequences to HTML markup"
, "version": "0.0.0"
, "homepage": "https://github.com/agnoster/ansi2html-js"
, "repository":
{ "url": ""
{
"author": "Isaac Wolkerstorfer <agnoster@gmail.com> (http://agnoster.net/)",
"name": "ansi2html",
"description": "Convert text with ANSI escape sequences to HTML markup",
"version": "0.0.1",
"homepage": "https://github.com/agnoster/ansi2html",
"bin": {
"ansi2html": "./bin/ansi2html"
},
"repository": {
"url": ""
},
"main": "./lib/",
"engines": {
"node": ">0.4"
},
"dependencies": {},
"devDependencies": {
"vows": "~0.5.8"
},
"scripts": {
"test": "./node_modules/vows/bin/vows test/* --spec"
}
, "main": "./lib/ansi2html"
, "engines":
{ "node": ">0.4"
}
, "dependencies": {}
, "devDependencies":
{ "vows": "~0.5.8"
}
, "scripts":
{ "test": "./node_modules/vows/bin/vows test/*_spec.js --spec"
}
}

@@ -11,3 +11,3 @@ # ansi2html.js [![build status](https://secure.travis-ci.org/agnoster/ansi2html.png?branch=master)](http://travis-ci.org/agnoster/ansi2html)

```
becomes

@@ -39,4 +39,16 @@

In the terminal:
```bash
git log --color | ansi2html > result.html
```
That's right, ansi2html.js works in Node *and* in the browser, in more or less the same way.
## Supported
* bold
* underline
* foreground & background color
## MIT License

@@ -43,0 +55,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc