Comparing version
#!/usr/bin/env node | ||
var sys = require("sys"), | ||
html = require("../lib/html"); | ||
var html = require("../lib/html"); | ||
@@ -6,0 +5,0 @@ var args = process.argv.slice(0); |
{ "name": "html" | ||
, "version": "0.0.1" | ||
, "version": "0.0.2" | ||
, "engines": [ "node >=0.4.0" ] | ||
@@ -4,0 +4,0 @@ , "description": "HTML pretty printer." |
@@ -29,2 +29,20 @@ # commonjs html prettyprinter | ||
</h2> | ||
```` | ||
```` | ||
## Advanced usage | ||
I find myself constantly using the 'Copy as HTML' feature of the Chrome Inspector: | ||
 | ||
The downside is that that usually the HTML that gets copied is pretty ugly: | ||
 | ||
On OS X you can use `pbpaste` and `pbcopy` to stream your clipboard in and out of unix pipes. With the ugly HTML still in your clipboard run this command: | ||
`pbpaste | html | pbcopy` | ||
Now when you paste your clipboard into an editor you will get nice, pretty printed HTML: | ||
 |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
708631
3672.32%7
75%48
65.52%0
-100%423
-0.24%1
Infinity%