rearrage_stuff

This commit is contained in:
Kim Ravn Hansen
2025-09-16 11:26:40 +02:00
parent 40e8c5e0ab
commit 3f11ebe6dc
4937 changed files with 1146031 additions and 134 deletions

50
node_modules/figlet/examples/node/app.js generated vendored Normal file
View File

@@ -0,0 +1,50 @@
/*
Example
*/
var figlet = require("../../lib/node-figlet.js");
/*
Once this has been run:
npm install figlet
Use the below line instead of the above line
*/
// var figlet = require('figlet');
(async () => {
const helloWorld = await figlet("Async World!", "Standard");
console.log(helloWorld);
const example2 = await figlet.text("Async Example", "Graffiti");
console.log(example2);
const example3 = await figlet.text("Bonus Example.", {
font: "Standard",
horizontalLayout: "full",
verticalLayout: "full",
});
console.log(example3);
figlet("Callback World!", "Standard", function (err, data) {
if (err) {
console.log("Something went wrong...");
console.dir(err);
return;
}
console.log(data);
figlet.text("Callback Example", "Graffiti", function (err, data) {
if (err) {
console.log("Something went wrong...");
console.dir(err);
return;
}
console.log(data);
});
});
})();

24
node_modules/figlet/examples/node/appSync.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
/*
Example
*/
var figlet = require("../../lib/node-figlet.js");
/*
Once this has been run:
npm install figlet
Use the below line instead of the above line
*/
// var figlet = require('figlet');
console.log(figlet.textSync("Hello World!", "Standard"));
console.log(figlet.textSync("Again, Hello World!", "Graffiti"));
console.log(
figlet.textSync("Last time...", {
font: "Standard",
horizontalLayout: "full",
verticalLayout: "full",
})
);