{
  "definitions": [
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 3,
      "name": "LINE_END",
      "signature": "const LINE_END = \"\\n\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "prefixLines",
      "signature": "export const prefixLines = function prefixLines(label: string, carry: string, chunk: string): Prefixed {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "parts",
      "signature": "const parts = (carry + chunk).split(LINE_END);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "rest",
      "signature": "const rest = parts.pop() ?? \"\";"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-formatters-server-formatter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "server.formatter.ts",
  "path": "core/formatters/server.formatter.ts",
  "ref": "anatomy:file-build-scripts-core-formatters-server-formatter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-formatters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-formatters"
        }
      ],
      "relation": "contained-in"
    }
  ],
  "slots": {
    "concern": "formatter",
    "subject": "server",
    "variant": null
  },
  "stats": {
    "bytes": 362,
    "callable": 1,
    "definitions": 4,
    "edges": 0,
    "exported": 3,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 4
    },
    "lines": {
      "blank": 2,
      "code": 7,
      "total": 9
    }
  },
  "summary": "7 lines of code and 4 definitions.",
  "text": "https://banes-lab.com/source/build-scripts/core/formatters/server.formatter.ts.txt",
  "tree": "build-scripts",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-formatters-site-formatter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/formatters/site.formatter.ts",
      "label": "core/formatters/site.formatter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/formatters/site.formatter.ts.md",
      "ref": "anatomy:file-build-scripts-core-formatters-site-formatter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-formatters-section-formatter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/formatters/section.formatter.ts",
      "label": "core/formatters/section.formatter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/formatters/section.formatter.ts.md",
      "ref": "anatomy:file-build-scripts-core-formatters-section-formatter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/build-scripts/core/formatters",
    "label": "core/formatters",
    "markdown": "https://banes-lab.com/api/source/build-scripts/core/formatters.md",
    "ref": "api:source/build-scripts/core/formatters"
  }
}
