@tim-s/bi-ts
v1.0.1
Published
A micro-library to slice (bit-)flags, unsigned and signed bit-fields from numbers.
Readme
bi-ts
A micro-library to slice (bit-)flags, unsigned and signed bit-fields from numbers.
Install
If you're using Node.js, type:
npm install tim-s@bi-tsor
yarn add tim-s@bi-tsImport
If you're using typescript:
import { bits, bitsSigned, flag } from "bi-ts";