GitbookIO / subjects-utils

Node.js library to use BISAC subject codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Node.js library to use BISAC subject codes

License:Apache License 2.0


Languages

Language:JavaScript 100.0%