UNPKG

airship-server

Version:

Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.

18 lines 437 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CodeLine { constructor(data, tab = 0) { this._data = this.genTab(tab) + data; } get data() { return this._data; } tab(n) { this._data = this.genTab(n) + this._data; } genTab(n) { return new Array(n).fill(' ').join(''); } } exports.default = CodeLine; //# sourceMappingURL=CodeLine.js.map