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

@pineforge/codegen-pyodide

v1.9.1

Published

Gate-validated Pyodide payload for the PineScript v6 -> C++ transpiler: archive (run in Pyodide), unpacked source, introspected tables, and release metadata.

Readme

@pineforge/codegen-pyodide

Gate-validated Pyodide payload for the PineScript v6 → C++ transpiler. Built and published from pineforge-codegen-oss by .github/workflows/publish-pyodide.yml, with the same version as the matching pineforge-codegen release on PyPI. Stable releases are on the latest dist-tag. A prerelease (for example 1.0.0-rc.1) is published on next only.

Contents

  • pineforge_codegen-<version>.tar.gz — the gate-validated archive (unpack into Pyodide).
  • pineforge_codegen/ — unpacked Python source (put on PYTHONPATH for Node oracle/grammar tooling).
  • tables.json — introspected codegen tables (PineForge's web app renders its tables from this).
  • release.json — { codegen, pyodide, python, emscripten, sha256 }.
  • glue.py — the transpile_json(source) glue from the repository's gate/glue.py; its JSON envelopes are described in the repository's docs/PUBLIC_CONTRACT.md.
  • transpile.worker.mjs — an ES module worker that runs the glue in Pyodide.
  • index.mjs — exports release, tables, archivePath, sourceRoot, codegenSourceDir, workerPath and glue.
  • pineforge_codegen/diagnostics_catalog.json — the diagnostics catalog (since 1.2.0), also importable as @pineforge/codegen-pyodide/diagnostics_catalog.json; the repository's docs/PUBLIC_CONTRACT.md describes it.
  • LICENSE — the PineForge Source License (since 1.2.0), which package.json names: version 1.1 in release 1.2.0, version 1.2 from release 1.3.0 on.

Publishing (maintainers)

After the release tag exists on main and the release job is green, the operator doing the cut, using a GitHub account with write access, dispatches publication:

gh workflow run publish-pyodide.yml --repo pineforge-4pass/pineforge-codegen-oss --ref main -f tag=<tag> -f dry_run=false

Use the existing release tag in place of <tag>; every run, including a placeholder claim, requires it. Set dry_run=true to validate first. A tag push alone publishes nothing. A green release.yml run does not mean npm published; watch the publish-pyodide.yml run. The guard and job conditions live in the workflow file on main, but GitHub executes the file from the dispatched ref, so they alone cannot stop a user with write access who pushes and dispatches a modified workflow on another branch. The server-side bound is the GitHub environment npm-publish: both npm jobs (publish and claim-npm) run in it, and it carries a main-only deployment-branch policy, so a run from any other ref is refused by GitHub. The npm trusted publisher for the package is set by the repository owner to require that environment (owner decision NPM-TP; that setting lives on npmjs.com and cannot be read from this repository), so a publish from a workflow that does not declare the environment fails at npm. Publication uses npm OIDC Trusted Publishing after the dependency audit and the full parity gate pass; published versions carry npm provenance. A manual workflow_dispatch defaults to a dry run; dry_run=false publishes for real. The one-time bootstrap is done: 0.7.0 was the manual first publish, and every version since 0.7.1 carries provenance from this workflow.