MindMap/frontend/node_modules/npm2url
lixinran b5c56d4946 feat: 修复markdown表格渲染问题
- 正确配置Mind Elixir的markdown渲染器,支持表格渲染为HTML格式
2025-09-10 15:27:37 +08:00
..
dist feat: 修复markdown表格渲染问题 2025-09-10 15:27:37 +08:00
LICENSE feat: 修复markdown表格渲染问题 2025-09-10 15:27:37 +08:00
README.md feat: 修复markdown表格渲染问题 2025-09-10 15:27:37 +08:00
package.json feat: 修复markdown表格渲染问题 2025-09-10 15:27:37 +08:00

README.md

npm2url

npm version npm downloads bundle JSDocs

Convert an NPM package import into a CDN URL.

Usage

Install package:

pnpm install npm2url

Import:

import { urlBuilder } from "npm2url";

const url: string = urlBuilder.getFullUrl('npm2url');
const url: string = urlBuilder.getFullUrl('npm2url', 'jsdelivr');

// find the fastest provider
await urlBuilder.findFastestProvider();
const fastestUrl = urlBuilder.getFullUrl('npm2url');

// find the fastest provider temporarily
const fastest = await urlBuilder.getFastestProvider();
const fastestUrl = urlBuilder.getFullUrl('npm2url', fastest);

License

Made with 💛

Published under MIT License.