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

cesium-wind

v1.0.5

Published

wind layer of cesium

Readme

cesium-wind

npm license

English | 中文

一个用于在 Cesium 中展示风场的插件。

该项目基于 https://github.com/sakitam-fdd/wind-layer 项目完成,使用设置(windOptions)及数据(data)与原项目一致。 已应用至实际项目中,请放心食用。

✨ 特性

  • 易于使用,兼容各种 Cesium 版本。
  • 基于 wind-layer 核心库,性能高效。
  • 支持多种数据格式。

🚀 在线示例

https://qjvic.github.io/cesium-wind/examples/umd.html

📦 安装

npm install cesium-wind

💡 使用

在浏览器中直接使用

点击查看 examples/umd.html 中的示例代码

在模块化项目中使用 (例如 Vite 或 Webpack)

import * as Cesium from "cesium";
import CesiumWind from "cesium-wind";

const viewer = new Cesium.Viewer("cesium-container");

const windOptions = {
  colorScale: [
    "rgb(36,104, 180)",
    "rgb(60,157, 194)",
    "rgb(128,205,193 )",
    "rgb(151,218,168 )",
    "rgb(198,231,181)",
    "rgb(238,247,217)",
    "rgb(255,238,159)",
    "rgb(252,217,125)",
    "rgb(255,182,100)",
    "rgb(252,150,75)",
    "rgb(250,112,52)",
    "rgb(245,64,32)",
    "rgb(237,45,28)",
    "rgb(220,24,32)",
    "rgb(180,0,35)",
  ],
  frameRate: 16,
  maxAge: 60,
  globalAlpha: 0.9,
  velocityScale: 1 / 30,
  paths: 2000,
};
fetch("your-wind.json")
  .then((res) => res.json())
  .then((res) => {
    const windLayer = new CesiumWind.WindLayer(res, { windOptions });
    windLayer.addTo(viewer);
  });

cesium-wind

npm license

中文 | English

A plugin for displaying wind fields in Cesium.

This project is based on https://github.com/sakitam-fdd/wind-layer. The usage settings (windOptions) and data format are consistent with the original project. It has been proven in production environments, so you can use it with confidence.

✨ Features

  • Easy to use and compatible with various Cesium versions.
  • High-performance, based on the wind-layer core library.
  • Supports multiple data formats.

🚀 Live Demo

https://qjvic.github.io/cesium-wind/examples/umd.html

📦 Installation

npm install cesium-wind

💡 Usage

In the browser

Click here to see the example code in examples/umd.html

In a modular project (e.g., Vite or Webpack)

import * as Cesium from "cesium";
import CesiumWind from "cesium-wind";

const viewer = new Cesium.Viewer("cesium-container");

const windOptions = {
  colorScale: [
    "rgb(36,104, 180)",
    "rgb(60,157, 194)",
    "rgb(128,205,193 )",
    "rgb(151,218,168 )",
    "rgb(198,231,181)",
    "rgb(238,247,217)",
    "rgb(255,238,159)",
    "rgb(252,217,125)",
    "rgb(255,182,100)",
    "rgb(252,150,75)",
    "rgb(250,112,52)",
    "rgb(245,64,32)",
    "rgb(237,45,28)",
    "rgb(220,24,32)",
    "rgb(180,0,35)",
  ],
  frameRate: 16,
  maxAge: 60,
  globalAlpha: 0.9,
  velocityScale: 1 / 30,
  paths: 2000,
};
fetch("your-wind.json")
  .then((res) => res.json())
  .then((res) => {
    const windLayer = new CesiumWind.WindLayer(res, { windOptions });
    windLayer.addTo(viewer);
  });