nodejs 获取当前路径的方法

var path = require("path");

var url = path.resolve('./');

posted @ 2015-12-15 17:21  Ben Chan  阅读(4085)  评论(0编辑  收藏  举报