
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
woopear-format
Advanced tools
package qui fournis des fonctions afin de formater un texte d'une façon spécifique
ce package est en constante évolution, en fonction des besoins des projets.
firstToUppperCaseimport { firstToUppperCase } from 'woopear-format-string';
let texteExemple = 'jean';
texteExemple = firstToUppperCase(texteExemple);
console.log(texteExemple);
// output :
// Jean
// word => mot que vous voulez mettre la premiere lettre en majuscule
firstToUppperCase(word: string): string
// output
// retourne le mot avec une majuscule à la premiere lettre
// text => long texte à formaté
textFormatingSample(text: string): string
// output
// retourne le text long formaté
// date => date au format string '01/01/01 12:00:00'
// textSeparate => le texte que vous voulez mettre pour séparer la date de l'heure
separateDateOfHours(date: string, textSeparate: string): string
// output
// retourne la date formatée
creation d'un objet avec les données d'un formData venant directement d'un formulaire
reourne un objet pret pour l'envoie http
createObjectAsFormData = <T>(target: HTMLFormElement): T
// EX :
// creation formData
const formData = createObjectAsFormData(e.target);
FAQs
formatage divers des strings
We found that woopear-format 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.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.