Sha256: 915ec3c1e24ed7342fa73290994ebb72b3cfddbe331e1ccc4d9bcc7f6095a7a7
Contents?: true
Size: 289 Bytes
Versions: 39
Compression:
Stored size: 289 Bytes
Contents
var utils = require('../utils') , path = require('path'); /** * Return the dirname of `path`. * * @param {String} path * @return {String} * @api public */ module.exports = function dirname(p){ utils.assertString(p, 'path'); return path.dirname(p.val).replace(/\\/g, '/'); };
Version data entries
39 entries across 20 versions & 2 rubygems