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

@hilosiva/oreset

v4.0.3

Published

reset.css

Downloads

127

Readme

Oreset.css

「俺のreset.css」 — ブラウザ差異の除去に徹した、アクセシビリティ重視のリセットCSS。


名前の由来

「Oreset」は 「俺のreset」 が語源です。そのままコピーして、自分のプロジェクトに合わせて育てていくことを想定しています。


特徴

  • 責務はブラウザ差異の除去のみ。 ベーススタイル(フォント・カラー・余白)は別ファイルに分離する設計
  • ARIAフックをCSSレベルで実装。 [aria-disabled] [aria-busy] などの状態属性をCSSのフックとして機能させる
  • 詳細度ゼロ。 すべてのルールを :where() でラップ。書いたスタイルがリセットに負けない
  • 日本語対応。 text-spacing-trim text-autospace line-break: strict を標準適用。:lang(ja) で日本語環境に最適化
  • UI要素の装飾は消さない。 問題のあるブラウザ差異だけを修正し、スタイル未適用でも視覚的・アクセシブルに機能する状態を維持
  • 論理プロパティを全面採用。 inline-size block-size padding-inline など

設計思想

ブラウザとユーザーの設定を尊重する

font-size は一切触りません。h1h6 のフォントサイズも同様です。2025年5月の仕様変更でブラウザ間の差異が解消されたため、リセット不要になりました。

@layer はimport側で定義する

Oreset自身はレイヤーを宣言しません。使う側が自分のレイヤー構成に組み込めるようにするためです。

@layer reset, base, components, utilities;

@import url("oreset.css") layer(reset);

使い方

直接コピー(推奨)

GitHubからソースをコピーして、プロジェクトに合わせて書き換えてください。

npm

pnpm add @hilosiva/oreset
@layer reset, base, components, utilities;
@import "@hilosiva/oreset" layer(reset);

CDN

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@hilosiva/[email protected]/dist/oreset.css">

MCP サーバー(AI エージェント連携)

Claude Code / Cursor などの AI コーディングツールと連携できる MCP サーバーを提供しています。

接続すると、AI エージェントが oreset.css のリセットルールや設計思想をリアルタイムで参照しながらコーディングできるようになります。

pnpm add -D @hilosiva/oreset-mcp

プロジェクトルートの .mcp.json に追記(Cursor は .cursor/mcp.json):

{
  "mcpServers": {
    "oreset": {
      "command": "npx",
      "args": ["-y", "@hilosiva/oreset-mcp"]
    }
  }
}

ブラウザサポート

| ブラウザ | バージョン | |---|---| | Chrome | 123以降 | | Edge | 123以降 | | Firefox | 125以降 | | Safari | 17.4以降 |

:where() / :has() / :focus-visible / svb 単位 / CSS Anchor Positioning(Popover API)などを使用しています。


ライセンス

MIT License