2 releases (1 stable)

1.0.0 Mar 2, 2024
0.1.0 Feb 25, 2024

#572 in Text processing

Download history 136/week @ 2024-02-24 152/week @ 2024-03-02 10/week @ 2024-03-09 1/week @ 2024-03-16 35/week @ 2024-03-30 3/week @ 2024-04-06 22/week @ 2024-04-13

60 downloads per month
Used in 2 crates

MIT license

33KB
428 lines

uwu

A uwu implementation inspired by Daniel Liu's uwu that runs on all machines and on the web.

This repository is divided into the following crates:

Quick start

For Rust projects

Add the uwu library to your project with:

cargo add uwu-rs

Then use it:

let uwuified = uwu_rs::Uwu::new().uwuify("Hello world!");

For JavaScript projects

Add the uwu library to your project with:

npm install uwu-rs

Then use as follows in your code:

import init, {uwuify} from 'uwu-rs';

init().then(() => {
    console.log(uwuify('I have been uwuified!'));
});

For the CLI

Install the executable with:

cargo install uwu_cli

Then use it:

# directly from the arguments
uwu Hello world!

# from a file
uwu --file uwu.txt

# from stdin
uwu <<EOF
Life in uwu land,
Is fantastic!
EOF

# to a file
uwu --output uwu.out Hello world!

Dependencies

~1.2–1.9MB
~34K SLoC