UNPKG

cst

Version:

JavaScript CST Implementation

12 lines (9 loc) 216 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getLines = getLines; var lineBreakRegex = /\r\n|\r|\n/; function getLines(input) { return input.split(lineBreakRegex); }