@sapphire/docusaurus-plugin-npm2yarn2pnpm
Version:
Docusaurus Remark plugin for converting NPM Commands to Yarn and Pnpm
23 lines (16 loc) • 615 B
text/typescript
import { Plugin } from 'unified';
declare function npmToBun(str: string): string;
/**
* Copyright (c) 2019 Ben Gubler <nebrelbug@gmail.com>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
declare function npmToPnpm(str: string): string;
declare function npmToYarn(str: string): string;
interface PluginOptions {
sync?: boolean;
convertToBun?: boolean;
}
declare const convertNpmToPackageManagers: Plugin<[PluginOptions?]>;
export { type PluginOptions, convertNpmToPackageManagers, npmToBun, npmToPnpm, npmToYarn };