മുന്കൂര് ബില്ഡിങ് പണിയായുധങ്ങള്Name
എല്ലാ- ഓണ് ജാവാസ്ക്രിപ്റ്റ് റണ്ടൈം. ബ്രിഡ്ജര്, ടെസ്റ്റ് റണ്ണര്, പാക്കേജ് മാനേജര് എന്നിവ ഒരേ വേഗത്തിലുള്ള ഒരു ഉപകരണത്തില്
Node.js-നേക്കാൾ 4 മടങ്ങ് വേഗത്തിൽ ആരംഭിക്കുന്നു, JavaScriptCore എഞ്ചിൻ നൽകുന്ന കൂടുതൽ വേഗത്തിലുള്ള എക്സിക്യൂഷനോടെ
കമ്പൈലേഷൻ ഘട്ടമില്ലാതെ TypeScript, JSX ഫയലുകൾ നേരിട്ട് പ്രവർത്തിപ്പിക്കുന്നു, പറക്കുന്നതുപോലെ ട്രാൻസ്പൈൽ ചെയ്യുന്നു
ഗ്ലോബൽ കാഷെയും പൂർണ്ണ അനുയോജ്യതയും ഉപയോഗിച്ച് npm-നേക്കാൾ 30 മടങ്ങ് വേഗത്തിൽ npm പാക്കേജുകൾ ഇൻസ്റ്റാൾ ചെയ്യുക
കോഡ് സ്പ്ലിറ്റിംഗ്, ട്രീ ഷേക്കിംഗ്, മിനിഫിക്കേഷൻ എന്നിവയോടെ JavaScript/TypeScript പ്രോജക്ടുകൾ മില്ലിസെക്കൻഡുകളിൽ ബണ്ടിൽ ചെയ്യുക
Jest API-യുമായി അനുയോജ്യമായ വേഗതയേറിയ ടെസ്റ്റ് റണ്ണർ, മോക്കിംഗ്, സ്നാപ്ഷോട്ടുകൾ, കവറേജ് എന്നിവ ഉൾപ്പെടുന്നു
റൺടൈം, ബണ്ട്ലർ, ട്രാൻസ്പൈലർ, പാക്കേജ് മാനേജർ, ടെസ്റ്റ് റണ്ണർ എന്നിവ ഒറ്റ ബൈനറിയിൽ
# Install Bun
curl -fsSL https://bun.sh/install | bash
# Verify installation
bun --version
# Update Bun to latest version
bun upgradeദ്രുത ആരംഭം - പുതിയ പ്രോജക്ട് സൃഷ്ടിക്കുക:# Initialize new project
bun init
# Run TypeScript/JavaScript file
bun run index.ts
# Install dependencies
bun install
# Run with watch mode (hot reload)
bun --watch run index.tsനിലവിലുള്ള Node.js പ്രോജക്ട് പ്രവർത്തിപ്പിക്കുക:# Install dependencies (much faster than npm)
bun install
# Run with Bun runtime instead of Node
bun run start
# Or use as drop-in Node replacement
bun run dev
{
"scripts": {
"dev": "bun --watch run src/index.ts",
"build": "bun build src/index.ts --outdir dist",
"test": "bun test",
"start": "bun run dist/index.js"
}
}Bun ഉപയോഗിച്ച് ബണ്ടിംഗ്:# Bundle for production
bun build ./src/index.ts --outdir ./dist --target browser
# Bundle with minification
bun build ./src/index.ts --outdir ./dist --minify
# Bundle for Node.js target
bun build ./src/index.ts --outdir ./dist --target nodeടെസ്റ്റിംഗ്:# Run all tests
bun test
# Run specific test file
bun test auth.test.ts
# Watch mode
bun test --watch
# With coverage
bun test --coverageഎൻവയോൺമെന്റ് വേരിയബിളുകൾ:.env ഫയലുകൾ സ്വയമേവ ലോഡ് ചെയ്യുന്നുprocess.env അല്ലെങ്കിൽ Bun.env വഴി ആക്സസ് ചെയ്യുകലളിതമായ VPS സമ്മര്ദ്ദം പ്രക്രിയയുമായി നിമിഷങ്ങള്ക്കുള്ളില് തുടങ്ങുക
Deploy in about 2 minutes • Full root access • Support by ticket and email