0.3.0 • Published 7 months ago

@theguild/remark-npm2yarn v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@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'
})
```bash npm2yarn
npm i -D @graphql-eslint/eslint-plugin
```
0.1.0

10 months ago

0.3.0

7 months ago

0.1.1

10 months ago

0.2.1

7 months ago

0.2.0

8 months ago

0.0.1

11 months ago