Skip to content

Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.

183 B
Raw Blame
package main

import (
	"fmt"
	"os"

	"example.com/strkit/strkit"
)

func main() {
	for _, arg := range os.Args[1:] {
		fmt.Println(strkit.Slugify(arg, 0), strkit.WordFreq(arg))
	}
}