Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pha

cleydyr13ISC1.0.2TypeScript support: included

A library to calculate the call number based on the PHA table as per the Heloisa Almeida Prado's "Tabela PHA"

pha, library, call number

readme

PHA

A library for the PHA call number system.

Usage

import { PHATableFactory } from "pha";

const phaTable = PHATableFactory.createTable();

phaTable.callNumber("lentino", "noemia") === 589; // true
phaTable.callNumber("prado", "heloisa") === 917; // true

Testing

To run the tests for this library, use the following command:

npm run test