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

@voxelkloud/format-ept

v0.5.1

Published

The Entwine Point Tile driver for voxelkloud: ept.json, JSON hierarchy pages, and binary / laszip / zstandard node payloads over plain static hosting.

Readme

@voxelkloud/format-ept

The Entwine Point Tile driver for voxelkloud.

npm install @voxelkloud/format-ept
import { eptFormat } from "@voxelkloud/format-ept";
import { formats, loadPointCloud } from "@voxelkloud/loader";

formats.register(eptFormat);

const { source, tree, openPoints } = await loadPointCloud(
  "https://s3.amazonaws.com/example/ept-dataset/",
);
view.addCloud(source, tree, openPoints);

NOT registered by default: a laszip dataset needs the wasm LAZ decoder, and an app that reads neither EPT nor COPC should not carry it.

What it is

A directory of static files: one ept.json, a hierarchy of JSON pages, one payload per node. No Range support required of the host — which is why the USGS 3DEP archive on S3 is published this way, and why pasting one of its URLs is the shortest path from nothing to a rendered LiDAR survey.

Three payload encodings, all supported:

| dataType | Payload | Needs | | --- | --- | --- | | binary | the schema packed interleaved | nothing | | laszip | a whole LAS file per node | the wasm LAZ decoder | | zstandard | a zstd-compressed binary block | a decompress hook |

No browser exposes zstd to JavaScript, so a zstandard dataset needs a decompressor supplied from outside — the same hook a BROTLI Potree cloud uses:

openPoints({ decompress: (bytes) => myZstd.decode(bytes) });

Without one the error names the hook rather than failing obscurely.

The one surprise

For laszip, the manifest's schema and the LAS records Entwine actually writes disagree. Its schema calls ScanAngleRank a 4-byte float; the LAS record it writes stores a signed byte. So the driver reads the root node's own LAS header at load time and believes that instead — one extra request, and not avoidable. For binary and zstandard the schema is the only description there is, and it is correct.

Attribute names

EPT writes "Intensity", "ReturnNumber", "GpsTime". Every other driver here writes "intensity", "return number", "gps-time", and a colour mode must not stop working because the cloud was published as EPT — so the names are translated. X/Y/Z become one "position" attribute and Red/Green/Blue one "rgb"; a dimension with no counterpart, like Entwine's OriginId, keeps its own spelling.

Testing

demo/potree/pointclouds/ holds the same cloud built four ways — binary, laszip in LAS 1.2, laszip in LAS 1.4, and zstandard. That is a better oracle than any of them alone: two encodings of one dataset must decode to the same points, and only one of them can be wrong at a time. The suite compares all 35,091 points of the root node field for field, as sets rather than in order, because Entwine does not promise a within-node ordering across separate builds.

Those files are gitignored, and the suite skips itself when they are absent.

MIT.