https://github.com/nickytonline/valiswift
A valididation library for Swift.
https://github.com/nickytonline/valiswift
Last synced: 4 months ago
JSON representation
A valididation library for Swift.
- Host: GitHub
- URL: https://github.com/nickytonline/valiswift
- Owner: nickytonline
- Created: 2024-06-30T21:19:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T03:40:09.000Z (almost 2 years ago)
- Last Synced: 2025-10-24T22:24:03.514Z (8 months ago)
- Language: Swift
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# ValiSwift
This project is a work in progress port of the JavaScript library [Valibot](https://github.com/fabian-hiller/valibot) to Swift.
## Installation
To get started with ValiSwift, make sure you have the latest version of Swift installed. The best way to get set up with Swift is to see their [Getting Started guide](https://www.swift.org/getting-started/).
The project is set up to use [VS Code](https://code.visualstudio.com/download), not XCode. This is so anyone will be able to contribute to the project, regardless of operating system. You can use XCode if you prefer on macOS, but the project is not set up to use it.
The project uses swift-format for formatting the code. See the [installation instructions](https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-apple-swift-format#global-installation) from the VS Code extension the project uses, apple-swift-format.
## Running the project
To run the project, you can use the following command:
```bash
swift test
```
This will run the tests in the project and output the results to the console.