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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ibm/type

v0.5.4

Published

The package of IBM’s new typeface, IBM Plex, and accompanying typography code.

Downloads

206

Readme

IBM Type

The package of IBM’s new typeface, IBM Plex, and accompanying typography code.


Warning: IBM Type is still in development and being carefully implemented in real cases where we can look for any difficulties. Look out for a stable v1.0.0 release in the near future.


IBM Type Sketch File

Use these artboards in your Sketch files to accomplish a design at each breakpoint your developer will be working with. Right click and select Save link as to save this Sketch file.

Typography Code

The IBM Type code provides rendering and kerning that best reflects IBM Plex. The editorial and product style sets also take care of:

  • Size
  • Line height
  • Line length
  • Bottom margin
  • Weights

How to Use

At the moment, installation requires Node.js and npm. This will change by v1.0.0 when a CDN become available.

To install, run npm install @ibm/type

If you want to use the compiled css, reference the file in the css folder:

<link rel="stylesheet" type="text/css" href="node_modules/@ibm/type/css/ibm-type.min.css">

Classname Reference

| Classname | Purpose | |-------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------| | .ibm | Container div to apply IBM Plex Sans to all type by default | | .ibm-type-mono | Switch a text node and children to IBM Plex Mono | | .ibm-type-serif | Switch a text node and children to IBM Plex Serif | | .ibm-type-light | Use the light weight of either IBM Plex Sans or IBM Plex Serif | | .ibm-type-semibold | Use the semibold weight of either IBM Plex Sans or IBM Plex Serif | | .ibm-type-italic | Use the italic style of either IBM Plex Sans or IBM Plex Serif | | .ibm-type-[a, b, c, d, f, i, j, k] | Use the sizing and weight of a style prescribed for editorial experiences | | .ibm-type-[a, b, c, d, e, g, h] | Use the sizing and weight of a style prescribed for product experiences |

Performance

| ibm-type.css | ibm-type.min.css | Gzipped | |-----------|----------|-------| | 35kb | 31kb | 3kb |

Finally, each font file (~40kb) has been split into four separate files (~10kb). If your webpage does not use any unicodes from one of the four split files, the user’s device will not have to download the split file.