m-path
v0.0.1
Published
path utility
Downloads
3
Readme
m-path
インストール - Install
$ npm i -S m-path
使い方 - Usage
Functions
}
this.getPlatform = function() {…}
--
};
this.isWindows = function() {…}
--
};
this.getPathseparator = function() {…}
--
};
this.pathSplit = function(path) {…}
--
};
this.pathJoin = function(ary) {…}
NodeJS
console.log(hr); console.log('getPlatform():', m_path.getPlatform()); console.log('isWindows():', m_path.isWindows()); console.log('getPathseparator():', m_path.getPathseparator());
console.log(hr); console.log('pathSplit():', m_path.pathSplit("./path/path2/path3")); console.log('pathSplit():', m_path.pathSplit("path/path2/path3"));
console.log(hr); console.log('pathJoin():', m_path.pathJoin(['.', 'path', 'path2', 'path3'])); console.log('pathJoin():', m_path.pathJoin(['path', 'path2', 'path3']));
}).call(this);
ライセンス - License
MIT License
作者 - Author
- (C)Misaki Shibata [email protected]