New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pkg.botr.me/go-vonny

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkg.botr.me/go-vonny

  • v1.0.0
  • Go
  • Socket score

Version published
Created
Source

go-vonny

This library can be used to vonnify text. It changes neighbour characters or removes them from words.
Supports same set of languages as pkg.botr.me/monogram (doc, src).
If you want to support yours, please send character frequencies for alphabet of choice there.

Intensity of changes can be configured. Currently vonny only able to make changes for provided locale. For example, when you pass language.Russian it won't change latin characters.
Non-text characters like punctuation symbols, whitespaces or emoji aren't processed or stripped out from input text.

Be aware that input text being converted to NFC unicode form.

Usage

$ go get pkg.botr.me/go-vonny@latest
package main

import (
	"log"

	"pkg.botr.me/go-vonny"
	"golang.org/x/text/language"
)

func main() {
	str := "Hello World!"
	fmt.Println(str)

	out := vonny.Translate(language.English, str)
	fmt.Println(out) // "Heol Worl!"
}

Etymology of the name

Package vonny named after fictional character "Vonny-the-Pyh" whose prototype is Pooh, the plush bear.
He speaks using intentionally corrupted words and represents stereotypical low-life person.

License

Copyright (c) 2021 gudvinr

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

FAQs

Package last updated on 30 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc