</>PackageGraphPackageGraph

ob1

npmv0.87.0TypeScript

A small library for working with 0- and 1-based offsets in a type-checked way.

Safe to adopt

Yes — ob1 scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 58 days ago. 34 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 58 days ago. 34 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 17 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding ob1 to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

17 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing ob1, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node ^22.13.0 || ^24.3.0 || >= 26.0.0
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

ob1 vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
ob1this page01MIT1 month ago
jsc-safe-url9.8M20BSD1 day ago
@react-native/metro-config4.4M6MIT1 day ago
@expo/metro05MIT1 day ago
@expo/metro-file-map01MIT1 day ago
metro-symbolicate03MIT1 day ago

Dependencies

Declared by ob1 v0.87.0. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on ob1.

Relationship graph

Dependencies (left) and dependents (right) of ob1.

flow-enums-runtimemetro-source-mapob1
ob1 dependencies dependents

Frequently installed together

Release history

30 releases in the last two years, typically about 11 days apart.

Recent versions of ob1
VersionPublishedSizeLicense
0.84.67 days ago8.5 KBMIT
0.84.521 days ago8.5 KBMIT
0.83.821 days ago8.5 KBMIT
0.87.0latest1 month ago5.0 KBMIT
0.86.02 months ago8.5 KBMIT
0.85.02 months ago8.5 KBMIT
0.84.44 months ago8.5 KBMIT
0.83.74 months ago8.5 KBMIT
0.83.64 months ago8.5 KBMIT
0.84.34 months ago8.5 KBMIT
0.83.56 months ago8.2 KBMIT
0.84.26 months ago8.5 KBMIT
0.84.16 months ago7.4 KBMIT
0.84.06 months ago7.4 KBMIT
0.83.46 months ago7.3 KBMIT

Overview

ob1 is an npm package that a small library for working with 0- and 1-based offsets in a type-checked way. It has 1 known dependents in the graph. The latest version is 0.87.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a small library for working with 0- and 1-based offsets in a type-checked way and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (1 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use ob1?

Yes — ob1 scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 58 days ago. 34 releases in the last 2 years.

How do I install ob1?

Run `npm install ob1` to add ob1 to your npm project.

How many dependencies does ob1 have?

ob1 declares 1 direct dependency and pulls in 1 packages in total once its runtime tree is resolved totalling about 17 KB on disk.

What license is ob1 released under?

ob1 is distributed under the MIT license.

How popular is ob1?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on ob1.

Is ob1 still maintained?

The most recent release of ob1 (v0.87.0) was published 1 month ago.

Does ob1 run install scripts?

No. ob1 does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.