@theguild/remark-npm2yarn
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@theguild/remark-npm2yarn

Created by Dimitri POSTOLOV https://twitter.com/B2o5T.

Maintained by The Guild https://twitter.com/TheGuildDev.

Remark plugin for transforming npm bash commands to yarn/pnpm with tabs.

Install

npm i @theguild/remark-npm2yarn

Usage

import { remark } from 'remark'
import { remarkNpm2Yarn } from 'remark-npm2yarn'

remark.use(remarkNpm2Yarn, {
  packageName: '<string>', // e.g. 'nextra/components'
  tabNamesProp: '<string>', // e.g. 'items'
  storageKey: '<string>' // local storage key, e.g. 'selectedPackageManager'
})
```sh npm2yarn
npm i -D @graphql-eslint/eslint-plugin
```

Readme

Keywords

none

Package Sidebar

Install

npm i @theguild/remark-npm2yarn

Weekly Downloads

69,634

Version

0.3.0

License

MIT

Unpacked Size

5.99 kB

Total Files

8

Last publish

Collaborators

  • dotansimha
  • kamilkisiela
  • urigo