0.0.2 • Published 9 years ago

subjects-utils v0.0.2

Weekly downloads
16
License
Apache 2
Repository
github
Last release
9 years ago

Licenses Utilities

NPM version

This node package contains multiple utilies to manage BISAC subjects.

How to install it?

$ npm install subjects-utils

How to use it?

Include the library:

var subjects = require("subjects-utils");

By code:

var subject = subjects.byCode("ANT007000");
// subject.label -> "ANTIQUES & COLLECTIBLES / Buttons & Pins"

By label:

var subject = subjects.byLabel('ANTIQUES & COLLECTIBLES / Dolls');
// subject.code -> "ANT007000"

All BISAC codes:

subjects.all.bisac