@cspotcode/ansi-to-html
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@cspotcode/ansi-to-html", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"bin": "ansi-to-html", | ||
@@ -8,2 +8,10 @@ "files": [ | ||
], | ||
"author": { | ||
"name": "Andrew Bradley", | ||
"email": "cspotcode@gmail.com" | ||
}, | ||
"homepage": "https://github.com/cspotcode/ansi-to-html", | ||
"bugs": { | ||
"url": "https://github.com/cspotcode/ansi-to-html/issues" | ||
}, | ||
"devDependencies": { | ||
@@ -10,0 +18,0 @@ "@tsconfig/node12": "^1.0.9", |
## ansi-to-html | ||
CLI tool to convert ANSI colored text to an HTML file, with a few extra features to support me team's use-case. | ||
CLI tool to convert ANSI colored text to an HTML file, with a few extra features to support my team's use-case. | ||
We use it to generate pretty reports of subsets of automated CI tasks. Although CI servers are good at recording and | ||
visualizing build logs, sometimes it is helpful to upload a subset of the logs as a build artifact for easier review. | ||
visualizing build logs, sometimes it is helpful to upload the output of a single command separately as a build artifact | ||
for easier review. | ||
### Features | ||
There are other tools like this one. This tool has a few features they may not have: | ||
@@ -13,3 +16,3 @@ | ||
pop into a new tab. | ||
* `#L123`-style linking like Github. Click any line, it goes into the URL hash, copy a link to it. | ||
* Link to a specific line in a log, `#L123`-style like Github. Click any line, JS adds that line-number to the URL, you can copy a link to it. | ||
@@ -45,6 +48,8 @@ ### Usage | ||
For example, [here is the output of `git status`](https://cspotcode.github.io/ansi-to-html/examples/git-status.html) while I was working on this project: | ||
### Examples | ||
[Here is the output of `git status`](https://cspotcode.github.io/ansi-to-html/examples/git-status.html) while I was working on this project: | ||
``` | ||
❯ git -c color.status=always status | ansi-to-html > example-git-status.html | ||
❯ git -c color.status=always status | ansi-to-html > examples/git-status.html | ||
``` |
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
281848
0
1
54