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

@gmvjs/xray-v1

v0.1.1

Published

gmv: X-Ray Engine 1.x

Readme

@gmvjs/xray-v1 — X-Ray Engine 1.x

Patreon

X-Ray Engine 1.x (S.T.A.L.K.E.R.: 1.0 Shadow of Chernobyl, 1.5 Clear Sky, 1.6 Call of Pripyat; the parser tells the versions apart itself): OGF v4 models with skeletons and animations (embedded and external .omf, body parts), .db/.xdb archives (including Shadow of Chernobyl's encrypted gamedata.db*), compiled levels with grass from level.details, .dm details, SDK sources (.object, .skl/.skls, .level scenes) and export to X-Ray SDK 0.7.

An engine plugin for @gmvjs/core: formats, archives and game presets. Heavy parsers are loaded on demand (import() inside load), so adding the package costs almost nothing until a file of this engine is opened.

Installation

npm i @gmvjs/core @gmvjs/xray-v1 @gmvjs/codecs

Usage

The whole engine (all games):

import { createRegistry, ViewerSession } from '@gmvjs/core';
import { xrayV1Engine } from '@gmvjs/xray-v1';

const session = new ViewerSession(createRegistry([xrayV1Engine]));

One game: a package subpath (the game preset and an engine limited to that game):

import { createRegistry, ViewerSession } from '@gmvjs/core';
import soc from '@gmvjs/xray-v1/soc';

const session = new ViewerSession(createRegistry([soc.engine]), soc.preset.id);

Games (subpaths)

| Import | Preset | Game | Status | Only for this game | |---|---|---|---|---| | @gmvjs/xray-v1/soc | stalker-soc | S.T.A.L.K.E.R.: Shadow of Chernobyl | 🟡 beta | soc-key.ts; the gamedata.db* file table key is looked up in the user's bin/XR_3DA.exe; the package contains no keys | | @gmvjs/xray-v1/cs | stalker-cs | S.T.A.L.K.E.R.: Clear Sky | 🟡 beta | — | | @gmvjs/xray-v1/cop | stalker-cop | S.T.A.L.K.E.R.: Call of Pripyat | 🟡 beta | — | | @gmvjs/xray-v1/sdk | — | export to X-Ray SDK 0.7 (ExporterPlugin xray-sdk): .object, .level + scene_object.part, DDS + .thm; also used for Metro maps | — | export.ts, write-object.ts, write-scene.ts |

Formats

| id | What | Files | Status | |---|---|---|---| | xray-ogf | X-Ray OGF | .ogf + .omf, .skl, .skls animations | 🟡 beta | | xray-object | X-Ray SDK .object | .object + .omf, .skl, .skls animations | 🟡 beta | | xray-level | X-Ray: compiled level (level + level.geom) | by path /(^|\/)levels\/[^/]+\/level$/ | 🟡 beta | | xray-dm | X-Ray: detail (.dm: grass, bushes) | .dm | 🟡 beta | | xray-scene | X-Ray SDK: level (.level + scene_object.part) | .level | 🟡 beta |

Archives

  • xray-db — X-Ray .db / .xdb (Clear Sky, Call of Pripyat) (.db, .xdb, .db0, .xdb0, .db1, .xdb1, .db2, .xdb2…)

Export

  • xray-sdk — S.T.A.L.K.E.R.: X-Ray SDK 0.7 sources (subpath @gmvjs/xray-v1/sdk)

Dependencies

  • @gmvjs/core — plugin API, types, ZIP/folder archives, zlib, DDS/BC, geometry
  • @gmvjs/codecs — LZO

Not done yet

  • OGF older than v4 and binary .level files of old SDKs (no samples)
  • SDK: checking in LevelEditor, mapping materials to shaders/gamemtl, writing OGF/OMF

License

MIT

Patreon

If this project helps you, consider supporting its development on Patreon ❤️