diff --git a/yamljs/yamljs-tests.ts b/yamljs/yamljs-tests.ts
new file mode 100644
index 000000000..9780c504d
--- /dev/null
+++ b/yamljs/yamljs-tests.ts
@@ -0,0 +1,13 @@
+///
+
+import yamljs = require('yamljs');
+
+yamljs.load('yaml-testfile.yml');
+
+yamljs.parse('this_is_no_ymlstring');
+
+yamljs.stringify({ a : 'val', b : { ba : 123, bb : 'nothing' }});
+
+yamljs.stringify({ a : 'val', b : { ba : 123, bb : 'nothing' }}, 1);
+
+yamljs.stringify({ a : 'val', b : { ba : 123, bb : 'nothing' }}, 1, 2);
\ No newline at end of file
diff --git a/yamljs/yamljs.d.ts b/yamljs/yamljs.d.ts
new file mode 100644
index 000000000..65d2fd923
--- /dev/null
+++ b/yamljs/yamljs.d.ts
@@ -0,0 +1,14 @@
+// Type definitions for yamljs 0.2.1
+// Project: https://github.com/jeremyfa/yaml.js
+// Definitions by: Tim Jonischkat
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+declare module "yamljs" {
+
+ export function load(path : string) : any;
+
+ export function stringify(nativeObject : any, inline? : number, spaces? : number) : string;
+
+ export function parse(yamlString : string) : any;
+
+}
\ No newline at end of file