UNPKG

sqlite-browser

Version:

Query and page SQLite3 DBs from the command line

57 lines (34 loc) 1.65 kB
// Generated by CoffeeScript 2.4.1 (function() { 'use strict'; var CND, PATH, assign, badge, debug, declare, echo, help, info, isa, jr, rpr, size_of, type_of, types, urge, validate, warn, whisper; //########################################################################################################### CND = require('cnd'); rpr = CND.rpr; badge = 'SQLITE-BROWSER/HELPERS'; debug = CND.get_logger('debug', badge); warn = CND.get_logger('warn', badge); info = CND.get_logger('info', badge); urge = CND.get_logger('urge', badge); help = CND.get_logger('help', badge); whisper = CND.get_logger('whisper', badge); echo = CND.echo.bind(CND); ({jr, assign} = CND); //........................................................................................................... PATH = require('path'); //........................................................................................................... types = require('./types'); ({isa, validate, declare, size_of, type_of} = types); //=========================================================================================================== //----------------------------------------------------------------------------------------------------------- this.cwd_abspath = CND.cwd_abspath; this.cwd_relpath = CND.cwd_relpath; this.here_abspath = CND.here_abspath; this._drop_extension = (path) => { return path.slice(0, path.length - (PATH.extname(path)).length); }; this.project_abspath = (...P) => { return CND.here_abspath(__dirname, '..', ...P); }; }).call(this); //# sourceMappingURL=helpers.js.map