Skip to content

Flaryiest/uwuify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uwuify CLI

A CLI tool that instantly converts all non-important 3-letter words in .html, .jsx, .tsx to UwU.
Made with the intention of messing with friends.

NPM: https://www.npmjs.com/package/uwuifycli

Install and Usage

npm install uwuifycli    
npx uwuify write  

Code

The code is contained in 2 main files being in /src being

index.ts  
uwuify.ts  

index.ts uses the commander npm module in order to parse CLI arguments
uwuify.ts works through converting either the HTML or JSX/TSX to an abstract syntax tree and source offsets, where the text gets changed simply through walking through text nodes.

AI Usage

The development of this package used AI purely for minimal implementation, none for decision-making (eg deciding what packages to use). It helped slightly with fixing syntax errors around the tree traversal. It is also aided in the creation of test files (uncommitted) and the test cases in /test.

Contact

If you experience any bugs, please do not hesitate to contact me at ericmzuo1@gmail.com or through github and I'll look to address any issues ASAP.

About

NPM package to uwuify your website's text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors