![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.
The Mintlify CLI is the easiest way to build Mintlify apps from the command line.
Built with ❤︎ by Mintlify
Download the Mintlify CLI using the following command
npm i -g mintlify
mintlify dev
Run this command at the root of your Mintlify project to preview changes locally.
Notes
mintlify dev
requires Node v18 or higher.Mintlify uses port 3000 by default. You can use the --port
flag to customize the port Mintlify runs on. For example, use this command to run in port 3333:
mintlify dev --port 3333
You will see an error like this if you try to run Mintlify in a port that's already taken:
Error: listen EADDRINUSE: address already in use :::3000
Steps you can take if the dev CLI is not working (After each step try to run mintlify dev
again):
mint.json
file.npm update -g mintlify
to ensure you have the most recent version of the CLI..mintlify
folder in your home directory and delete its contents.mintlify openapi-check <openapiFilenameOrUrl>
Check your OpenAPI file for errors. You can pass in a filename (e.g. ./openapi.yaml
) or a URL (e.g. https://petstore3.swagger.io/api/v3/openapi.json
).
mintlify broken-links
BETACheck for broken internal links in your Mintlify project.
mintlify rename <from> <to>
BETARename a file in a Mintlify project and update all internal link references.
Create an account to start using Mintlify for your documentation.
FAQs
Alias for @mintlify/cli
The npm package mintlify receives a total of 24,231 weekly downloads. As such, mintlify popularity was classified as popular.
We found that mintlify demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.