• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
梦见一只电子羊
meet me tonight in the dreamland
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

12 2017 档案

 
node读取文件夹名
摘要:const fs = require('fs'); const join = require('path').join; /** * * @param startPath 起始目录文件夹路径 * @returns {Array} */ function findSync(startPath) { let result=[]; function finder(pat... 阅读全文
posted @ 2017-12-27 12:02 梦见一只羊 阅读(3768) 评论(0) 推荐(0)
node搭建文件服务器
摘要:python可以在目录下python -m http.server 8080来启动一个静态文件服务器,使用node实现一个 运行node fileServer.js D:\lanFeature 即可将指定的目录 D:\lanFeature Web程序变成一个文件服务器目录 fileServer.js 阅读全文
posted @ 2017-12-09 18:10 梦见一只羊 阅读(1272) 评论(0) 推荐(0)
es6快速排序
摘要:es5写法: 阅读全文
posted @ 2017-12-05 01:12 梦见一只羊 阅读(5949) 评论(0) 推荐(0)
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3