Swiftpack.co - daveverwer/LeftPad as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by daveverwer.
daveverwer/LeftPad 2.1.0
This is not a real Package, it's just for testing package metadata.
⭐️ 2
🕓 2 weeks ago
.package(url: "https://github.com/daveverwer/LeftPad.git", from: "2.1.0")


This is a sample package to demonstrate adding additional metadata to a Package.swift file. It should never be used in production. I implemented a leftPad extension to String purely because of a little piece of internet history.

Try LeftPad in a Swift Playground

Revision History

  • 1.0.0 - The original, and what many consider to be the best release.
  • 1.0.1 - Added a testimonial to the README file, increasing padding performance by 0%.
  • 1.1.0 - Oh my, what a release this was. Swift 4.2 support, bug fixes (yes, really), and so much more.
  • 2.0 - The "not really a release", release to test partial semantic version numbers.
  • 2.1.0 - The "let's get LeftPad back on a semantic version" release. Also added a .spi.yml for DocC generation.


"This is a very good package." -- Tim Cook, Apple


Stars: 2
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.


Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics