Path split - Node.js File

Node.js examples for File:Path

Description

Path split

Demo Code

function path_split(path) {
    path = path_normalize(path);//from  w  ww . j  a  va2 s.  co  m
    return path.split(/[\\\/]+/);
};

Related Tutorials