![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@cerebrusinc/fstring
Advanced tools
This package brings some Python string formatting to Javascript! Currently you can:
npm install @techtronics/fstring
or
yarn add @techtronics/fstring
It goes hand in hand with our quality of life package qol
// ES6 Module
import * as fstring from "@techtronics/fstring";
// ES6 Destructuring
import { abbreviate, toTitleCase, toSentenceCase } from "@techtronics/fstring";
// ES5 Module
const fstring = require("@techtronics/fstring");
// ES5 Destructuring
const {
abbreviate,
toTitleCase,
toSentenceCase,
} = require("@techtronics/fstring");
const sentence = "heLLo wOrLD, mY NAME is lEwis; i am a Developer.";
const name = "lEwiS mOsho junior";
console.log(toSentenceCase(sentence));
// Hello world, my name is lewis; I am a developer.
console.log(toTitleCase(name));
// Lewis Mosho Junior
console.log(abbreviate(name));
// LMJ
Make an abbreviation of a string; Usually used for names. It returns a capital case abbreviation of the string.
Parameter | Default Setting | Required? | Definition |
---|---|---|---|
txt | null | Yes | The string you wish to abbreviate |
delimiter | " " | No | The character or string that seperates words in the string |
reverse | false | No | An option to enable you to request a reversed return string |
Make any string title cased. it returns a string in which every first letter of a word is upper cased with the rest being lower cased.
Parameter | Default Setting | Required? | Definition |
---|---|---|---|
txt | null | Yes | The string you wish to change to title case |
delimiter | " " | No | The character or string that seperates words in the string |
Make any string sentence cased; The current sentence delimiters are:
.
;
:
!
?
It returns a string in which every first letter of the first word of a sentence is capitalised, with the reaminder of the senter being lower cased.
Parameter | Default Setting | Required? | Definition |
---|---|---|---|
txt | null | Yes | The string you wish to change to sentence case |
delimiter | " " | No | The character or string that seperates words in the string |
toSentenceCase
FAQs
This brings Python string manipulation to js!
The npm package @cerebrusinc/fstring receives a total of 0 weekly downloads. As such, @cerebrusinc/fstring popularity was classified as not popular.
We found that @cerebrusinc/fstring demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.