import JStr from "@akcybex/jstr";
const str = JStr.of("hello world").headline().toString();
console.log(str); // Outputs: 'Hello World'
import JStr from "@akcybex/jstr";
const str = JStr.of("HeLLo").headline().toString();
console.log(str); // Outputs: 'He Llo'
import JStr from "@akcybex/jstr";
const str = JStr.headline("hELLOworld");
console.log(str); // Outputs: 'H Elloworld'