npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@neodx/std

v1.1.1

Published

Standard language helpers

Readme

@neodx/std

Small, dependency-light language helpers shared across the @neodx namespace — type-safe utilities for arrays, objects, strings, async flow, and common predicates.

@neodx/std is a foundation package: it backs the product packages (svg, figma, log, vfs, …) and is also published for direct use. The surface is intentionally small and stable.

Installation

npm install @neodx/std
# yarn
yarn add @neodx/std
# pnpm
pnpm add @neodx/std

Usage

Everything is available from the root entry:

import { toCase, groupBy, omit, debounce, invariant } from '@neodx/std';

For tree-shaking and narrower bundles, import from a subpath instead:

import { toCase } from '@neodx/std/to-case';
import { groupBy } from '@neodx/std/array';

toCase — all-in-one string casing

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

Common presets live on cases:

import { cases } from '@neodx/std';

cases.camel(str); // iWantToChangeCase
cases.pascal(str); // IWantToChangeCase
cases.kebab(str); // i-want-to-change-case
cases.snake(str); // i_want_to_change_case
cases.screamingSnake(str); // I_WANT_TO_CHANGE_CASE

API overview

The source under src is the source of truth for the current Public API. Multi-entry exports are first-class; the main . barrel re-exports the most common helpers, and each subpath exposes its full surface.

| Subpath | Surface | | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | @neodx/std/array | chunk, compact, difference, fromLength, fromRange, groupBy, groupReduceBy, includesIn, sliding, tee, uniq, uniqBy, zip, without, dropValue | | @neodx/std/async | asyncReduce, combineAbortSignals, concurrent, concurrently, deduplicateAsync, tryCreateTimeoutSignal, intercept | | @neodx/std/object | compactObject, filterObject, fromEntries, fromKeys, mapEntries, mapKeysToObject, mapToObject, mapValues, omit, pick, pickProps, prop, propEq, renameKeys, shallowEqual, sortObject, sortObjectByKeys, sortObjectByOrder, transformKeys, zipObject | | @neodx/std/guards | every, isDefined, isEmpty, isEmptyObject, isError, isNil, isNotNil, isNotNull, isNull, isObject, isObjectLike, isPrimitive, isTypeOfBoolean, isTypeOfFunction, isTypeOfString, isUndefined, not, some | | @neodx/std/shared | entries, False, hasOwn, identity, is, isTruthy, keys, once, rethrow, sleep, test, toArray, toInt, True, tryCatch, values | | @neodx/std/to-case | cases, toCase | | @neodx/std/string | quickPluralize, truncateString | | @neodx/std/url | addSearchParams, createRelativeUrl | | @neodx/std/invariant | invariant | | @neodx/std/debounce | debounce | | @neodx/std/math | sum | | @neodx/std/memoize | memoize, memoizeWeak | | @neodx/std/merge | merge |

License

MIT