ob1
npmv0.87.0TypeScriptA 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| ob1this page | 0 | 1 | MIT | 1 month ago |
| jsc-safe-url | 9.8M | 2 | 0BSD | 1 day ago |
| @react-native/metro-config | 4.4M | 6 | MIT | 1 day ago |
| @expo/metro | 0 | 5 | MIT | 1 day ago |
| @expo/metro-file-map | 0 | 1 | MIT | 1 day ago |
| metro-symbolicate | 0 | 3 | MIT | 1 day ago |
Dependencies
Declared by ob1 v0.87.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Used by
Popular packages that depend on ob1.
Relationship graph
Dependencies (left) and dependents (right) of ob1.
Frequently installed together
Generate, and decode, base64 VLQ mappings for source maps and other uses
Babel Types is a Lodash-esque utility library for AST nodes
Generates and consumes source maps
invariant
A JavaScript parser
Runtime to be use with the Flow Enums transform.
🚇 A tool to find the source location from JS bundles and stack traces.
The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes
flow typed nullthrows
Release history
30 releases in the last two years, typically about 11 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.84.6 | 7 days ago | 8.5 KB | MIT |
| 0.84.5 | 21 days ago | 8.5 KB | MIT |
| 0.83.8 | 21 days ago | 8.5 KB | MIT |
| 0.87.0latest | 1 month ago | 5.0 KB | MIT |
| 0.86.0 | 2 months ago | 8.5 KB | MIT |
| 0.85.0 | 2 months ago | 8.5 KB | MIT |
| 0.84.4 | 4 months ago | 8.5 KB | MIT |
| 0.83.7 | 4 months ago | 8.5 KB | MIT |
| 0.83.6 | 4 months ago | 8.5 KB | MIT |
| 0.84.3 | 4 months ago | 8.5 KB | MIT |
| 0.83.5 | 6 months ago | 8.2 KB | MIT |
| 0.84.2 | 6 months ago | 8.5 KB | MIT |
| 0.84.1 | 6 months ago | 7.4 KB | MIT |
| 0.84.0 | 6 months ago | 7.4 KB | MIT |
| 0.83.4 | 6 months ago | 7.3 KB | MIT |
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.
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.