@equinor/videx-wellog

中文文档
1.6.10发布于 2026/10/27MITTypeScriptES Module构建来源已验证近 30 天下载 1.1万

Visualisation components for wellbore log data

原始使用文档
文档目录8 节
  1. Installation
  2. Development
  3. Storybook
  4. Tracks
  5. Distribution Track
  6. Config
  7. Assumptions
  8. Contribution

SCM Compliance

Videx well log

Videx Well Log is a TypeScript library for rendering interactive well log visualizations.

It provides composable UI containers, tracks, plots and scale handlers that can be combined to build domain-specific well log views.

volve-well-log

Installation

npm install @equinor/videx-wellog

Development

Install dependencies:

npm install

Build library output:

npm run build

Run tests:

npm test

Run linting:

npm run lint

Run with file watching:

npm run start

Generate type-doc to ./docs:

npm run docs

Storybook

# from root:
npm run storybook:install
npm run storybook

Tracks

Tracks are components added to a well log container. A track is responsible for reacting to lifecycle events provided by its container.

Distribution Track

DistributionTrack visualizes data composition (continuous or discrete) along depth, with optional interpolation modes.

Config

Sample configuration object:

{
  label: 'Distribution',
  abbr: 'Dst',
  data: [
    {
        "depth": 1,
        "composition": [
            { "key": "carbonate", "value": 80.00 },
            { "key": "shale", "value": 20.00 }
        ]
    },
    {
        "depth": 2,
        "composition": [
            { "key": "carbonate", "value": 40.00 },
            { "key": "shale", "value": 60.00 }
        ]
    }
  ],
  legendConfig: distributionLegendConfig,
  components: {
    carbonate: {
      color: 'FireBrick',
      textColor: '#8E1B1B', // Optional, will use color by default
    },
    shale: {
      color: 'SlateGrey',
    },
  },
  interpolationType: 2, // 0 = linear, 1 = nearest, 2 = discrete
  discreteHeight: 0.01, // Used when interpolationType = 2
}

Important:

  • Keys in composition[].key should match keys in components.
  • distributionLegendConfig uses colors defined in components.
  • Composition values are interpreted as percentages and should sum to 100.

Assumptions

  • Depth is sorted in ascending order.
  • Composition totals 100 for each depth sample.

Contribution

Contributions are welcome. See the contribution guide to get started.

版本与发布记录

@equinor/videx-wellog 共发布 103 个版本,首次发布于 2019/11/07;过去 12 个月发布了 28 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.6.10latest2026/10/2717 天前
1.6.92026/10/2123 天前
1.6.82026/10/051 个月前
1.6.72026/09/211 个月前
1.6.62026/09/181 个月前
1.6.52026/09/161 个月前

其他发布通道:beta → 0.8.0-beta.0。

关于 @equinor/videx-wellog 的常见问题

@equinor/videx-wellog 是什么?

Visualisation components for wellbore log data

如何安装 @equinor/videx-wellog?

在项目目录运行 npm install @equinor/videx-wellog,或使用 pnpm add / yarn add / bun add。

@equinor/videx-wellog 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@equinor/videx-wellog 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@equinor/videx-wellog 可以商用吗?

@equinor/videx-wellog 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@equinor/videx-wellog 的下载量有多少?

根据 npm 官方下载统计,@equinor/videx-wellog 在 2026/10/14 – 2026/11/12 这 30 天内被下载 10,833 次,日均约 361 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@equinor/videx-wellog 还在维护吗?

最新版本 1.6.10 发布于 2026/10/27(17 天前);至今共发布 103 个版本,其中过去 12 个月发布了 28 个;首次发布于 2019/11/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。