Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

Node.js environment support

Open jjw24 opened this issue 3 years ago • 4 comments

Same setup method as Python:

  1. Add recognition of Node.js plugins - JavaScript and TypeScript plugins,
  2. Download and extract the Node.js portable installation to UserData folder.
  3. Allow user to set their own path via Settings UI.
  4. Submit changes to existing TS/JS plugins to utilize the Node.js set up.

jjw24 avatar Apr 28 '22 10:04 jjw24

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar May 29 '22 02:05 github-actions[bot]

Just dropping these links here in case there's any interest for alternative JS environments.

Deno https://deno.land/

Deno is a simple, modern and secure runtime for JavaScript, TypeScript, and WebAssembly that uses V8 and is built in Rust. -- single executable, supports TypeScript out of the box

QuickJS https://bellard.org/quickjs/

QuickJS is a small and embeddable Javascript engine. It supports the ES2020 specification including modules, asynchronous generators [..] -- Small and easily embeddable: just a few C files, no external dependency, 210 KiB of x86 code for a simple hello world program.

Google ZX https://github.com/google/zx

A tool for writing better scripts -- JavaScript is a perfect choice, but standard Node.js library requires additional hassle before using. The zx package provides useful wrappers around child_process, escapes arguments and gives sensible defaults.

duurland avatar May 29 '22 21:05 duurland

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jun 29 '22 02:06 github-actions[bot]

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 14 '22 02:08 github-actions[bot]

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 30 '22 02:09 github-actions[bot]

Just dropping these links here in case there's any interest for alternative JS environments.

Deno https://deno.land/

Deno is a simple, modern and secure runtime for JavaScript, TypeScript, and WebAssembly that uses V8 and is built in Rust. -- single executable, supports TypeScript out of the box

QuickJS https://bellard.org/quickjs/

QuickJS is a small and embeddable Javascript engine. It supports the ES2020 specification including modules, asynchronous generators [..] -- Small and easily embeddable: just a few C files, no external dependency, 210 KiB of x86 code for a simple hello world program.

Google ZX https://github.com/google/zx

A tool for writing better scripts -- JavaScript is a perfect choice, but standard Node.js library requires additional hassle before using. The zx package provides useful wrappers around child_process, escapes arguments and gives sensible defaults.

Deno sounds desirable, any experience in using that? Is it preferable to Nodejs?

jjw24 avatar Oct 19 '22 21:10 jjw24

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Dec 07 '22 02:12 github-actions[bot]