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

@sugaku-mail/call

v5.4.0

Published

smail SDK v5.3 窶・SHP-ULTRA v9.0(CAH/ECC-CHAOS-521/QNI) + SSPC v6(8驥咲スイ蜷・ZKP/4螻、CA) ULTRA-SUPREME+

Readme

@sugaku-mail/call — sメール SDK v2.5.0

SUGAKU-PLOCTAL-CA-v2 × SHP-ULTRA v5.0 APEX — 独自暗号 + DNS-Bound 証明書 + DNSSEC対応

npm version license

インストール

npm install @sugaku-mail/call        # SDK
npm install -g @sugaku-mail/call     # CLI

クイックスタート

証明書の外部検証 (ログイン不要)

const smail = require('@sugaku-mail/call');

// DNS TXT で証明書を検証 (Google DoH + Cloudflare DoH 二重確認)
const result = await smail.verifyViaDNS('SSPC-2026-XXXXXXXXXXXX');
console.log(result.valid);       // true/false
console.log(result.dns_name);    // _sspc-sspc-2026-xxxx.smail.timeapi.jp
console.log(result.verify_cmd);  // dig TXT ... @8.8.8.8

// CT anchor 検証
const ct = await smail.verifyCTAnchorViaDNS();
console.log(ct.ct_root);         // Merkle root hex
console.log(ct.ad);              // DNSSEC AD bit

// DNSSEC 確認
const sec = await smail.checkDNSSEC('_sspc-ct.sspc.sugaku-club.com');
console.log(sec.message);        // ✅ DNSSEC 検証済み

// 信頼スコア総合評価
const score = await smail.trustScore('SSPC-2026-XXXXXXXXXXXX');
console.log(score.summary);      // 信頼スコア: 75/100 (75%) グレード: A

メール送受信 (ログイン必須)

const client = smail.create(); // https://smail.timeapi.jp

await client.requestOtp('[email protected]');
await client.verifyOtp('[email protected]', '123456');

await client.send('[email protected]', '件名', '本文');
const inbox = await client.inbox();

SSPC v2 証明書発行

const cert = await client.issueSSPCv2({ certType: 'SSPC-EMAIL' });
console.log(cert.serial);       // SSPC-2026-XXXXXXXXXXXX
console.log(cert.verify_url);   // https://smail.timeapi.jp/sspc/v/SSPC-2026-...
console.log(cert.seal);         // ╔══════════╗ テキストシール

SHP-ULTRA v5.0 暗号化

// 暗号化 (標準暗号ゼロ, 完全独自 OMEGA-52層)
const ct = smail.encrypt('機密データ', 'passphrase');
const pt = smail.decrypt(ct, 'passphrase');

// ハッシュ (SHP-SPONGE-1024)
const h = smail.hash('data');

CLI

# メール
smail send -t 宛先 -s 件名 -b 本文
smail inbox
smail read <mail-id>

# 証明書
smail sspc issue
smail sspc verify SSPC-2026-XXXXXXXXXXXX
smail sspc trust-score SSPC-2026-XXXXXXXXXXXX  # 総合信頼スコア

# DNS-Bound 検証 (誰でも実行可能)
smail sspc verify-dns SSPC-2026-XXXXXXXXXXXX
smail sspc ct-anchor                            # CT anchor 確認
smail sspc dnssec                               # DNSSEC AD bit 確認

API リファレンス

外部検証 (ログイン不要)

| 関数 | 説明 | |------|------| | verifyViaDNS(serial, opts?) | DNS TXTで証明書検証 (Google+Cloudflare DoH二重) | | verifyCTAnchorViaDNS(opts?) | CT anchor TXT確認 + DNSSEC ADbit | | checkDNSSEC(name?) | DNSSEC AD bit チェック | | trustScore(serial) | DNS/CT/DNSSEC/Online の総合信頼スコア(100点) | | SmailSSPC.verifyV2(serial) | オンライン証明書検証API | | SmailSSPC.getCTLog() | CT Log取得 | | SmailSSPC.getCRL() | CRL取得 |

独自DNS検証コマンド (外部から誰でも)

# 証明書ごとの TXT (発行時に自動登録)
dig TXT _sspc-{serial}.smail.timeapi.jp @8.8.8.8

# CT anchor (Merkle root)
dig TXT _sspc-ct.smail.timeapi.jp @8.8.8.8
dig TXT _sspc-ct.sugaku-club.com @8.8.8.8       # バックアップ

# CA情報
dig TXT _sspc-ca.smail.timeapi.jp @8.8.8.8

# DNSSEC (AD bit = DNSSEC検証済)
dig +dnssec _sspc-ct.sspc.sugaku-club.com @8.8.8.8

SHP-ULTRA v5.0 暗号スタック

完全独自実装 — crypto.randomBytes 以外の標準暗号ライブラリ依存なし

| コンポーネント | 仕様 | |---|---| | OMEGA-52層 | 52の独立数学基盤 (エノン/ローズラー/アーノルド猫/ダフィング/VDP/標準写像/円写像/ベーカー/ガウス/マンデルブロ/ジュリア/CML + 40既存層) | | SHP-BYTEPERM | バイト完全転置 (Fisher-Yates鍵依存置換行列) | | SHP-BLOCK-64R-FB | 64ラウンドSPN + ブロック毎独立S-box + フィードバックCTR | | SHP-STREAM-7 | 7ストリーム複合 | | 4パス暗号化 | PASS1-4 全て異なる構造 × 12レイヤー | | SHP-SPONGE-1024 | 独自1024bit幅スポンジハッシュ (128ラウンド) | | ARX-KDF×800万 | 独自Add-Rotate-XOR鍵導出 800万ラウンド | | DH-3072+LWE-KEM | SHP-DH-3072 + 格子暗号LWE-KEM 双鍵交換 | | 8重POLY-CHAIN MAC | GF(2⁶¹)/GF(2⁸⁹)/GF(2¹²⁷) 交互8段連鎖 |

PASS1: BYTEPERM → OMEGA-52 → STREAM-7 → BLOCK-64R-FB
PASS2: BLOCK-64R-FB → STREAM-7 → OMEGA-52
PASS3: OMEGA-52 → BLOCK-64R-FB → STREAM-7
PASS4: BYTEPERM → STREAM-7 → OMEGA-52 → BLOCK-64R-FB
外部MAC: SHP-POLY-CHAIN × 8重 = 512bytes

SSPC v2 証明書システム (SUGAKU-PLOCTAL-CA-v2)

外部信頼の証明

| 証拠 | 確認方法 | |------|---------| | DNS 4台冗長 Aレコード | dig A smail.timeapi.jp | | CT anchor TXTレコード | dig TXT _sspc-ct.smail.timeapi.jp | | 証明書ごと DNS TXT | dig TXT _sspc-{serial}.smail.timeapi.jp | | CAA制約 | dig CAA timeapi.jp | | npm アーカイブ | npm view @sugaku-mail/call | | DNSSEC (構築中) | dig +dnssec _sspc-ct.sspc.sugaku-club.com |

VPS インフラ (4台冗長)

| VPS | IP | 役割 | |-----|-----|------| | VPS1 | 161.33.45.83 | SSPCアンカー冗長 | | VPS2 | 141.147.153.78 | メインCA・BIND9 | | VPS3 | 163.44.119.106 | メール (port 25) | | VPS4 | 138.2.37.245 | SSPCアンカー冗長 |

API エンドポイント

GET  https://smail.timeapi.jp/sspc/v/{serial}  — 証明書検証
POST https://smail.timeapi.jp/sspc/v2/issue    — 証明書発行
GET  https://smail.timeapi.jp/ct/log           — CT Log
GET  https://smail.timeapi.jp/sspc/crl         — CRL
GET  https://smail.timeapi.jp/sspc/ocsp        — OCSP
GET  https://smail.timeapi.jp/sspc/spec        — 仕様書

ライセンス

MIT © sugaku-mail project / SUGAKU-PLOCTAL-CA-v2