
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Tired of bloated utility libraries slowing you down? xdash is the antidote. We provide a meticulously crafted suite of highly performant, modular, and strongly-typed utilities specifically designed for the modern TypeScript developer. Stop fighting your tools and start building amazing things, faster.
xdash isn't just another utility library. It's a philosophy focused on developer efficiency and application performance:
xdash adds only the code you use.x.chain(...)).x.InlineSwitch(...)).Integrate xdash into your project in seconds:
npm install xdash
# or
yarn add xdash
# or
pnpm add xdash
# or
bun install xdash
import { isStr, capitalize } from 'xdash';
// Or import the whole library
// import * as x from 'xdash';
let greeting = "hello, world!";
if (isStr(greeting)) {
// capitalize is type-safe thanks to isStr!
console.log(capitalize(greeting)); // Outputs: "Hello, world!"
}
// Chain example
const result = x.chain([1, 2, 3])
.map(n => n * 2)
.filter(n => n > 3)
.sum() // Assuming sum is added or available
.value(); // result = 10 (4 + 6)
console.log(result);
➡️ Explore the Full Documentation to discover all available utilities. (Note: Link points to GitHub Pages, deployment pending CI setup)
Got an idea or found a bug? We welcome contributions! Help us make xdash even better. Please read our contribution guidelines (TODO: Create this file) to get started.
If xdash helps you build faster or saves you time, consider supporting its development:
xdash is open-source software licensed under the MIT License.
FAQs
A lean TypeScript utility library designed for simplicity and performance.
We found that xdash 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.