温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/docs/project/license
点击访问原文链接
License - BunSkip to main contentBun home pageSearch...⌘KInstall BunSearch...NavigationContributingLicenseRuntimePackage ManagerBundlerTest RunnerGuidesReferenceBlogFeedbackdiv:first-child]:!hidden peer-[.is-custom]:[&>div:first-child]:sm:!hidden peer-[.is-custom]:[&>div:first-child]:md:!hidden peer-[.is-custom]:[&>div:first-child]:lg:!hidden peer-[.is-custom]:[&>div:first-child]:xl:!hidden">Get StartedWelcome to BunInstallationQuickstartTypeScriptbun initbun createCore RuntimeBun RuntimeWatch ModeDebuggingREPLbunfig.tomlFile & Module SystemFile TypesModule ResolutionJSXAuto-installPluginsFile System RouterHTTP serverServerRoutingCookiesTLSError HandlingMetricsNetworkingFetchWebSocketsTCPUDPDNSData & StorageCookiesFile I/OStreamsBinary DataArchiveSQLSQLiteS3RedisConcurrencyWorkersProcess & SystemEnvironment VariablesShellSpawnInterop & ToolingNode-APIFFIC CompilerTranspilerUtilitiesSecretsConsoleYAMLMarkdownJSON5JSONLHTMLRewriterHashingGlobSemverColorUtilsStandards & CompatibilityGlobalsBun APIsWeb APIsNode.js CompatibilityContributingRoadmapBenchmarkingContributingBuilding WindowsBindgenLicenseOn this pageJavaScriptCoreLinked librariesPolyfillsAdditional creditsContributingLicenseCopy pagespan]:line-clamp-1 overflow-hidden group flex items-center py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border px-3 border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5" aria-label="More actions" type="button" id="radix-_R_2shjinpfd9rqaabsnpfdb_" aria-haspopup="menu" aria-expanded="false" data-state="closed">*]:[overflow-wrap:anywhere]">License for Bun

Copy pagespan]:line-clamp-1 overflow-hidden group flex items-center py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border px-3 border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5" aria-label="More actions" type="button" id="radix-_R_5hjinpfd9rqaabsnpfdb_" aria-haspopup="menu" aria-expanded="false" data-state="closed">Bun itself is MIT-licensed. ​JavaScriptCore Bun statically links JavaScriptCore (and WebKit) which is LGPL-2 licensed. WebCore files from WebKit are also licensed under LGPL2. Per LGPL2: (1) If you statically link against an LGPL’d library, you must also provide your application in an object (not necessarily source) format, so that a user has the opportunity to modify the library and relink the application. You can find the patched version of WebKit used by Bun here: https://github.com/oven-sh/webkit. If you would like to relink Bun with changes: git submodule update --init --recursive make jsc zig build This compiles JavaScriptCore, compiles Bun’s .cpp bindings for JavaScriptCore (which are the object files using JavaScriptCore) and outputs a new bun binary with your changes. ​Linked libraries Bun statically links these libraries: LibraryLicenseboringsslseveral licensesbrotliMITlibarchiveseveral licenseslol-htmlBSD 3-ClausemimallocMITpicohttpdual-licensed under the Perl License or the MIT Licensezstddual-licensed under the BSD License or GPLv2 licensesimdutfApache 2.0tinyccLGPL v2.1uSocketsApache 2.0zlib-cloudflarezlibc-aresMIT licensedlibicu 72license herelibbase64BSD 2-Clauselibuv (on Windows)MITlibdeflateMITA fork of uWebsocketsApache 2.0 licensedParts of Tigerbeetle’s IO codeApache 2.0 licensed ​Polyfills For compatibility reasons, the following packages are embedded into Bun’s binary and injected if imported. PackageLicenseassertMITbrowserify-zlibMITbufferMITconstants-browserifyMITcrypto-browserifyMITdomain-browserMITeventsMIThttps-browserifyMITos-browserifyMITpath-browserifyMITprocessMITpunycodeMITquerystring-es3MITstream-browserifyMITstream-httpMITstring_decoderMITtimers-browserifyMITtty-browserifyMITurlMITutilMITvm-browserifyMIT ​Additional credits Bun’s JS transpiler, CSS lexer, and Node.js module resolver source code is a Zig port of @evanw’s esbuild project. Credit to @kipply for the name “Bun”!

Was this page helpful?

YesNoSuggest editsRaise issueBindgenPrevious⌘IxgithubdiscordyoutubePowered by

智能索引记录