©TriMoon™
©TriMoon™
DDeno
Created by ©TriMoon™ on 4/22/2025 in #help
How to install an electron app from it's repo?
@marvinh. Keep in mind, im still a noob wrt to using deno unfortunatly...
8 replies
DDeno
Created by ©TriMoon™ on 4/22/2025 in #help
How to install an electron app from it's repo?
Didn't seem to work...
8 replies
DDeno
Created by ©TriMoon™ on 4/22/2025 in #help
How to install an electron app from it's repo?
$ git clone https://github.com/OnRushStudio/Venge-Client.git
Cloning into 'Venge-Client'...
remote: Enumerating objects: 6212, done.
remote: Counting objects: 100% (93/93), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 6212 (delta 65), reused 52 (delta 42), pack-reused 6119 (from 1)
Receiving objects: 100% (6212/6212), 117.33 MiB | 3.32 MiB/s, done.
Resolving deltas: 100% (503/503), done.
$ cd Venge-Client/
$ deno task start
Task start electron .
electron: command not found
$ git clone https://github.com/OnRushStudio/Venge-Client.git
Cloning into 'Venge-Client'...
remote: Enumerating objects: 6212, done.
remote: Counting objects: 100% (93/93), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 6212 (delta 65), reused 52 (delta 42), pack-reused 6119 (from 1)
Receiving objects: 100% (6212/6212), 117.33 MiB | 3.32 MiB/s, done.
Resolving deltas: 100% (503/503), done.
$ cd Venge-Client/
$ deno task start
Task start electron .
electron: command not found
8 replies
DDeno
Created by ©TriMoon™ on 4/22/2025 in #help
How to install an electron app from it's repo?
let me try 👍
8 replies
DDeno
Created by ©TriMoon™ on 4/22/2025 in #help
How to install an electron app from it's repo?
will that also import all the dependencies?
8 replies
DDeno
Created by alexp95 on 2/27/2025 in #help
Function as a value?
Most sites and browsers do not allow eval using CSP...
11 replies
DDeno
Created by alexp95 on 2/27/2025 in #help
Function as a value?
PS: eval ing any code is not the solution to any coding problem, maybe you should rethink your actions...
11 replies
DDeno
Created by alexp95 on 2/27/2025 in #help
Function as a value?
For that you do the same as any other code inside a string: You eval it...
11 replies
DDeno
Created by ZweiEuro on 3/4/2025 in #help
Import module from gitlab server
I think what you are asking for is like accessing a website without using DNS... npm packages are all pulled/searched/etc from the npm site, so if you want to access your own server you need to tell npm how to reach your server right?
14 replies
DDeno
Created by alexp95 on 2/27/2025 in #help
Function as a value?
const obj = {
log: ["a", "b", "c"],
get latest() {
return this.log[this.log.length - 1];
},
};

console.log(obj.latest);
// Expected output: "c"
const obj = {
log: ["a", "b", "c"],
get latest() {
return this.log[this.log.length - 1];
},
};

console.log(obj.latest);
// Expected output: "c"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get
11 replies
DDeno
Created by alexp95 on 2/27/2025 in #help
Function as a value?
Maybe @alexp95 means getters? 🤔
class Rectangle {
constructor(height, width) {
this.height = height;
this.width = width;
}
// Getter
get area() {
return this.calcArea();
}
// Method
calcArea() {
return this.height * this.width;
}
*getSides() {
yield this.height;
yield this.width;
yield this.height;
yield this.width;
}
}

const square = new Rectangle(10, 10);

console.log(square.area); // 100
console.log([...square.getSides()]); // [10, 10, 10, 10]
class Rectangle {
constructor(height, width) {
this.height = height;
this.width = width;
}
// Getter
get area() {
return this.calcArea();
}
// Method
calcArea() {
return this.height * this.width;
}
*getSides() {
yield this.height;
yield this.width;
yield this.height;
yield this.width;
}
}

const square = new Rectangle(10, 10);

console.log(square.area); // 100
console.log([...square.getSides()]); // [10, 10, 10, 10]
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#methods
11 replies
DDeno
Created by ZweiEuro on 3/4/2025 in #help
Import module from gitlab server
14 replies
DDeno
Created by ZweiEuro on 3/4/2025 in #help
Import module from gitlab server
14 replies
DDeno
Created by ZweiEuro on 3/4/2025 in #help
Import module from gitlab server
I have not tried the package registry of GitLab yet myself, but i think you could try that
14 replies
DDeno
Created by ZweiEuro on 3/4/2025 in #help
Import module from gitlab server
can't you use https urls to point to the package from GitLab?
14 replies
DDeno
Created by ©TriMoon™ on 2/25/2025 in #help
[VSCodium] - Deno task list
nope i have a populated deno.json (at moment i renamed it to jsonc but nevertheless), and it doesn't show the tasks in it... The tasks inside it work when using deno task, but at moment most of my tasks are in VSCodium anyhow...
5 replies
DDeno
Created by ©TriMoon™ on 2/25/2025 in #help
[VSCodium] - Deno task list
PS: Unrelated to this topic, these settings are nice to use IMHO: https://discord.com/channels/684898665143206084/1303057720395567205/1343884952999301161 (Just cross linking for myself)
5 replies
DDeno
Created by ©TriMoon™ on 2/25/2025 in #help
[VSCodium] - Deno task list
It's not a big deal, because i don't make much use of it, but it's something i noticed and like to have it working as intended 😉
5 replies
DDeno
Created by Skrillx on 2/23/2025 in #help
deno_blog is broken
12 replies