kubernetes-handbook/node_modules/sitemap/index.js

22 lines
470 B
JavaScript
Raw Normal View History

2021-04-13 00:24:28 +08:00
/*!
* Sitemap
* Copyright(c) 2011 Eugene Kalinin
* MIT Licensed
*/
module.exports = require('./lib/sitemap');
module.exports.utils = require('./lib/utils');
module.exports.errors = require('./lib/errors');
/**
* Framework version.
*/
var fs = require('fs')
, path = require('path')
, pack_file = path.join(__dirname, 'package.json');
if ( !module.exports.version ) {
module.exports.version = JSON.parse(
fs.readFileSync(pack_file, 'utf8')).version;
}