プレイグラウンド、サンドボックス、使い捨てスクリプト置き場
0

Configure Feed

Select the types of activity you want to include in your feed.

create node-sea

Kohei Watanabe (Oct 25, 2023, 4:30 PM +0900) 574b7a29 8e62760d

+33
+28
node-sea/README.md
··· 1 + # Node.js Single Executable Application 2 + 3 + ``` 4 + $ node --experimental-sea-config sea-config.json 5 + $ npx postject hello NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 6 + $ ./hello 7 + Hello, undefined! 8 + (node:918684) ExperimentalWarning: Single executable application is an experimental feature and might change at any time 9 + (Use `hello --trace-warnings ...` to show where the warning was created) 10 + ``` 11 + 12 + ## Environment 13 + 14 + ``` 15 + $ npx envinfo --system --binaries 16 + 17 + System: 18 + OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish) 19 + CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-1365U 20 + Memory: 19.25 GB / 31.00 GB 21 + Container: Yes 22 + Shell: 5.1.16 - /bin/bash 23 + Binaries: 24 + Node: 20.5.1 - /usr/bin/node 25 + Yarn: 1.22.19 - ~/.local/bin/yarn 26 + npm: 9.8.0 - /usr/bin/npm 27 + pnpm: 8.6.2 - ~/.local/bin/pnpm 28 + ```
+1
node-sea/hello.js
··· 1 + console.log(`Hello, ${process.argv[2]}!`);
+4
node-sea/sea-config.json
··· 1 + { 2 + "main": "hello.js", 3 + "output": "sea-prep.blob" 4 + }