Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cfonts

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cfonts - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

fonts/chrome.json

32

fonts/3d.json
{
"name": "3D",
"version": "0.0.1",
"version": "0.0.2",
"homepage": "https://github.com/dominikwilkowski/cfonts",

@@ -336,3 +336,3 @@ "colors": 2,

"<c2>____</c2><c1>\\/\\\\\\</c1>",
"<c2>____</c2><c1>\\///"
"<c2>____</c2><c1>\\/// "
],

@@ -373,5 +373,5 @@ "2": [

"5": [
"<c2>__</c2><c1>/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\</c1>",
"<c2>_</c2><c1>\\/\\\\\\///////////</c1><c2>_</c2>",
"<c2>_</c2><c1>\\/\\\\\\</c1><c2>____________</c2>",
"<c2>__</c2><c1>/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\</c1> ",
"<c2>_</c2><c1>\\/\\\\\\///////////</c1><c2>_</c2> ",
"<c2>_</c2><c1>\\/\\\\\\</c1><c2>____________</c2> ",
"<c2>_</c2><c1>\\/\\\\\\\\\\\\\\\\\\\\\\\\</c1><c2>____</c2>",

@@ -440,11 +440,11 @@ "<c2>_</c2><c1>\\////////////\\\\\\</c1><c2>__</c2>",

"?": [
"<c2>___</c2><c1>/\\\\\\\\\\\\\\</c1><c2>___</c2>",
"<c1>/\\\\\\//////\\\\\\</c1><c2>_</c2>",
"<c2>___</c2><c1>/\\\\\\\\\\\\\\</c1><c2>___</c2> ",
"<c1>/\\\\\\//////\\\\\\</c1><c2>_</c2> ",
"<c1>\\///</c1><c2>_____</c2><c1>\\//\\\\\\</c1>",
"<c2>_________</c2><c1>/\\\\\\</c1><c2>_</c2>",
"<c2>______</c2><c1>/\\\\\\\\/</c1><c2>__</c2>",
"<c2>_____</c2><c1>/\\\\\\/</c1><c2>____</c2>",
"<c2>____</c2><c1>\\///</c1><c2>______</c2>",
"<c2>_____</c2><c1>/\\\\\\</c1><c2>_____</c2>",
"<c2>____</c2><c1>\\///</c1><c2>______</c2>"
"<c2>_________</c2><c1>/\\\\\\</c1><c2>_</c2> ",
"<c2>______</c2><c1>/\\\\\\\\/</c1><c2>__</c2> ",
"<c2>_____</c2><c1>/\\\\\\/</c1><c2>____</c2> ",
"<c2>____</c2><c1>\\///</c1><c2>______</c2> ",
"<c2>_____</c2><c1>/\\\\\\</c1><c2>_____</c2> ",
"<c2>____</c2><c1>\\///</c1><c2>______</c2> "
],

@@ -484,3 +484,3 @@ ".": [

],
"": [
"_": [
"<c2>_________________</c2>",

@@ -537,3 +537,3 @@ "<c2>_________________</c2>",

"<c1>\\///\\\\\\\\\\\\\\\\\\\\\\/</c1><c2>_</c2>",
"<c2>__</c2><c1>\\/////\\\\\\///</c1><c2>__</c2>",
"<c2>__</c2><c1>\\/////\\\\\\///</c1><c2>__</c2> ",
"<c2>______</c2><c1>\\///</c1><c2>_______</c2>"

@@ -550,3 +550,3 @@ ],

"<c2>_</c2><c1>/\\\\\\/</c1><c2>_____</c2><c1>\\//\\\\\\</c1><c2>__</c2>",
"<c1>\\///</c1><c2>________</c2><c1>\\///</c1><c2>__</c2>"
"<c1>\\///</c1><c2>________</c2><c1>\\///</c1><c2>__</c2> "
],

@@ -553,0 +553,0 @@ "&": [

{
"name": "simple3d",
"version": "0.0.1",
"version": "0.0.2",
"homepage": "https://github.com/dominikwilkowski/cfonts",

@@ -5,0 +5,0 @@ "colors": 1,

{
"name": "simpleBlock",
"version": "0.0.1",
"version": "0.0.2",
"homepage": "https://github.com/dominikwilkowski/cfonts",

@@ -42,3 +42,2 @@ "colors": 1,

" _|_|_| ",
" ",
" "

@@ -146,3 +145,3 @@ ],

"N": [
"",
" ",
" _| _|",

@@ -153,3 +152,3 @@ " _|_| _|",

" _| _|",
""
" "
],

@@ -435,3 +434,3 @@ "O": [

],
"#": [
"$": [
" _| ",

@@ -515,4 +514,2 @@ " _|_|_|",

" ",
" ",
" ",
" "

@@ -519,0 +516,0 @@ ]

@@ -58,2 +58,5 @@ /*

test11: 'cfonts "a b c defghijklmnopqrstuvwxyz0123456789\!?.+-_=@#$%&()/:;ü" -f "chrome"',
test12: 'cfonts "a b c defghijklmnopqrstuvwxyz0123456789\!?.+-_=@#$%&()/:;ü" -f "chrome" -c green,magenta',
test13: 'cfonts "a b c defghijklmnopqrstuvwxyz0123456789\!?.+-_=@#$%&()/:;ü" -a "center"',

@@ -60,0 +63,0 @@ test13: 'cfonts "a b c" -a right',

@@ -48,3 +48,3 @@ /***************************************************************************************************************************************************************

try {
let fontFile = __dirname + '/fonts/' + font + '.json'; //build font path
let fontFile = `${__dirname}/fonts/${font}.json`; //build font path
let FONTFACE = JSON.parse( Fs.readFileSync(fontFile, 'utf8') ); //read font file

@@ -292,2 +292,3 @@

'simple3d',
'chrome',
],

@@ -590,3 +591,3 @@ FONTFACE: {}, //Font face object to be filled with selected fontface

//
// @method error Return a headline preferably at the beginning of your app
// @method error Log an error out to the user
// @param [text] {string} The sting you want to log

@@ -593,0 +594,0 @@ // @return [ansi] {output}

{
"name": "cfonts",
"description": "Sexy fonts for the console",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/dominikwilkowski/cfonts",

@@ -6,0 +6,0 @@ "author": {

@@ -185,2 +185,3 @@ ```shell

- `simple3d` [colors: 1]
- `chrome` [colors: 3]

@@ -298,3 +299,20 @@ ```shell

## Test
The package comes with a testing tool for the font json format. Run the test with:
```shell
node test/fonttest.js
```
This tool checks:
- the existence
- all attributes of a font
- each character for:
- existence
- consistent width
- consistent lines
## Release History
* 1.0.1 - added chrome font, fonttest
* 1.0.0 - refactor, added alignment and line height option, new cli commands, added simpleBlock

@@ -301,0 +319,0 @@ * 0.0.13 - fixed simple3d

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc