Understanding bun install --isolated
When developers first switch from npm or pnpm to Bun, one option that often causes confusion is: bun install --isolated At first glance, it sounds similar to pnpmโs architecture. But the reality is m

Search for a command to run...
Series
About Node.js.
When developers first switch from npm or pnpm to Bun, one option that often causes confusion is: bun install --isolated At first glance, it sounds similar to pnpmโs architecture. But the reality is m

Example import fs from 'fs' import { json2csv } from 'json-2-csv' /** * Example of using 3rd party library json-2-csv. * json-2-csv: {@link https://www.npmjs.com/package/json-2-csv} */ const rows = [ { name: 'Sato', age: 3, weight: ...

Ask ChatGPT first Question: create a simple functional logger in Node.js from scratch can write log file in localhost The answer is described a class Logger to do what we expected. But what I want to create is functional logger, not class logger. L...

Emoji can improve your log's readability. Let's choose the best emoji for logger. Starting status ๐ฑ ๐ โญ Example: console.log('๐ฑ Start doing something...') Stop / Error status โ ๐ซ โ ๐ Example: console.error('โ Error: ', err) Warning status ...
Regex that includes alphabets, numbers, and some special characters ^[a-zA-Z0-9!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?]+$ View the logic image at https://regexper.com/. From ihateregex.io/cheatsheet: /[a-zA-Z0-9]/: matches all lowercase, uppercase lette...
โญ New tools - packages - libraries I know from 2023 modular forms - an input form library with performance, type safety and bundle size in mind. github - valibot - About The modular and type safe schema library for validating structural data ๐ค. http...
