inter-metrics
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

inter-metrics

Dynamic Metrics calculator for Inter font

Installation

npm install inter-metrics

Usage

import { textStyle } from "inter-metrics";


textStyle(16);

// {
// "fontSize": 16,
// "letterSpacing": -0.011,
// "lineHeight": 22.4
// }

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i inter-metrics

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

10.4 kB

Total Files

10

Last publish

Collaborators

  • oktaysenkan