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

maestrale

v0.1.5

Published

Maestrale Kit for Azurlane

Readme

Maestrale Kit for Azurlane

西北风套件,分为视图无关的核心和基于核心实现的视图两部分。

主要用于模拟碧蓝航线中舰船面板属性的计算、编队配置等。可调整舰船的等级、突破等级、好感、强化值、改造进度等所有参与白值运算的数值,可携带装备与兵装,可自由调整舰队科技提供的属性值,并实时计算舰船的最终面板。

安装

pnpm i maestrale

使用方式

加载游戏数据:

import { ShareCfg } from "maestrale";

await ShareCfg.load();

初始化舰队科技对象:

import { useTechnology } from "maestrale";

const technology = useTechnology();

现在可以创建我们的第一艘舰船了:

import { createShip } from "maestrale";

const ship = createShip(60104, {
  technology,
});

第一个参数为舰船的 ID,可以通过检查数据源中的 ship_data_statistics.json 文件获取。由于其键值的最后一位始终表示舰船的突破等级,因此我们使用截去最后一位的数值作为舰船的 ID。

如果要在初始化舰船时为她添加装备,可以向配置项中的 equips 字段传入一个数组,每个下标位分别表示对应装备槽上的装备对象或 ID,如果传入 null 则表示置空。同样,它可以通过检查数据源中的 equip_data_statistics.json 文件获取;兵装同理,检查 spweapon_data_statistics.json 文件即可:

import { createEquip, createSPWeapon } from "maestrale";

const ship = createShip(60104, {
  technology,
  equips: [
    null,
    createEquip(35340),
    null,
    2640,
    2640,
  ],
  spweapon: createSPWeapon(10180),
});

开发

# 安装依赖
pnpm i

# 启动开发服务器
pnpm -C simulator dev