Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

proj3rd/number3rd

Repository files navigation

number3rd

Number utilities for 3GPP

Install

npm install proj3rd/number3rd

APIs

Version from string

CJS

const number3rd = require("number3rd");
const [major, technical, editorial] = number3rd.versionFromString("h00");
// major = 17, technical = 0, editorial = 0

ESM

import { versionFromString } from "number3rd";
const [major, technical, editorial] = versionFromString("h00");
// major = 17, technical = 0, editorial = 0