🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

clark

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clark - npm Package Compare versions

Comparing version

to
0.0.5

16

lib/clark.bin.js

@@ -1,14 +0,12 @@

#!/usr/local/bin/node
#!/usr/bin/env node
var app, data, index, _;
_ = require('underscore');
var data, clark, a;
clark = require('clark').clark;
data = [];
index = 0;
_.find(process.argv, function(a, i) {
index = i;
return !_.isNaN(parseInt(a));
});
for(a in process.argv){
if(a > 1) // ignore name and 'executable'
data.push(process.argv[a >> 0]);
}
data = _.rest(process.argv, index);
process.stdout.write(clark(data) + "\n");
(function() {
var data, ticks;
ticks = ['▁', '▂', '▃', '▄', '▅', '▆', '▇', '█'];
exports.clark = function(data) {

@@ -18,2 +20,3 @@ var m, n, t;

};
if (require.main === module) {

@@ -27,2 +30,3 @@ data = process.argv.map(function(a) {

}
}).call(this);
{
"name": "clark",
"version": "0.0.4",
"version": "0.0.5",
"description": "ASCII sparklines in coffeescript. Based on 'spark' for shell.",

@@ -24,2 +24,1 @@ "keywords": ["ascii", "graph", "spark", "sparklines"],

}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet