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

@freelang/stdlib

v1.0.0

Published

FreeLang Standard Library - Complete package aggregator

Downloads

104

Readme

@freelang/stdlib

Complete FreeLang Standard Library - Meta-package that aggregates all 40+ modules.

Installation

npm install @freelang/stdlib
# or
pnpm add @freelang/stdlib

Quick Start

import * as stdlib from '@freelang/stdlib';

// Access all modules
console.log(stdlib.modules());
console.log(stdlib.version());
console.log(stdlib.info());

// Use specific modules
const { fs, path, http } = stdlib;

Included Modules

Core (7)

  • io - I/O operations
  • fs - File system
  • os - Operating system
  • path - Path utilities
  • env - Environment
  • json - JSON handling
  • math - Math functions

Collections (4)

  • string - String utilities
  • collection - Data structures
  • datetime - Date/time
  • regexp - Regular expressions

Network (5)

  • url - URL parsing
  • http - HTTP client
  • tcp - TCP sockets
  • ws - WebSockets
  • grpc - gRPC services

Security (4)

  • hash - Cryptographic hashing
  • jwt - JWT tokens
  • aes - AES encryption
  • bcrypt - Password hashing

Utilities (6)

  • atomic - Atomic operations
  • mutex - Mutual exclusion
  • promise - Promise utilities
  • timer - Timers
  • logger - Logging
  • test - Testing

Infrastructure (4)

  • sql - SQL operations
  • orm - Object-relational mapping
  • prometheus - Prometheus metrics
  • swagger - OpenAPI/Swagger

Advanced (10)

  • cache - Caching
  • event - Event emitters
  • stream - Stream processing
  • validate - Data validation
  • queue - Queues
  • compress - Compression
  • config - Configuration
  • worker - Worker pools
  • plugin - Plugin system
  • email - Email sending

API Reference

modules(): string[]

Returns array of all available module names (40 modules).

version(): string

Returns the library version.

info(): LibraryInfo

Returns metadata about the library.

interface LibraryInfo {
  name: string;
  version: string;
  description: string;
  moduleCount: number;
}

Examples

Using File System Module

import * as stdlib from '@freelang/stdlib';

const { fs } = stdlib;
// Use fs module...

Using HTTP Module

import * as stdlib from '@freelang/stdlib';

const { http } = stdlib;
// Use http module...

Using All Utilities

import * as stdlib from '@freelang/stdlib';

const { logger, timer, promise } = stdlib;
// Use utilities...

Alternative: Install Individual Modules

If you only need specific modules, you can install them separately:

npm install @freelang/fs @freelang/http @freelang/logger

This reduces your bundle size while still giving you access to the modules you need.

Performance Note

Importing the complete stdlib meta-package includes all dependencies. For production applications with strict bundle size requirements, consider installing only the modules you need.

Contributing

See the main FreeLang Standard Library repository for contribution guidelines.

License

MIT