💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
### 文件是否存在 ~~~ const fs = require('fs') fs.stat("test.txt", function (err, result) { if(err) throw err; console.log(result); }) ~~~ ``` Stats { dev: 2220350796, mode: 33206, nlink: 1, uid: 0, gid: 0, rdev: 0, blksize: undefined, ino: 281474976994217, size: 21, blocks: undefined, atimeMs: 1556963438258.4846, mtimeMs: 1557035090002.235, ctimeMs: 1557035090002.235, birthtimeMs: 1556963431909.1213, atime: 2019-05-04T09:50:38.258Z, mtime: 2019-05-05T05:44:50.002Z, ctime: 2019-05-05T05:44:50.002Z, birthtime: 2019-05-04T09:50:31.909Z } ```