aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmitry@nexenta.com <root@myhost.(none)>2012-04-13 14:53:42 -0700
committerdmitry@nexenta.com <root@myhost.(none)>2012-04-13 14:53:42 -0700
commitd6fa6bb68af01a8f0234b255141fb7bcda353fdc (patch)
treee29bec36cf7d1a12452bfa65e081037a7d93fc74
parentbcddca38145bf094a3d731118631ca84a6e8c003 (diff)
downloadnode-augeas-d6fa6bb68af01a8f0234b255141fb7bcda353fdc.tar.gz
added package.json and index.js
-rw-r--r--index.js7
-rw-r--r--package.json11
2 files changed, 18 insertions, 0 deletions
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..d49716c
--- /dev/null
+++ b/index.js
@@ -0,0 +1,7 @@
+var libaugeas;
+try {
+ libaugeas = require('./build/Release/libaugeas');
+} catch (e) {
+ libaugeas = require('./libaugeas');
+}
+module.exports = libaugeas;
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..6e92b26
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+ "name" : "augeas",
+ "version" : "0.0.1",
+ "description" : "Bindings to augeas configuration tool",
+ "url" : "http://github.com/Nexenta/node-augeas",
+ "keywords" : ["parser", "configuration", "puppet", "chef"],
+ "author" : "Nexenta Systems <support@nexenta.com>",
+ "contributors" : [],
+ "lib" : ".",
+ "dependencies" : {}
+}