StdOut

StdOut provides functions that support writing to standard output. It is a Swift implementation of its namesake API from Sedgewick and Wayne (2017).

Setup

Add the following lines to your Swift Package Manager configuration (the Package.swift file in the root directory of your project).

  // swift-tools-version:5.5
  import PackageDescription

  let package = Package(
    name: "MyApp",
    dependencies: [
+     .package(
+       url: "https://github.com/tshakalekholoane/StdOut.git", from: "0.1.0"
+     )
    ],
    targets: [
+     .executableTarget(name: "MyApp", dependencies: ["StdOut"])
    ]
  )

GitHub

View Github