Node.js path.parse() ponyfill. ... var pathParse = require('path-parse'); pathParse('/home/user/dir/file.txt'); //=> { // root : "/", // dir ...
確定! 回上一頁