diff --git a/mkpath/mkpath-tests.ts b/mkpath/mkpath-tests.ts
new file mode 100644
index 0000000000..ca713ba35f
--- /dev/null
+++ b/mkpath/mkpath-tests.ts
@@ -0,0 +1,9 @@
+///
+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);
\ No newline at end of file
diff --git a/mkpath/mkpath.d.ts b/mkpath/mkpath.d.ts
new file mode 100644
index 0000000000..3be1a02290
--- /dev/null
+++ b/mkpath/mkpath.d.ts
@@ -0,0 +1,15 @@
+// Type definitions for mkpath v0.1.0
+// Project: https://www.npmjs.com/package/mkpath
+// Definitions by: Jared Klopper
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+declare module 'mkpath' {
+ module mkpath {
+ function sync(path: string, mode?: number): void;
+ }
+
+ function mkpath(path: string, callback?: (err: any) => void): void;
+ function mkpath(path: string, mode?: number, callback?: (err?: any) => void): void;
+
+ export = mkpath;
+}