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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@digitalbridge/fine

v1.5.2

Published

a fine linear algebra library

Downloads

42

Readme

fine

A fine Library.

fine is a library for doing linear algebra calculations in 3D space.

It includes a series of primitives and more complex objects for performing a variety of useful calculations.

Getting Started

to use fine, install it using yarn or npm

yarn add @digitalbridge/fine

and import it into your project

import { Vector } from '@digitalbridge/fine';

const v = new Vector(3, [1, 2, 3]);

Documentation

fine's documentation describes the objects available for use. fine's API documentation is generated by typedoc. We're still working on a documentation site, but you can build API documentation locally using yarn build:docs.

Limitations

There are some limitations around the SquareMatrix class. fine is currently unable to find the inverse or the determinant of a SquareMatrix other than for 2x2 or 3x3 Matrices. If you're able to contribute a fix to this issue, that would be wonderful!

Contributing

We welcome contributions, through issues or pull requests! We made this library to help with our in-browser 3D maths needs, so if you need it to do more then feel free to make a contribution. Our CONTRIBUTING file contains all the information you'll need to get involved.

License

fine is released under the MIT License.

Code of Conduct

fine has a Code of Conduct for contributors, see CODE_OF_CONDUCT.md. You can read more about it at the contributor covenant website.

Why Fine?

It was a silly pun about affine transformations. It seemed better than linear-algebra.ts