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

@dsh-sparkles/dsh-sparkles

v0.1.15

Published

Sparkles finance evidence tools with a host-native DeepSeek Harness shell and browser client

Downloads

540

Readme

Sparkles for DeepSeek Harness

Turn DeepSeek Harness into a finance research assistant for mainland China, Hong Kong, and US markets.

This is the DSH distribution of Sparkles. Pi users should install the sibling @pi-sparkles/pi-sparkles package, which reuses the same finance cores but owns separate Pi lifecycle and terminal presentation.

Requires DSH 0.2.0-rc.2, the installed DSH 0.2.0-rc.2 API. The host and service peers are pinned exactly; DSH 0.1.7-rc.2 and earlier hosts are unsupported.

Ask about a stock or ETF in everyday language. DSH Sparkles brings current market data, price history, company filings, fundamentals, and financial calculations into the conversation.

What it gives you

  • Current quotes and recent price history for supported CN, HK, and US sources.
  • Trend, momentum, and volatility analysis with SMA, RSI, and ATR.
  • SEC, CNINFO, and HKEXnews filing and disclosure research.
  • Fundamental, valuation, portfolio-risk, scenario, event-study, and backtest calculations when the required data is available.
  • Bounded CN/HK/US transaction-tape packet review, local possible-fill simulation, read-only broker evidence review, compound compliance checks, non-executable handoffs, and receipt reconciliation.
  • Clear source, timestamp, currency, freshness, and data-limit context in answers.
  • Responsive inline SVG OHLCV charts rendered as ordinary DSH tool output.

DSH automatically looks up current evidence for questions about price, trend, buying now, or when to sell. You do not need to ask it to "use tools" first.

Quick start

dsh plugin --profile <name> add @dsh-sparkles/[email protected]

The bundle patch layer is applied on the next dsh --profile <name> boot. Uninstall with dsh plugin --profile <name> remove @dsh-sparkles/dsh-sparkles.

For most mainland China and Hong Kong quote/history research, and for SEC filing research, the only setup is a contact address used to identify requests to public data services:

AGENT_CONTACT="[email protected]" dsh --profile <name>

Then ask naturally:

  • Get a current quote for AAPL.
  • 分析一下科创50ETF的走势
  • 588000 如果现在买,什么时候卖比较好?
  • 分析腾讯 00700.HK 最近半年的趋势、动量和波动
  • Summarize AAPL's latest SEC fundamentals and cite the evidence.
  • Compare this portfolio with its benchmark and explain the largest risks.

Optional data-service setup

The package loads without provider credentials. Add only the services you want; you do not need every variable below.

| Variable | What it enables | | --- | --- | | AGENT_CONTACT | Identified access to supported public services, including Eastmoney, CNINFO, SEC, and HKEXnews. Use one email address everywhere. | | TUSHARE_TOKEN | Optional, rate- and entitlement-limited mainland China stock-identity fallback. It is never required or the first route. Tushare permissions and points apply. | | ALPACA_API_KEY_ID, ALPACA_API_SECRET_KEY | Optional Alpaca US prices, bars, news, corporate actions, and assets. Feed permissions apply. | | OPENFIGI_API_KEY | Optional OpenFIGI identity mapping. | | TWELVE_DATA_API_KEY | Optional Twelve Data company profiles. | | FRED_API_KEY | Optional FRED macroeconomic series. |

Example:

AGENT_CONTACT="[email protected]" \
ALPACA_API_KEY_ID="..." \
ALPACA_API_SECRET_KEY="..." \
dsh --profile <name>

Credentials stay in your runtime environment; this package does not write, log, or persist them. Restart DSH after changing environment configuration because some adapters initialize at boot.

Boundaries

Sparkles for DSH is read-only research software: it cannot place, change, or cancel broker orders. External providers, gateways, SDKs, credentials, and entitlements remain caller-owned; Sparkles never silently selects or falls back to another provider. It is not investment, legal, accounting, or tax advice. See CONFIGURATION.md for the complete source and configuration reference.

Version 0.1.15 · T6 · 135 plugin components