All in npm-esm-packages

This commit is contained in:
草鞋没号 committed 2022-03-23 19:10:16 +08:00
1 parent 59b84ed35a
commit 1b8fe7cf9c
3 files changed
+3 -10

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
import fetch from 'node-fetch'
(async () => {
const body = await (await fetch('https://github.com/')).text()
// console.log(body)
})()
@@ -2,5 +2,6 @@ import { execa } from 'execa'
(async () => {
const { stdout } = await execa('echo', ['unicorns'])
console.log(stdout)
// console.log(stdout) // unicorns
})()