
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
@neodx/std
Advanced tools
This package contains a set of utilities that are used by other packages in the
@neodx
namespace.
Currently, is not intended to be used directly by the end user.
But! Let me show one powerful API - toCase
, all-in-one function for formatting case of strings.
Inspired by casex
import { toCase } from '@neodx/std';
const str = 'I want_to change-case';
toCase(str, 'ca_se'); // i_want_to_change_case
toCase(str, 'caSe'); // iWantToChangeCase
toCase(str, 'CaSe'); // IWantToChangeCase
toCase(str, 'CA_SE'); // I_WANT_TO_CHANGE_CASE
toCase(str, 'Ca se'); // I want to change case
I think you got the idea 🤓
FAQs
Standard language helpers
The npm package @neodx/std receives a total of 1,167 weekly downloads. As such, @neodx/std popularity was classified as popular.
We found that @neodx/std demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.