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

@bedrock-apis/env-types

v1.0.0-beta.6

Published

A collection of environment-specific TypeScript type definitions for engines with non-standard versioning and selective feature support across versions.

Readme

env-types

npm version

TypeScript type definitions for environment-specific QuickJS engine that doesn't strictly follow standard ES versioning. This package provides a curated set of global types and methods tailored for non-standard runtimes, ensuring better development experience and type safety for your projects.

Note: This package is currently in beta. Contributions, bug reports, and suggestions are highly appreciated! Check out our GitHub repository for more information.

Features

  • Provides environment-specific TypeScript type definitions for non-standard engines.
  • Covers selective feature support across different engine versions.
  • Includes global classes, methods, and properties specific to each environment.
  • Helps catch runtime errors early by providing accurate type safety.
  • Designed to supplement and compare against TypeScript's global types.

Installation

Install the package as a development dependency using your preferred package manager:

npm

npm install --save-dev @bedrock-apis/env-types

pnpm

pnpm add -D @bedrock-apis/env-types

yarn

yarn add --dev @bedrock-apis/env-types

Configuration

Add the package to the types field in your tsconfig.json:

{
    "compilerOptions": {
        "noLib": true,
        "types": ["@bedrock-apis/env-types"]
    }
}

Development Plan

  • Generate a basic set of methods and properties for each global class.
  • Compare and extend these definitions against TypeScript's standard global types.
  • Continuously update with help of contributions.

Contributing

This package is in beta, and we welcome contributions from the community. You can help by:

  • Adding missing type definitions.
  • Fixing inconsistencies between types and engine environment apis.
  • Suggesting new features or improvements.

Please visit our GitHub repository to submit issues or pull requests.