An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.2% on proxy.golang.org
Top 0.7% dependent packages on proxy.golang.org
Top 1.2% dependent repos on proxy.golang.org

proxy.golang.org : github.com/mrz1836/go-sanitize

Package sanitize (go-sanitize) implements a simple library of various sanitation methods for data transformation. This package provides a collection of functions to sanitize and transform different types of data, such as strings, URLs, email addresses, and more. It is designed to help developers clean and format input data to ensure it meets specific criteria and is safe for further processing. Features: - Sanitize alpha and alphanumeric characters - Sanitize Bitcoin and Bitcoin Cash addresses - Custom regex-based sanitization - Sanitize decimal numbers and scientific notation - Sanitize domain names, email addresses, and IP addresses - Remove HTML/XML tags and scripts - Sanitize URIs and URLs - Handle XSS attack strings Usage: To use this package, simply import it and call the desired sanitization function with the input data. Each function is documented with examples in the `sanitize_test.go` file. Example: If you have any suggestions or comments, please feel free to open an issue on this project's GitHub page.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/mrz1836/go-sanitize
Keywords: golang , golang-package , gomod , gomodule , sanitization , sanitizer , strings , strings-manipulation
License: Apache-2.0
Latest release: about 2 months ago
First release: over 6 years ago
Namespace: github.com/mrz1836
Dependent packages: 37
Dependent repositories: 22
Stars: 34 on GitHub
Forks: 2 on GitHub
Docker dependents: 1
Docker downloads: 1,701
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/mrz1836, https://mrz1818.com/?tab=tips&utm_source=github&utm_medium=sponsor-link&utm_campaign=go-sanitize&utm_term=go-sanitize&utm_content=go-sanitize
Last synced: 12 days ago

    Loading...
    Readme
    Loading...