
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
ascii-art-graph
Advanced tools
Currently uses d3 internally for domain/range generation, but the eventual goal is a "drop in" d3 compatible interface
var graph = new Graph.Timeseries({
height : 20,
width : 80,
node : '@',
line : '`',
timeField : 'date',
valueField : 'value',
colors : ['red', 'blue']
});
graph.render({
'timeseries-a' : [
{ value: 2, date: '2019-11-25T01:55:45.000Z' },
{ value: 5, date: '2019-11-25T01:56:45.000Z' },
{ value: 3, date: '2019-11-25T01:58:45.000Z' },
{ value: 11, date: '2019-11-25T01:59:45.000Z' }
],
'timeseries-b' : [
{ value: 10, date: '2019-11-25T01:55:45.000Z' },
{ value: 8, date: '2019-11-25T01:56:45.000Z' },
{ value: 4, date: '2019-11-25T01:58:45.000Z' },
{ value: 6, date: '2019-11-25T01:59:45.000Z' }
]
}, function(err, result){
//do something with the result
});
will render:

and you can get finer detail by using the .braille() method to use the braille charset to subgrid the individual characters.
var graph = new Graph.Timeseries({
height : 20,
width : 80
});
graph.braille({
'some-random-timeseries' : [
{ value: 2, date: '2019-11-25T01:55:45.000Z' },
{ value: 5, date: '2019-11-25T01:56:45.000Z' },
{ value: 3, date: '2019-11-25T01:58:45.000Z' },
{ value: 11, date: '2019-11-25T01:59:45.000Z' }
]
}, function(err, text, grid){
//do something with the results
});
will render:

FAQs
draw graphs in the terminal
The npm package ascii-art-graph receives a total of 1,188 weekly downloads. As such, ascii-art-graph popularity was classified as popular.
We found that ascii-art-graph demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.