Adingüklemek

Slzii.com Gözlemek

https://deno.com

Deno, the next-generation JavaScript runtime
deno, denoland, development, javascript, typescript, webassembly, wasm
Deno features improved security, performance, and developer experience compared to its predecessor. It's a great time to upgrade your Node.js project to run on Deno.
Deno, the next-generation JavaScript runtimeSkip to main contentProductsOpen SourceCurrent pathDenoModern runtime for JavaScript and TypeScriptFreshWeb framework designed for the edgeJSRTypeScript-first ESM package registryCommercialDeno for EnterpriseEnterprise support for runtime projectsDeployEasy serverless hosting for your JavaScript projectsSubhostingSecurely run untrusted code in a scalable sandboxDocsModulesStandard LibraryJSRNode.js & npmdeno.land/xCommunityDiscordGitHubXYouTubeMastodonBlogSearch…⌘KUncomplicate JavaScriptMacOS/Linux(Currently selected)Windowscurl -fsSL https://deno.land/install.sh | shInstall Deno v1.46.3Copy commandDocumentationGitHubDenoDeno is the open-source JavaScript runtime for the modern web. Built on web standards with zero-config TypeScript, unmatched security, and a complete built-in toolchain, Deno is the easiest, most productive way to JavaScript.Rating90k+Stars on GitHubCommunity250k+Active Deno usersEcosystem2M+Community modulesTrusted by Deno for enterpriseNewNow offering enterprise support for the Deno runtimeLearn moreNative TypeScript supportThe Deno runtime natively supports TypeScript, JSX, and modern ECMAScript features with zero configuration.Learn about TypeScript in Denointerface Person { name: string; age: number; } function greet(person: Person): string { return "Hello, " + person.name + "!"; } const alice: Person = { name: "Alice", age: 36 }; console.log(greet(alice));Modern language features, built-inTypeScript without the hassleWrite type-safe code without complex build systems or external dependencies.Native support for JSX and TSXWrite code that generates HTML using modern JSX and TSX syntax.Bleeding edge ECMAScript featuresWrite the JavaScript of tomorrow, today! ESNext features like the Temporal API land in Deno first.Built on web standardsWhenever possible, Deno implements web standard APIs on the server. Deno actively participates in TC39 and WinterCG to help move the web forward.Consistent code from browser to backendDeno provides web standard APIs whenever possible, maximizing code reuse between browser and server and future-proofing your code.Web APIs in DenoSkip past APIs listWorkerMessageEventWritableStreamDefaultControllerstructuredCloneDecompressionStreamCompressionStreamsetIntervalPromiseRejectionEventclearIntervalBlobfetchbtoalocalStorageNavigatorclearTimeoutReadableStreamDefaultControllerResponse.json()EventTargetcachesCacheStorageMessagePortLocationDedicatedWorkerGlobalScopeWebSocketqueueMicrotaskCryptoKeyErrorEventPerformanceMarkWorkerNavigatorReadableStreamBYOBRequestTextDecoderWorkerLocationTextEncoderStreamReadableByteStreamControllerTransformStreamFileCustomEventEventperformanceDOMExceptionReadableStreamBYOBReadercryptoCloseEventURLPatternPerformanceEntryconsolewindow.close()CryptoRequestReadableStreamStorageWebAssemblyTextDecoderStreamURLSearchParamsProgressEventFileReaderByteLengthQueuingStrategyBeforeUnloadEventTextEncoderatobwindow.alert()setTimeoutPerformanceHeadersWorkerGlobalScopeAbortSignalFormDataResponseMessageChannelURLBroadcastChannelWindowTransformStreamDefaultControllerSubtleCryptoCacheWritableStreamAbortControllerReadableStreamDefaultReaderPerformanceMeasureWritableStreamDefaultWriterBatteries includedThe essential tools you need to build, test, and deploy your applications are all included out of the box.Code linter$ deno lint --watchDeno ships with a built-in code linter to help you avoid bugs and code rot.Learn more ›Standalone executablesDeno.serve(req => new Response("Hello!"));$ deno compile --allow-net server.ts $ ./server Listening on http://localhost:8000/Instantly create standalone executables from your Deno program. It even supports cross-compiling for other platforms!Learn more ›Test runner$ deno test main_test.tsDeno.test("1 + 2 = 3", () => { const x = 1 + 2; console.assert(x == 3); });Deno provides a test runner and assertion libraries as a part of the runtime and standard library.Learn more ›Code formatter$ deno fmt --line-width=120Deno's built-in code formatter (based on dprint) beautifies JavaScript, TypeScript, JSON, and Markdown.Learn more ›Secure by defaultA program run with Deno has no file, network, or environment access unless explicitly enabled.Prevent supply chain attacksStop worrying about npm modules introducing unexpected vulnerabilities. Deno restricts access to the file system, network, and system environment by default, so code can access only what you allow.Security in DenoBackwards compatible with Node.jsDeno's Node.js compatibility layer means you can bring the best of the Node ecosystem with you to Deno.Migrate from Node.js to Denoserver.tsimport express from "npm:express@4"; const app = express(); app.get("/", function (_req, res) { res.send("hello"); }); app.listen(3000, () => { console.log("Express listening on :3000"); });$ deno run --allow-net --allow-read --allow-env server.jsCompatible with millions of npm modulesInclude modules from npm in your Deno projects using npm:specifiers.Node and npm supportHigh-performance networkingOut of the box support for:HTTPS (encryption)WebSocketHTTP2Automatic response body compressionView documentationserver.tsDeno.serve(req => new Response("Hello world"));Bigger is betterThroughput, requests per sec20005995879DenoNodeBuilt for the cloudWhether you deploy with our lightning-fast Deno Deploy or on other cloud providers, Deno streamlines your experience.— Deno runs on —Official Docker imagehayd/deno-lambdaHow to Deploy Deno to Digital OceanRun a Deno App - Fly.io Docsskymethod/denoflareanthonychu/azure-functions-deno-workerHow to Deploy to Google Cloud RunGo further with Deno cloud productsProducts built on Deno to help you deploy TypeScript and JavaScript easily and securely at any scale.Deno DeployFor developers looking for the simplest way to host web apps and APIsCheckmark iconFully managed serverless solutionCheckmark iconGlobally distributedCheckmark iconBuilt-in key/value database, queues, cron, and moreCheckmark iconIntegrated directly with GitHubTry DeployLearn moreDeno SubhostingFor SaaS companies looking to run user code securelyCheckmark iconSecure sandboxed functionsCheckmark iconAutomatic scaling and provisioningCheckmark iconGlobally distributedCheckmark iconManage via a simple APITry SubhostingLearn moreSeamless persistence with Deno KVThe Deno runtime ships with Deno KV, a key/value database designed for globally distributed applications.Go from development to production on Deno Deploy with no API keys or infrastructure to configure.Learn about KVThe Freshest web frameworkFresh is a server-rendered web framework for Deno, built with Preact for blazing speed and instant productivity.Build fast sites fastAuthor routes as the TSX components you already know and love, and Fresh handles dynamic server-side rendering by default./routes/index.tsxexport default function HomePage() { return (

HTML fresh from the server!

Delivered at {new Date().toLocaleTimeString()}

); }/islands/Counter.tsximport { useSignal } from "@preact/signals"; export default function Counter() { const count = useSignal(0); return ( ); } Ship less JavaScriptIsland-based architecture lets you opt in to only the JavaScript you need, for absolutely minimal runtime overhead.Learn more about FreshOur vibrant community“I know this was gonna happen! Deno is truly building the fastest, most secure and personalizable JS runtime!”Manu (Qwik)“Deno's security model is PERFECT for this type of script. Running a script from a rando off the internet? It asks for read access to only the CWD and then asks for access to the file it wants to write to. 👏”Wes Bos“I really think Deno is the easiest and most capable JS runtime. URL imports are slept on.”Atalocke“npm packages in Deno 👀 That’s an exciting development for those of us building at the edge.”Jason Lengstorf“This Deno thing is fast, no doubt about it. #denoland”Poorly Funded Snob“Deno: I have to use the browser APIs cause they are everywhere, and everywhere is my target runtime (the web). The runtime that tries to mirror browser APIs server side makes my life easiest.”Taylor Young“Deno is fantastic. I am using it to level up a bit in terms of JavaScript and TypeScript and it is the easiest way to get going. Their tooling is like 100x simpler than all the usual Node stacks.”Stefan ArentzManu (Qwik)(active)Wes BosAtalockeJason LengstorfPoorly Funded SnobTaylor YoungStefan ArentzReady to get started with Deno?Install nowLearnNode's Security ProblemNode's Complexity ProblemEdge is the FutureWhy Deno?TypeScript SupportWeb Standard APIsAll-in-one ToolingSecure-by-defaultUse CasesScripts and CLIsAPI ServersSites and AppsModulesServerless FunctionsProductsDeno RuntimeDeno DeployDeno KVDeploy SubhostingFreshSaaSKitSourcesRuntime ManualRuntime APIDeploy DocsStandard LibraryThird-Party ModulesExamplesCompanyCareersBlogPricingNewsMerchPrivacy PolicyGitHubDiscordTwitter or X or whateverYouTubeMastodonCopyright © 2024 Deno Land Inc. All rights reserved.All systems operational
en
en
1729492321
https://deno.com

Sahypaňyzy redaktirläňmi?

Näme edýärsiň?

0.0058300495147705


Web direktory
Web direktory

Web direktory
Deno features improved security, performance, and developer experience compared to its predecessor. It's a great time to upgrade your Node.j...
Web direktory