cutter-sanborn-js
v1.0.0
Published
A library to calculate the call number based on the Cutter-Sanborn table
Downloads
5
Maintainers
Readme
cutter-sanborn-js
A library for the Cutter-Sanborn call number system written in Javascript.
Usage
import { CutternSanbornTableFactory } from "cutter-sanborn-js";
const cutterSanbornTable = CutternSanbornTableFactory.createTable();
cutterSanbornTable.callNumber("lentino", "noemia") === 574; // true
cutterSanbornTable.callNumber("prado", "heloisa") === 896; // true
Testing
To run the tests for this library, use the following command:
npm run test