nodejs path module

const path = require('path');
var pathObj = path.parse(__filename);
console.log(pathObj);
> node path-module.js
{ root: 'C:\\',
  dir: 'C:\\Users\\Edward Lance Lorilla\\Documents\\node-practice',
  base: 'path-module.js',
  ext: '.js',
  name: 'path-module' }

No comments:

Is this an Israeli Sniper Targeting a Journalist

Watch now (6 mins) | Probably not, and I can prove it with math ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ...

Contact Form

Name

Email *

Message *