![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
docsify-terminal-block
Advanced tools
[![](https://data.jsdelivr.com/v1/package/npm/docsify-terminal-block/badge)](https://www.jsdelivr.com/package/npm/docsify-terminal-block)
A docsify plugin to add pretty terminal blocks to your docs. It has Copy to Clipboard
functionality too.
Add the docsify-terminal-block plugin to your index.html after docsify. The plugin is available on jsdelivr (below), unpkg, and other CDN services that auto-publish npm packages.
<script src="https://cdn.jsdelivr.net/npm/docsify-terminal-block@1.0.2"></script>
Add the terminal
tag to your markdown file to create a terminal block.
```terminal
npm run start
```
You can add prefixes to the terminal block to change the style of the line. For example adding $
or >
:
```terminal
$|npm run start
>|npm run start
```
You can make the line a warning, info, error, or success by adding warning
, info
, error
, or success
after the prefix:
```terminal
$|warning|npm run build
>|info|npm run start
>|error|npm run start
>|success|npm run start
```
```terminal
npm run start
$|npm run start
$|warning|npm run build
>|info|npm run start
|...
>|error|npm run start
>|success|npm run start
warning|npm run build
```
Made with ❤️
FAQs
[![](https://data.jsdelivr.com/v1/package/npm/docsify-terminal-block/badge)](https://www.jsdelivr.com/package/npm/docsify-terminal-block)
The npm package docsify-terminal-block receives a total of 24 weekly downloads. As such, docsify-terminal-block popularity was classified as not popular.
We found that docsify-terminal-block demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.