mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
209 B
TypeScript
10 lines
209 B
TypeScript
|
|
import mkpath = require('mkpath');
|
|
|
|
mkpath('red/green/violet', function (err) {
|
|
if (err) throw err;
|
|
console.log('Directory structure red/green/violet created');
|
|
});
|
|
|
|
mkpath.sync('/tmp/blue/orange', 700);
|