Skip to content

Commit 0938ef7

Browse files
committed
feat: dev docs
1 parent 1ce0f93 commit 0938ef7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
# how-to-use-cjs-module-as-esm-module-in-node.js
22

33
> CJS => ESM
4+
5+
## dev
6+
7+
```sh
8+
# yarn
9+
$ yarn esm
10+
$ yarn cjs
11+
```
12+
13+
14+
```sh
15+
# npm
16+
$ npm run esm
17+
$ npm run cjs
18+
```
19+
420
## demo
521

622
> `ESM` usages

0 commit comments

Comments
 (0)