UNPKG

markdown-table-prettify

Version:

Transforms markdown tables to be more readable.

29 lines (28 loc) 793 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Line = void 0; var Line = /** @class */ (function () { function Line(value) { this._value = value.replace(/\r?\n|\r/g, ""); this._eol = value.substr(this._value.length); } Object.defineProperty(Line.prototype, "value", { get: function () { return this._value; }, enumerable: false, configurable: true }); Object.defineProperty(Line.prototype, "EOL", { get: function () { return this._eol; }, set: function (value) { this._eol = value; }, enumerable: false, configurable: true }); return Line; }()); exports.Line = Line;