index.js 450 B

12345678910111213141516171819
  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();