aboutsummaryrefslogtreecommitdiff
path: root/index.js
blob: 1f3bcc8669deec946629a307a9f051fecdd56ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;