super-duper-eureka

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i super-duper-eureka

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.89 kB

Total Files

4

Last publish

Collaborators

  • dtech-dbug