Skip to content

Instantly share code, notes, and snippets.

View phanect's full-sized avatar

Jumpei Ogawa phanect

View GitHub Profile
{
// ...
"exports": {
".": {
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
},
"./style.css": {
"import": "./dist/style.css",
"require": "./dist/style.css"
@phanect
phanect / README.git.md
Last active May 12, 2024 23:17
Collection of Git command snippets

Collection of Git command snippets

Check Sha256Sum on Windows 11 PowerShell

certutil -hashfile "C:\Users\phane\OneDrive\Desktop\neon-user-20240412-1535.iso" SHA256
@phanect
phanect / async-err-main.cjs
Last active May 12, 2024 03:15
Experiment if error stops the Node.js process as a failure. (Tested on Node.js v22.1.0)
const { fn } = require("./async-err-lib.cjs");
(async () => {
await fn();
})();