index.js 509 B

1234567891011121314151617181920212223
  1. // fs
  2. // import { writeFileAsync } from './learn:fs.mjs';
  3. // writeFileAsync();
  4. // import { appendFileAsync } from './learn:fs.mjs';
  5. // appendFileAsync('\n不知道写点啥了');
  6. // import { readFileAsync } from './learn:fs.mjs';
  7. // readFileAsync();
  8. // import { testJoin, testResolve, otherMethods } from './learn:path.mjs';
  9. // testJoin(); // /foo/bar/baz/asdf
  10. // testResolve();
  11. // otherMethods();
  12. // import { run } from './learn:url.mjs';
  13. // run();
  14. import { start } from './learn:http.mjs';
  15. start();