%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/specpages-backup/node_modules/stylus/lib/functions/
Upload File :
Create Path :
Current File : /www/specpages-backup/node_modules/stylus/lib/functions/dirname.js

var utils = require('../utils')
  , path = require('path');

/**
 * Return the dirname of `path`.
 *
 * @param {String} path
 * @return {String}
 * @api public
 */

function dirname(p){
  utils.assertString(p, 'path');
  return path.dirname(p.val).replace(/\\/g, '/');
};
dirname.params = ['p'];
module.exports = dirname;

Zerion Mini Shell 1.0