node-vitals
Version:
Do more with less. A simple, high-performing, functional JavaScript library.
60 lines (47 loc) • 1.8 kB
JavaScript
/**
* -----------------------------------------------------------------------------
* VITALS JS - NODE VERSION - FILE SYSTEM METHODS
* -----------------------------------------------------------------------------
* @file A JavaScript library of utility methods designed for elegance,
* performance, and reliability.
* @version 4.1.3
* @see [vitals]{@link https://github.com/imaginate/vitals}
*
* @author Adam Smith <adam@imaginate.life> (https://github.com/imaginate)
* @copyright 2017 Adam A Smith <adam@imaginate.life> (https://github.com/imaginate)
*
* Annotations:
* @see [JSDoc3](http://usejsdoc.org)
* @see [Closure Compiler JSDoc Syntax](https://developers.google.com/closure/compiler/docs/js-for-compiler)
*/
'use strict';
var fs = require('fs');
var copy = {};
var get = {};
var is = {};
var to = {};
// *****************************************************************************
// PRIVATE HELPERS
// *****************************************************************************
// INSERT methods/helpers/is.js
// INSERT methods/fs/helpers/is.js
// INSERT methods/helpers/match.js
// INSERT methods/helpers/new-error-maker.js
// INSERT methods/helpers/normalize.js
// INSERT methods/helpers/own.js
// *****************************************************************************
// SECTION: FILE SYSTEM METHODS
// *****************************************************************************
// INSERT methods/fs/copy.js
// INSERT methods/fs/get.js
// INSERT methods/fs/is.js
// INSERT methods/fs/to.js
// *****************************************************************************
// SECTION: END
// *****************************************************************************
module.exports = {
copy: copy,
get: get,
is: is,
to: to
};