UNPKG

@lillallol/outline-pdf-data-structure

Version:

Create a pdf outline data structure from a high level string representation of pdf outline. This data structure can be used to create a real pdf outline.

7 lines (6 loc) 232 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.constants = void 0; exports.constants = { trimmedTocLineValidPattern: /^(?<collapse>[+\-]?)(?<pageNumber>\d+)\|(?<depth>-*)\|(?<title>.*)$/ };