Skip to content

Again w/ Github's Suggestion. This Repo Has A Module That Sanitizes All English Into The Standard Title Case. Just Like This!

Notifications You must be signed in to change notification settings

Dtech-Dbug/super-duper-eureka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

super-duper-eureka 🥳🥳

Again w/ Github's Suggestion. This Repo Has A Module That Sanitizes All English Into The Standard Title Case. Just Like This!

why though?

this module sanitizes strings in any order and converts it to the standard title case(meaning the first letter of each word is made capital)

You Understood Right? 👀

setup and installation

  • using npm: npm i super-duper-eureka

  • require in the project:

// commonjs module
const titleCase = require("super-duper-eureka");

import titleCase from "super-duper-eureka";

usage:

console.log(titleCase("you know javaScript!"));
//You Know Javascript!

console.log(titleCase("wHat ThE fOrK?"));
//What The Fork?

let sanitizeString = titleCase("aRe yOu fOr ReAL?");
console.log(sanitizeString);
//Are You For Real?

return type

string

About

Again w/ Github's Suggestion. This Repo Has A Module That Sanitizes All English Into The Standard Title Case. Just Like This!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published