
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
@gitbook/embed
Advanced tools
@gitbook/embedEmbed the GitBook Docs Assistant in your product or website.
All GitBook docs site includes a script to easily embed the docs assistant as a widget on your website.
The script is served at https://docs.company.com/~gitbook/embed/script.js.
You can find the embed script from your docs site settings, or you can copy the following and replace the docs.company.com by your docs site hostname.
<script src="https://docs.company.com/~gitbook/embed/script.js"></script>
<script>
window.GitBook('show');
</script>
Install the package: npm install @gitbook/embed and import it in your web application:
import { createGitBook } from '@gitbook/embed';
const gitbook = createGitBook({
siteURL: 'https://docs.company.com'
});
const iframe = document.createElement('iframe');
iframe.src = gitbook.getFrameURL();
const frame = gitbook.createFrame(iframe);
After installing the NPM package, you can import prebuilt React components:
import { GitBookProvider, GitBookAssistantFrame } from '@gitbook/embed/react';
<GitBookProvider siteURL="https://docs.company.com">
<GitBookAssistantFrame />
</GitBookProvider>
FAQs
Embeddable components for GitBook
The npm package @gitbook/embed receives a total of 707 weekly downloads. As such, @gitbook/embed popularity was classified as not popular.
We found that @gitbook/embed demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.