1.0.1 • Published 6 years ago
@tim-s/bi-ts v1.0.1
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-ts
or
yarn add tim-s@bi-ts
Import
If you're using typescript:
import { bits, bitsSigned, flag } from "bi-ts";