aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuper-User <dmitry@nexenta.com>2012-04-27 09:52:01 -0700
committerSuper-User <dmitry@nexenta.com>2012-04-27 09:52:01 -0700
commit9e7eecc26e8c58d4856c0f32329d0011d596e7bc (patch)
tree9e050bb270ee64267be76e7c012453583572695b
parentfe70f6d8b4bf8a7b44a61a83933b6ce481b934b3 (diff)
downloadnode-augeas-9e7eecc26e8c58d4856c0f32329d0011d596e7bc.tar.gz
added index.js
-rw-r--r--index.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..1f3bcc8
--- /dev/null
+++ b/index.js
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2012, Nexenta Systems, Inc.
+ *
+ * The contents of this file are subject to the terms of
+ * the Common Development and Distribution License ("CDDL").
+ * You may not use this file except in compliance with this license.
+ *
+ * You can obtain a copy of the License at
+ * http://www.opensource.org/licenses/CDDL-1.0
+ */
+
+var libaugeas;
+try {
+ libaugeas = require('./build/Release/libaugeas');
+} catch (e) {
+ libaugeas = require('./libaugeas');
+}
+
+module.exports = libaugeas;