1234567891011121314151617181920212223 |
- // fs
- // import { writeFileAsync } from './learn:fs.mjs';
- // writeFileAsync();
- // import { appendFileAsync } from './learn:fs.mjs';
- // appendFileAsync('\n不知道写点啥了');
- // import { readFileAsync } from './learn:fs.mjs';
- // readFileAsync();
- // import { testJoin, testResolve, otherMethods } from './learn:path.mjs';
- // testJoin(); // /foo/bar/baz/asdf
- // testResolve();
- // otherMethods();
- // import { run } from './learn:url.mjs';
- // run();
- import { start } from './learn:http.mjs';
- start();
|