Code coverage report for istanbul/lib/util/meta.js

Statements: 100% (2 / 2)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (2 / 2)     

All files » istanbul/lib/util/ » meta.js
1 /*
2 Copyright (c) 2012, Yahoo! Inc. All rights reserved.
3 Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
4 */
5 /*jslint nomen: true */
6 1 var path = require('path'),
7 fs = require('fs'),
8 pkg = JSON.parse(fs.readFileSync(path.resolve(__dirname, '..', '..', 'package.json'), 'utf8'));
9
10 1 module.exports = {
11 NAME: pkg.name,
12 VERSION: pkg.version
13 };
14
15