npm.io
0.0.2 • Published 11 years ago

subjects-utils

Licence
Apache 2
Version
0.0.2
Deps
1
Vulns
0
Weekly
0
Stars
4

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

Keywords