Comparing version
@@ -34,3 +34,3 @@ var msee = require('./msee'); | ||
var text = msee.parseFile(file); | ||
console.log(text); | ||
process.stdout.write(text); | ||
} | ||
@@ -48,3 +48,3 @@ catch (e) { | ||
var out = msee.parse(text); | ||
console.log(out); | ||
process.stdout.write(out); | ||
}); | ||
@@ -51,0 +51,0 @@ } |
var chalk = require('chalk'); | ||
var os = require('os'); | ||
var lightColor = os.platform() === 'linux' ? chalk.white : chalk.grey; | ||
var colorBrushes = { | ||
"syntax": chalk.grey, | ||
"syntax": lightColor, | ||
"heading": chalk.cyan.bold, | ||
"hr": chalk.grey, | ||
"code": chalk.grey, | ||
"hr": lightColor, | ||
"code": lightColor, | ||
"blockquote": chalk.blue, | ||
@@ -9,0 +12,0 @@ "bold": chalk.bold, |
{ | ||
"name": "msee", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Msee is a command-line tool to read Markdown file in your terminal, and it's a library help your command-line software to output readable markdown content.", | ||
"main": "./lib/msee.js", | ||
"bin": "./bin/msee", | ||
"scripts": { | ||
"test": "env FORCE_COLOR=true tap --lines=85 test/**/*.js" | ||
}, | ||
"repository": { | ||
@@ -14,3 +17,3 @@ "type": "git", | ||
"ansicolors": "^0.3.2", | ||
"cardinal": "^0.6.0", | ||
"cardinal": "^0.7.1", | ||
"chalk": "^1.1.1", | ||
@@ -34,6 +37,12 @@ "marked": "^0.3.5", | ||
"author": "Firede <firede@firede.us>", | ||
"contributors": [ | ||
"Martin Heidegger <martin.heidegger@gmail.com>" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/firede/msee/issues" | ||
}, | ||
"devDependencies": { | ||
"tap": "^5.7.1" | ||
} | ||
} |
@@ -5,2 +5,4 @@ msee | ||
[](https://npmjs.org/package/msee) | ||
[](https://travis-ci.org/firede/msee) | ||
[](https://coveralls.io/github/firede/msee?branch=master) | ||
[](https://david-dm.org/firede/msee) | ||
@@ -7,0 +9,0 @@ [](https://npmjs.org/package/msee) |
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
43335
86.68%18
50%671
2.6%52
4%1
Infinity%3
50%+ Added
- Removed
Updated