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

@evmcrispr/module-lang

v0.11.0

Published

Language primitives: string, number, bytes, array, and boolean helpers for data manipulation. Requires `load lang` (import the helpers you use, e.g. `load lang [@map @filter]`, or qualify them as `@lang:map`).

Readme

lang module

Language primitives: string, number, bytes, array, and boolean helpers for data manipulation. Requires load lang (import the helpers you use, e.g. load lang [@map @filter], or qualify them as @lang:map).

load lang

Helpers

| Helper | Returns | Description | |--------|---------|-------------| | @lang:all | bool | Return true if every element satisfies the predicate. | | @lang:any | bool | Return true if at least one element satisfies the predicate. | | @lang:at | any | Access an element by index in an array. | | @lang:bytes.at | bytes | Access a single byte by index in a bytes value. | | @lang:bytes.concat | bytes | Concatenate bytes values together. | | @lang:bytes.len | number | Return the byte length of a bytes value. | | @lang:bytes.not | bytes | Bitwise NOT of a bytes value (256-bit complement). | | @lang:bytes.slice | bytes | Extract a byte range from a bytes value. | | @lang:concat | array | Concatenate arrays together. | | @lang:enumerate | array | Return an array of [index, element] pairs. | | @lang:filter | array | Keep elements of an array for which a helper returns truthy. | | @lang:find | any | Return the first element that satisfies the predicate. | | @lang:flat | array | Flatten one level of nesting in an array. | | @lang:includes | bool | Check whether an array contains an element. | | @lang:len | number | Return the length of an array. | | @lang:map | array | Transform each element of an array by applying a helper. | | @lang:num.format | string | Format a number with decimal places (like formatUnits). | | @lang:num.parse | number | Parse a decimal string with a given number of decimals (like parseUnits). | | @lang:reduce | any | Reduce an array to a single value by applying a helper. | | @lang:reverse | array | Return a new array with elements in reverse order. | | @lang:slice | array | Extract a section of an array. | | @lang:sort | array | Sort an array using a comparator helper. | | @lang:str.at | string | Access a character by index in a string. | | @lang:str.concat | string | Concatenate strings together. | | @lang:str.includes | bool | Check whether a string contains a substring. | | @lang:str.join | string | Join array elements into a string with a delimiter. | | @lang:str.len | number | Return the length of a string. | | @lang:str.lower | string | Convert a string to lowercase. | | @lang:str.replace | string | Replace all occurrences of a substring. | | @lang:str.slice | string | Extract a section of a string. | | @lang:str.split | array | Split a string by a delimiter into an array of strings. | | @lang:str.upper | string | Convert a string to uppercase. | | @lang:unique | array | Remove duplicates from an array, preserving first-occurrence order. | | @lang:unzip | array | Transpose an array of pairs into two separate arrays. | | @lang:zip | array | Combine two arrays element-wise into an array of pairs. |