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

@polyzone/core

v0.1.0-1

Published

PolyZone core API

Readme

@polyzone/core

This package contains type definitions for the core API used by scripts in PolyZone. Referencing this package lets your tools know what functionality is available in PolyZone.

For information on using PolyZone, see the PolyZone docs.

Installation

Instead of using npm install, it is recommended you add the following to your package.json manually:

{
  // ...
  "dependencies": {
    // Make sure the version matches your version of PolyZone:
    "@polyzone/core": "polyzone-v0.5.9" // e.g. if you are using PolyZone v0.5.9
  },
  // ...
}

Run npm install after editing the file. Make sure you match the version number to your version of PolyZone.

This is preferred over using npm install (...) as npm will resolve the tag polyzone-v0.5.9 to whatever version is latest at the time and store the dependency with a version range like ^0.5.9-0. While this range should still work, it may cause problems later.

Updating

There are 2 scenarios where you will want to update this package:

  1. You have updated PolyZone and you need types for the new version.
  2. You are still using the same version of PolyZone, but you need to update the types because e.g. there was a bug that has been fixed.

How you update this package depends on which of these scenarios you are in:

Scenario 1. You have updated PolyZone

If you've update PolyZone, simply change the version string in package.json:

{
  // ...
  "dependencies": {
-   "@polyzone/core": "polyzone-v0.2.8",
+   "@polyzone/core": "polyzone-v0.3.0",
  }
  // ...
}

and run npm install.

Scenario 2. You are still using the same version of PolyZone

If there is some issue with this package and it has to be updated - while still using the same version of PolyZone - then (provided you have the package referenced via a tag like polyzone-v0.2.4 in package.json) you should be able to run:

npm update @polyzone/core

to update to the latest version. This should only modify your lockfile (e.g. package-lock.json).

How this package is versioned

This package is versioned in step with PolyZone. That means for PolyZone v0.2.4 this package will also be v0.2.4. However, to support multiple releases (bugfixes etc) of this package per version of PolyZone, a pre-release version number is also included in every release e.g. 0.2.4-0.

This means for any given version of PolyZone (e.g. 0.2.4) there will be multiple versions of this package - all of which are "pre-release". There will be no package with the exact version 0.2.4. For example:

  • 0.2.4-0
  • 0.2.4-1
  • 0.2.4-2
  • 0.2.4-3
  • etc.

You should use whatever is latest, matching the version of PolyZone you are using.

For convenience, a tag is provided for each version of PolyZone in the format of polyzone-v1.2.3 (e.g. for PolyZone v1.2.3). It is recommended you install this package by using this tag in package.json (see Installation). If you install the package through npm install (...) the dependency will be saved with a version range like ^1.2.3-1 (or whatever version is latest at the time). This should still work, but may cause issues later.