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

@typewe/inter

v1.0.0

Published

Self-hosted Inter variable font - optimized for performance and privacy

Readme

@typewe/inter

Self-hosted Inter variable font optimized for performance and privacy.

Features

  • 🚀 Variable font - All weights (100-900) in a single file
  • ⚡️ Fast - Self-hosted, no external CDN requests
  • 🔒 Privacy-first - GDPR compliant, no tracking
  • 📦 Lightweight - Optimized WOFF2 format
  • 🎨 Complete family - Normal and Italic styles included
  • 🖥️ UI-optimized - Designed specifically for user interfaces and screens

Installation

npm install @typewe/inter

Or with yarn:

yarn add @typewe/inter

Or with pnpm:

pnpm add @typewe/inter

Usage

Next.js (App Router)

// app/layout.tsx
import '@typewe/inter/css/index.css';

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body style={{ fontFamily: 'Inter, sans-serif' }}>
        {children}
      </body>
    </html>
  );
}

Next.js (Pages Router)

// pages/_app.tsx
import '@typewe/inter/css/index.css';
import type { AppProps } from 'next/app';

export default function App({ Component, pageProps }: AppProps) {
  return <Component {...pageProps} />;
}

React / Vite

// main.tsx or App.tsx
import '@typewe/inter/css/index.css';

function App() {
  return (
    <div style={{ fontFamily: 'Inter, sans-serif' }}>
      <h1>Hello World</h1>
    </div>
  );
}

Plain HTML + Build Tool

If you're using a bundler like Webpack or Vite:

// index.js
import '@typewe/inter/css/index.css';

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      fontFamily: {
        sans: ['Inter', 'sans-serif'],
      },
    },
  },
};

Then import the CSS in your entry file:

import '@typewe/inter/css/index.css';

CSS

/* Import in your CSS file */
@import '@typewe/inter/css/index.css';

body {
  font-family: 'Inter', sans-serif;
}

/* Use any weight from 100 to 900 */
.light {
  font-weight: 300;
}

.regular {
  font-weight: 400;
}

.medium {
  font-weight: 500;
}

.bold {
  font-weight: 700;
}

/* Italic styles */
.italic {
  font-style: italic;
}

Variable Font Benefits

This package uses modern variable fonts, which means:

  • All weights in one file - Weights 100-900 available without loading multiple files
  • Smoother animations - Animate between font weights smoothly
  • Smaller file size - One variable font is smaller than multiple static fonts
  • Better performance - Fewer HTTP requests, faster page loads

Available Weights

  • Thin: 100
  • Extra Light: 200
  • Light: 300
  • Regular: 400
  • Medium: 500
  • Semi Bold: 600
  • Bold: 700
  • Extra Bold: 800
  • Black: 900

All weights support both normal and italic styles.

Browser Support

Variable fonts are supported in all modern browsers:

  • Chrome 62+
  • Firefox 62+
  • Safari 11+
  • Edge 79+

For older browsers, the font will fallback to system fonts.

Why Self-Host?

Performance

  • ~200ms faster than Google Fonts CDN
  • No DNS lookup or external connection needed
  • Fonts served from same domain (better caching)

Privacy

  • GDPR compliant - No data sent to Google
  • No user tracking
  • No external requests

Reliability

  • Works offline
  • No dependency on third-party CDN uptime
  • Complete control over font delivery

License

This font is licensed under the SIL Open Font License (OFL-1.1).

Original font by Rasmus Andersson: Inter on GitHub

More Fonts

Visit TypeWeave for more self-hosted fonts.

Support

  • 📚 Documentation: typeweave.com/documentation
  • 🌐 CDN Alternative: https://typeweave.com/api/fonts/inter/css
  • 📧 Contact: Visit our website for support

Changelog

1.0.0

  • Initial release
  • Inter variable font (normal + italic)
  • All weights 100-900
  • Optimized WOFF2 format